The Slack API allows you to programmatically trigger messages to individual users or channels.
To connect your Slack workspace via its API, follow the steps below:
- 1.Go to Data Management and click on "New data source" to create a new data source.
- 2.Select Slack from the list of available data sources.
- 3.Click on "Connect to Slack" and confirm the access request to your workspace when redirected to Slack. This will allow you to send messages to the workspace. After clicking "Allow" you will be redirected back to the confirmation page.
- 4.Save your Slack connection with "Connect".
Note: You can configure the data source for two different environments, Staging and Production. You can find more information about it here.