Using Triggers with Slack
Set a Trigger
In Resolve Actions, in the top left hamburger menu, navigate to:
- Repository > Schedules and Triggers
- Click the Triggers dropdown.
- Add a trigger by clicking the plus (+) sign in the top right of the menu.
- Enter a Name for the trigger.
- Click the Enabled checkbox.
- Under the Conditions add a Slack Event Condition.
- Click Save.
Example
You can customize your condition as necessary for your environment. An example is:
- Type: Global Variables
- Object: rawData
- Operator: Contains
- Value: Slack App ID
Configure Slack Settings
In Slack, under the app settings:
- On the Event Subscriptions page, turn on Enable Events.
- Paste your Resolve event webhook URL into the Request URL field.
- Subscribe to the events you need.
Slack will validate the URL by sending a verification request.
Event Handling in Workflows
With triggers, you can create workflows that run based on Slack events.