Use this integration to allow Reco to send messages across your Slack channels. By creating a Slack app and a Reco bot, you can integrate Reco with Slack once and then send customized messages to separate channels for different scenarios. These are some of the messages that can be sent:
Manually on a single Alert.
Manually on Controls.
Automatically using an Automation Rule when Alerts are created.
Prerequisites
A Slack user with sufficient permissions to create a Slack app with bot permissions
A Reco user with Admin Role
Configure Slack
Login to your Slack Workspace - Slack API: Applications.
Click on "Create an App"
Click on "From scratch"
Fill out the App name and choose the workspace, then click on "Create App"
Click on "OAuth and permissions" (or here)
Scroll down to "Scopes", and under Bot Token Scopes, add the following OAuth scopes:
users.profile:read
groups:read
users:read
reactions:write
channels:read
chat:write
im:write
users:read.email
mpim:writexx
Under Settings, click on "Install App", and then click on "Install to Workspace"
You will then be redirected to a Slack consent page, click "Allow"
You will then be redirected back to the "Install Apps" screen, and a new app will appear on the screen. Copy the Bot User OAuth Token and keep it aside.
Integrate Slack Notification with Recoโ
Login to the Reco Platform
Click on "Configurations" then click on "Integrations"
Locate the "Slack Notification" object and click on "Add Integration"
Click on "Allow"
Fill in the previously generated Slack App token, and click on "Allow"
If the integration was successful, the Slack Notification Integration status will become "Active"
What do we ingest exactly?
Scope | Meaning | Reference |
users.profile:read | View profile details about people in a workspace | |
groups:read | View basic information about private channels that your slack app has been added to | |
users:read | View people in a workspace | |
reactions:write | Add and edit emoji reactions | |
channels:read | View basic information about public channels in a workspace | |
chat:write | Send messages as your slack app | |
im:write | Start direct messages with people | |
mpim:write | Start group direct messages with people |