Slack
Add your AI agent to a Slack workspace — responds in channels, threads, and DMs.
With the Slack integration, your agent answers questions directly in your workspace's channels and DMs. Ideal for internal teams that need a knowledge base assistant, technical support, or new employee onboarding.
Prerequisites
- Slack workspace with admin permissions (or admin approval to install apps)
- Simple Agent Growth or Agency plan
Setup
1. Create the Slack App
- Go to api.slack.com/apps → Create New App → From scratch
- Give it a name (e.g., "Simple Agent") and select the workspace
- Under OAuth & Permissions → Scopes → Bot Token Scopes, add:
| Scope | Purpose |
|---|---|
app_mentions:read |
Read when the bot is mentioned |
channels:history |
Read channel messages (needed for thread context) |
chat:write |
Send messages |
im:history |
Read DMs |
im:read |
View DMs |
im:write |
Reply to DMs |
2. Install the app in the workspace
- Under OAuth & Permissions → Install to Workspace
- Copy the Bot User OAuth Token (
xoxb-...)
3. Connect in Simple Agent
- Dashboard → Channels → Slack
- Paste the Bot Token
- Click Save and generate Webhook URL
4. Configure Event Subscriptions
- In the Slack app → Event Subscriptions → Enable Events
- Paste the Simple Agent URL in the Request URL field
- Slack sends a challenge — Simple Agent responds automatically
- Under Subscribe to bot events, add:
app_mention— respond when mentionedmessage.im— respond to DMs
Response modes
Mention in channel
The agent only responds when directly mentioned (@botname). This prevents the agent from replying to every channel conversation.
@Simple Agent how do I export reports?
→ Simple Agent: You can export to CSV or PDF under Reports → Export...
Direct DM
The agent responds to all messages sent via DM, without requiring a mention.
Automatic threading
All responses are sent in a thread of the original message to keep the channel clean.
Advanced settings
| Option | Description |
|---|---|
| Authorized channels | Restrict which channels the agent can respond in |
| Thread context | The agent reads the last N messages in the thread as context (default: 10) |
| Thinking emoji | Adds a ⏳ reaction while processing — removes it after replying |
| Handoff | If the user types /human, opens a ticket in your helpdesk |
Use cases
Internal knowledge base: Train the agent with your internal documentation (Notion, Confluence, Google Drive) and let the team ask questions in Slack.
Technical support: Train with runbooks, READMEs, and changelogs. The agent answers infrastructure questions without needing to ping anyone.
Onboarding: Train with the company handbook, HR policies, and internal processes. New employees get their questions answered directly in Slack.
Troubleshooting
Bot doesn't respond to mentions:
- Confirm the bot was added to the channel:
/invite @botname - Check that the
app_mentionevent is subscribed
Request URL fails:
- The endpoint must return HTTP 200 with the
challengefield in the same request. Simple Agent does this automatically — if it fails, check for a proxy or firewall in front of the URL.
Error "not_in_channel":
- The bot must be a member of the channel. Use
/invite @botnamein the desired channel.