Slack
Notification Adapter
The following app integrations are supported by this connector. Both integration types are managed via Slack's Custom Apps.
Authentication Method | Supported | Documentation |
---|---|---|
Incoming Webhooks | yes | Enable Incoming Webhooks |
Custom Apps using Bot Tokens | yes | Bot Tokens |
Incoming Webhook
- In Slack, Enable Incoming Webhooks.
- Complete the steps for Enabling, Creating, and Authorizing the webhook to post to a private channel.
Prerequisites
- Find the Incoming Webhook Url.
- This can be found under Incoming Webhooks > Webhook URLs for Your Workspace
- Find the webhook to be used, and click the Copy button to get the Webhook URL
Configuration
The following fields are used to configure the slack incoming webhook notification:
Field | Required | Description | Example |
---|---|---|---|
Webhook URL | yes | A Slack webhook URL | https://hooks.slack.com/services/T00..XXX |
Custom App using a Bot Token
In the Slack App configuration, create a Bot Token that will be used by Tarsal.
Prerequisites
- Configure App Scopes. Under OAuth & Permissions > Scopes, add the following scopes for the App:
chat:write
chat:write.public
- Find the Bot User OAuth Token for the Slack App
- This can be found under OAuth & Permissions > OAuth Tokens. The token should begin with
xoxb-
- This can be found under OAuth & Permissions > OAuth Tokens. The token should begin with
- Find the Slack channel ID that you want this integration to post to. Slack Channel IDs begin with the letter
C
. To find a Slack channel ID, you can do the following:- Use the URL
Open the Slack webpage and go to the channel. The channel ID is in the browser URL, after the final slash and starting with the letterC
. - Use the Slack app
Open the channel in the Slack app, right click on it, and select View channel details. The channel ID is at the bottom of the window.
- Use the URL
Configuration
The following fields are used to configure the slack bot notification:
Field | Required | Description | Example |
---|---|---|---|
Bot User OAuth Token | yes | Bot token strings begin with xoxb- | xoxb-224...CQwc |
Slack channel ID | yes | Channel ID of the channel to send notifications to | C07M9AJAXNX |
Updated about 4 hours ago