Slack Webhook
A Slack Webhook Integration can be used to pass formatted strings to a simple Slack Webhook, optionally including the values of agent variables.
Once defined, a Slack Webhook Integration can be utilised in multiple Stages (on-entry or on-exit) or Transitions.
Defining a Slack Webhook Integration
The Slack Integration Definition contains only boilerplate fields. The message content field is specified where the definition is used in your Agent, enabling specialization by context.
Field | Details |
---|---|
Name | A descriptive name to help you distinguish this integration |
Slack Webhook URL Secret | The iostack Secret containing the webhook URL provided by Slack. This must be preconfigured in the Account Secrets & Access Keys |
Using a Slack Webhook Integration
- From any Stage on-exit or on-entry Integration List or from a Transition, add a new blank Integration.
- Select your Slack Integration definition and specify the text to be sent to the Slack Webhook.
- Embed variable values into your text by typing ‘#’ and selecting the variable. |