Prerequisites
- Admin rights in your Slack workspace, to create and install a Slack app
- An AGO agent ready to answer questions
<your-workspace> with your AGO workspace name (the <your-workspace> in <your-workspace>.useago.com).
Setup Guide
1
Create a Slack app
- Go to api.slack.com/apps
- Click Create New App > From scratch
- Name the app and select your Slack workspace
2
Add bot token scopes
In OAuth & Permissions, add these Bot Token Scopes:
3
Install the app and copy its credentials
- Go to Install App and click Install to Workspace
- Copy the Bot User OAuth Token (starts with
xoxb-) - In Basic Information > App Credentials, copy the Signing Secret
4
Send the credentials to AGO
Send the Bot User OAuth Token and the Signing Secret to AGO support through a secure channel. AGO adds them to your workspace configuration and confirms when it’s done.AGO rejects Slack events until the Signing Secret is configured.
5
Turn on event subscriptions
In Event Subscriptions:
- Turn on Enable Events
- Set the Request URL to
https://<your-workspace>.api.useago.com/public/slack/webhook. Slack checks the URL and shows Verified. - Under Subscribe to bot events, add
message.channelsandmessage.im - Save, then reinstall the app if Slack asks you to
6
Test
- Invite the app to a channel with
/invite @<app name>, or open a direct message with it - Send a question
- The app replies in a thread with ”🤔 Thinking…”, then fills in the answer as the agent writes it
How Conversations Work
- Each Slack thread is one AGO conversation. Replies in the same thread continue it.
- AGO matches Slack users to AGO users by email. If Slack doesn’t share a user’s email, AGO uses a placeholder identity for that person.
- AGO ignores messages from bots (including its own replies), edits, deletions, and join or leave notifications.
- Markdown in answers is converted to Slack formatting. Links become clickable, and an image on its own line is shown as an image.
Route Messages to a Specific Agent
By default, Slack messages go to your default agent. To use another agent, add its ID to the Request URL:Troubleshooting
Slack can't verify the Request URL
Slack can't verify the Request URL
Check that the URL uses your AGO workspace name and ends with
/public/slack/webhook. If it still fails, contact AGO support.The app doesn't respond
The app doesn't respond
- Check that the app was invited to the channel
- Check that the bot events
message.channelsandmessage.imare subscribed and the app was reinstalled afterwards - Check with AGO support that the Bot User OAuth Token and Signing Secret are configured for your workspace. If you regenerated either of them in Slack, send the new value.
"Thinking..." never changes to an answer
"Thinking..." never changes to an answer
Check that the agent is active and test the same question in AGO. If it works in AGO but not in Slack, contact AGO support.
Users aren't linked to their AGO account
Users aren't linked to their AGO account
Check that the app has the
users:read.email scope and reinstall it after adding the scope.Images appear as links
Images appear as links
Only an image on its own line is shown as an image. Images inside a sentence become links. The image URL must be public.
