Post new conversations and SLA alerts to Slack

Create a Slack app, connect its bot token, and choose which alerts reach your channel.

Written by Godswill

Connect Slack and your team sees new conversations and missed SLA targets in a Slack channel, with a link straight to the conversation in Adrian. Chat flows can post their own messages too.

1. Create the Slack app

  1. Go to api.slack.com/apps and choose Create New App → From scratch.

  2. Under OAuth & Permissions → Bot Token Scopes, add chat:write, channels:read and groups:read.

  3. Press Install to Workspace and copy the Bot User OAuth Token (it starts with xoxb-).

  4. In Slack, open the channel for alerts and type /invite @your-app.

2. Connect it in Adrian

  1. Open Configure → Integrations and press Connect on Slack.

  2. Paste the bot token and enter the channel, as its ID (for example C0123ABCD, at the bottom of the channel’s details) or as #support.

  3. Choose the alerts (both are on by default).

  4. Press Connect. The test checks the token and that the bot is in the channel. It doesn’t post anything.

Post new conversations sends each new chat, email or WhatsApp conversation, with who it’s from and their first message. Post SLA breaches sends a ticket that missed its first-response or resolution target.

3. Post from a chat flow

Add a Call an API step, pick your Slack connection and Post a message. Write the message with variables, for example New callback request from {{contact.name}} ({{contact.phone}}). Leave Channel empty to use the connection’s channel, or pick another one. Customer text is escaped, so it can’t mention @channel or form links.

Troubleshooting

  • Slack rejected the bot token: copy the Bot User OAuth Token again, or reinstall the app if it was revoked.

  • The bot isn’t in that channel: type /invite @your-app in the channel.

  • Missing scope: add the scope Slack names under OAuth & Permissions, then reinstall the app.

  • Every alert and its result appear on the connection’s Activity tab, marked Alert.

Still need help?Our team is here for you. Send us a message and we’ll get back to you.