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
- Log in to Slack workspace to be used for Integration with a Slack user account using web browser.
- Log in to https://api.slack.com/apps/
- Select option Create New App opening a dialog box.
- Select From scratch to select a fresh application.
- Provide a relevant name for the application, such as 'iceDQ' and select the Slack workspace that will manage it.
- Select Create App. This will leave the Basic Information screen for the new application.
- Add a Short Description.
- 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.
- Navigate to OAuth Tokens Section and select Install App to Workspace.
- This will lead to the permissions page. Select Allow.
- Now it will revert. Copy the Bot User OAuth Token and save it in a notepad securely. (Confidential).
- Navigate to Slack – Manage Apps and select the newly created application.
- Select ‘App details’ section.
- Select Open in Slack. A dialog box will pop in browser, click on Open.
- Navigate to Channels section > Create > Create Channel.
- Select Next button and give a relevant Name to the Slack channel and select Visibility - Public or Private.
- Select Create then Skip for now.
- Right click on newly created channel and select View channel details.
- Navigate to integrations then App section, Select Add an App and select the newly created application.
iceDQ Setup
- Log in to iceDQ account.
- Navigate to Home > Administration > Integrations > New Integration > Select Slack.
- In the Description field, add a description for the integration.
- In the OAuth Access Token, paste the access token that was saved in step 11 of Slack Setup.
- Select Save and then Test.
- Select Add button to add a Slack channel.
- Select the channel that was created above from the channel drop-down list.
- Click on the right tick icon (✔) to save. Channel ID will be auto-generated.
- Select Test to test the integration.
note
To configure slack notification for rules and workflows please refer Subscription link.