Slack#
This tutorial explains how to use Data Integration Center to send messages to a Slack channel using the Slack API.
Prerequisites#
- Slack account with appropriate permissions
- Chosen Slack channel
Setup Slack#
To send messages to Slack:
- Install Incoming Webhooks.
- Configure it by choosing a channel e.g
coiote-integration
. - Copy Webhook URL.
Create webhook#
- From the previous step, paste
Webhook URL
as url. - Set the Authorization to
No authorization
, as Slack treats the URL as a token itself. -
As body template, set e.g:
{ "text": "Created new device: $endpointName" }
You can adjust the webhook according to your needs.
Follow chat#
To verify if our webhook works, go to the coiote-integration
channel.
Previous
GraphQL
Next
Atlas
Last update: November 29, 2024