Being able to send messages to Slack Channels and Users is very helpful!
There are two fields that you need to input information into, the URL of the endpoint you want to reach, and the JSON of the payload that you are going to send.
The JSON Payload field allows variable substitution! To learn more read the guide here: Variable Substitution
Name of Field
Type of Field
Insert the URL of the Slack Webhook endpoint
|JSON Payload||JSON||Define the JSON body that will be sent along with the POST request|
How to Set-Up your Slack
Before being able to use this action you will need to create an App for your Workspace and create the Webhook that you will be using to send messages to a Channel
- Navigate to this site
- Create an App
- Once created select Incoming Webhooks
- Select Add New Webhook to Workspace
- Specify the channel that you want the message to be sent to and click Allow
- Copy the URL that follows after https://hooks.slack.com/services/.....................
Here is an example of a Webhook, note the JSON format you are entering. The Keys must be wrapped in quotations and and Page Variables you wish to add must be wrapped in quotes too.
If you want to create your own JSON payload (you can style the Slack messages really nicely using this tool)
Here is a Payload that we used in our Webinar: