Slack

Notification Adapter

Slack

The following app integrations are supported by this connector. Both integration types are managed via Slack's Custom Apps.

Authentication MethodSupportedDocumentation
Incoming WebhooksyesEnable Incoming Webhooks
Custom Apps using Bot TokensyesBot Tokens

Incoming Webhook

  1. In Slack, Enable Incoming Webhooks.
    1. Complete the steps for Enabling, Creating, and Authorizing the webhook to post to a private channel.

Prerequisites

  1. Find the Incoming Webhook Url.
    1. This can be found under Incoming Webhooks > Webhook URLs for Your Workspace
    2. 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:

FieldRequiredDescriptionExample
Webhook URLyesA Slack webhook URLhttps://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

  1. Configure App Scopes. Under OAuth & Permissions > Scopes, add the following scopes for the App:
    1. chat:write
    2. chat:write.public
  2. Find the Bot User OAuth Token for the Slack App
    1. This can be found under OAuth & Permissions > OAuth Tokens. The token should begin with xoxb-
  3. 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:
    1. 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 letter C.
    2. 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.

Configuration

The following fields are used to configure the slack bot notification:

FieldRequiredDescriptionExample
Bot User OAuth TokenyesBot token strings begin with xoxb-xoxb-224...CQwc
Slack channel IDyesChannel ID of the channel to send notifications toC07M9AJAXNX