Skip to main content

Slack Notification


Slack integration allows users to receive notifications about rules and workflows directly via Slack channels. This feature provides real-time updates and promotes effective collaboration by keeping users informed of rule execution results for the following events:

  • On Success
  • On Failure
  • On Error

Pre-requisites

Administrative Access is necessary to configure and test the slack integration.


Slack Integration with iceDQ

  1. Log in to Slack workspace to be used for Integration with a Slack user account using web browser.
  2. Log in to https://api.slack.com/apps/
  3. Select option Create New App opening a dialog box.
  4. Select From scratch to select a fresh application.
  5. Provide a relevant name for the application, such as 'iceDQ' and select the Slack workspace that will manage it.
  6. Select Create App. This will leave the Basic Information screen for the new application.
  7. Add a Short Description.
  8. Navigate to Features > OAuth & Permissions Page and Scopes > Bot Token Scopes. Select Add an OAuth Scope and add all the permissions listed below:
    • channels: manage
    • chat: write
    • chat: write.customize
    • groups: read
    • im: read
    • mpim: read
    • reactions: write
    • users: read
    • users: read.email
    • channels: read
note

All the above permissions are mandatory.

  1. Navigate to OAuth Tokens Section and select Install App to Workspace.
  2. This will lead to the permissions page. Select Allow.
  3. Now it will revert. Copy the Bot User OAuth Token and save it in a notepad securely. (Confidential).
  4. Navigate to Slack – Manage Apps and select the newly created application.
  5. Select ‘App details’ section.
  6. Select Open in Slack. A dialog box will pop in browser, click on Open.
  7. Navigate to Channels section > Create > Create Channel.
  8. Select Next button and give a relevant Name to the Slack channel and select Visibility - Public or Private.
  9. Select Create then Skip for now.
  10. Right click on newly created channel and select View channel details.
  11. Navigate to integrations then App section, Select Add an App and select the newly created application.

iceDQ Setup

  1. Log in to iceDQ account.
  2. Navigate to Home > Administration > Integrations > New Integration > Select Slack.
  3. In the Description field, add a description for the integration.
  4. In the OAuth Access Token, paste the access token that was saved in step 11 of Slack Setup.
  5. Select Save and then Test.
  6. Select Add button to add a Slack channel.
  7. Select the channel that was created above from the channel drop-down list.
  8. Click on the right tick icon (✔) to save. Channel ID will be auto-generated.
  9. Select Test to test the integration.
note

To configure slack notification for rules and workflows please refer Subscription link.

How To: Configure Slack Notification