Overview
Using a Tines webhook, you can kick off your story by monitoring for relevant Slack events with Slack's Event Subscriptions app setting.
Tines manual reference
Before getting started, we recommend familiarizing yourself with the surrounding functionality this article covers:
Tines Action Types: Webhook
Slack Event API: Respond to the challenge
Make it happen
Within your Slack app configuration, navigate to Features → Event Subscriptions:
Toggle on Enable Events:
Within Tines, drag a Webhook action onto your storyboard.
Within the Webhook action, click the + Option button.
Add Response and Response Code.
For Response: Set this in a pill:
body.challenge
For Response Code: Set to
200
Within the Webhook action, copy the Webhook URL.
Back in the Event Subscriptions page of your Slack app, paste the Webhook URL into the Request URL box.
Review the results
Slack will send a url_verification
call to the associated webhook within Tines:
Tines will send the challenge value in the webhook's response back to your Slack app:
Thus, verifying the connection: