Slack App Trigger

Overview
Copy

To initiate your workflow based on a specific action in Slack, use the Slack App Trigger.

The Slack App trigger allows you to receive notifications from your custom app and start workflows when certain events occur that are associated with the selected trigger operation.

Available Trigger operations:
Copy

  • Slack events subscriber: Subscribe one or more Tray workflows to the same slack application/bot.

Webhook Setup
Copy

Select the Slack App Trigger: You can do this either when creating a new workflow or by updating an existing workflow within the workflow builder.

Follow the instructions from the Authentication section to authenticate your trigger. Select the event you want your trigger to listen to in order to kick off the workflow.

Event Subscription Request URL: The Slack app trigger enables your Tray.ai workflows to respond to events in Slack. When configured, Slack sends event notifications to Tray's event processing service, which then triggers your workflows automatically according to the settings configured in Slack.

Configure your Slack app's Event Subscriptions with the appropriate webhook URL for your Tray.ai region, for example in Slack's app settings or manifest, as follows:

Slack Redirect URL

US

https://webhooks.tray.io/production/webhooks/slack-app/1/app/{appId}/target/{authId}

EU

https://webhooks.eu1.tray.io/production/webhooks/slack-app/1/app/{appId}/target/{authId}

APAC

We currently do not support APAC regions for webhook processing via the slack app trigger, please use a webhook trigger instead.