Slack

The Slack notifier is configured with an API token and a channel ID. It can post individual messages and also create Slack threads.

You can find Slack Channels by clicking Notifications > Targets.

Slack settings

Access token Copied

To create a Slack app and generate an API token, refer to the official Slack documentation for more information.

Here’s a summary of the steps you can follow:

Create a Slack app Copied

  1. Go to https://api.slack.com/apps and click Create New App.
  2. Select From scratch.
  3. Enter a name for your app (for example, “ITRS Notifications”).
  4. Choose the workspace where you want to install the app.
  5. Click Create App.

Configure OAuth permissions Copied

  1. Navigate to OAuth & Permissions.
  2. Scroll down to the Scopes section.
  3. Under Bot Token Scopes > Add an OAuth Scope, add the following permissions:
    • chat:write – Allows the app to post messages to channels.
    • channels:read – Allows the app to view basic channel information.

Install the app to your workspace Copied

  1. Go back to the Basic Information section in your app’s management page.
  2. Click Install to Workspace to install your app.
  3. Review the permissions and click Allow.

After installing the app, return to the OAuth & Permissions page to view your access token listed under OAuth Tokens.

Since your app isn’t yet a member of any channels, choose a channel where you’d like to test it and invite the app using the following slash command:

/invite @app-name

Once added, Slack will post a confirmation message in the channel indicating that your app has been successfully invited.

Channel ID Copied

This can be set to the name of the channel. However, it is recommended to use a unique channel identifier to avoid issues should the channel be renamed.

The channel ID can be found at the bottom of the channel’s About page.

Slack channel

Reply in Slack thread Copied

When set to true, the Notifier will create a thread per group (if groups are set) or per entity (if groups are not set). Otherwise, each notification is posted as a separate message on the supplied channel.

["ITRS Analytics"] ["ITRS Analytics > Notifications"] ["User Guide"]

Was this topic helpful?