Slack Notifications

How to use

This script sends a message to a Slack webhook (https://api.slack.com/incoming-webhooksarrow-up-right)

  1. Open the script and add your Slack Webhook and Slack Channel.

  2. Add the saved script to the File Copy Completedarrow-up-right event in OffShoot's Settings > Scripting pane.

  3. When a transfer completes the script is run.

  4. You can change the message by using the variables exposed by the File Copy Completedarrow-up-right event.

Settings

set slackWebhookPath to ""
set theChannel to ""
set theUserName to "Hedge File Copy Completed"
set theEmoji to ":bell:"

set theText to ""

Download

file-archive
4KB

Last updated