This article explain how to integrate Slack for receiving alert notifications from Telmai application


To send notifications to a Slack channel:

  • Create a new Slack app with sufficient privileges to post messages to a public Slack channel

  • Create a new alert channel for slack communications in Telmai

Create a new Slack app

  1. Navigate to Slack API apps. The page opens in a new tab

  2. Sign in or create an account

  3. Select Create an App

  4. Set App Name to "Telmai Notifier

  5. Select the Development Slack Workspace where you'd like the Slack Bot to post messages, and then click Create App.

  6. In the navigation panel, select OAuth & Permissions.

  7. Navigate to the Scopes section.

    1. Under Bot Token Scopes, click Add an OAuth Scope and enter:

      1. chat:write

      2. chat:write.public

  8. Scroll to the top of the OAuth & Permissions page and click Install App to Workspace.

  9. In the confirmation dialog, click Allow.

  10. Copy the Bot User OAuth Access Token for use in the Telmai channel.

Create a slack alert channel in Telmai

In this section, you create a new Alerts channel to receive Telmai notifications via Slack

  1. Create a Slack channel

    1. Click on “Alert Policies” in the left hand menu

    2. Click on “Edit Channel”

    3. Click on “+ Alert Channel”

    4. Select “Slack” in Alert Channel Type drop down

    5. Enter Channel Name

    6. Enter token which is copied above (In step 10)

    7. Enter the slack channel you want to receive alerts. (You can add multiple channels by clicking on “Add”)

    8. Click on “Validate”. Telmai will send a test message to the provided channels

    9. If everything looks good, click on “Save”

  2. Select this channel in alert settings so it can be is used for notifications.

Last updated