Slack connector
Connect Akmatori to Slack to post alerts and investigation results, listen for alert messages in channels, and answer @mentions and direct messages.
Quick setup
Create the Slack app from a ready-made app manifest, then add its tokens to Akmatori.
Create the Slack app
Click the button to create an Akmatori app in your Slack workspace from the manifest:
Create Akmatori App in SlackInstall to your workspace
After Slack creates the app, click Install to Workspace and approve the permissions.
Copy the tokens to Akmatori
In your new Slack app, collect these three values:
xoxb-...xapp-...akmatori) and add the connections:write scope. This is the only scope needed for Socket Mode. abc123...In Akmatori, open Connectors → Discover → Slack and enter these tokens. Then, on the Slack connector's Channels tab, create one or more channels for posting results, listening for alert messages, or delivering cron job output. Test connection checks the bot token.
Invite the bot to a channel
In Slack, invite the bot to each channel that Akmatori should listen to. Slack sends the bot only the messages of channels it is a member of:
/invite @AkmatoriAdd an app icon (optional)
Upload the Akmatori logo so people can recognize the bot:
- Download the logo with the button below
- In your Slack app settings, go to Basic Information
- Scroll to Display Information
- Click the app icon area and upload the logo
Bot token scopes
The manifest requests these bot token scopes. The descriptions are Slack's own:
Actions Akmatori can take
Information Akmatori can view
Troubleshooting
Bot doesn't respond
Check that Socket Mode is on and the App Token is correct. Make sure the bot is a member of the channel.
Messages do not appear
Check that the Bot Token has the chat:write scope and that the Akmatori channel uses the Slack channel ID (for example C0123456789), not the channel name.
Missing App Token
Go to Basic Information → App-Level Tokens and click "Generate Token". Add the connections:write scope.
Slack channels
Akmatori can also listen to Slack channels for alerts that other bots and integrations post there. Use this when a monitoring tool already posts alerts to Slack and you do not want to set up a webhook for it.
@mention the bot. bot_message subtype or a bot ID). An LLM extracts the alert fields; only messages classified as alerts start an investigation.