Slack Notifications
Last updated
Last updated
This script sends a message to a Slack webhook (https://api.slack.com/incoming-webhooks)
Open the script and add your Slack Webhook and Slack Channel.
Add the saved script to the File Copy Completed event in OffShoot's Settings > Scripting
pane.
When a transfer completes the script is run.
You can change the message by using the variables exposed by the File Copy Completed event.
set slackWebhookPath to ""
set theChannel to ""
set theUserName to "Hedge File Copy Completed"
set theEmoji to ":bell:"
set theText to ""