
The Slack channel puts your AI agents inside your Slack workspace. Mention the bot or send it a direct message and an agent answers in-thread — with the same conversation history it keeps for visitors on your website chat. Route different topics to different agents with @keywords: @support can go to your Support Triage agent, @seo to your SEO Optimizer. The Slack channel is part of Agent Builder Pro.
Prerequisites
- Agent Builder Pro installed and activated
- Permission to install apps in your Slack workspace
- Your site reachable over HTTPS (Slack requires it for event webhooks)
Setup
1. Create a Slack app
- Visit api.slack.com/apps and click Create New App → From scratch.
- Under OAuth & Permissions, add the bot scopes:
app_mentions:read,chat:write,im:history,im:read,im:write. - Click Install to Workspace and copy the Bot User OAuth Token (starts with
xoxb-). - Under Basic Information, copy the Signing Secret.
2. Enter the credentials in Agent Builder
- In your WordPress admin go to Agent Builder Pro → Connectors & Channels → Channels and open the Slack section.
- Paste the Bot Token and Signing Secret (both stored encrypted).
- Pick the Default Agent that answers when no
@keywordmatches. - Optionally restrict the bot to a specific Channel ID.
- Save.
3. Enable Slack events
- Back in your Slack app, open Event Subscriptions and switch them on.
- Set the Request URL to
https://your-site.com/wp-json/agentic/v1/slack/events— Slack verifies it instantly. - Subscribe to the bot events
app_mentionandmessage.im, then save.
Expected result
Type @YourBot hello in a channel the bot has been invited to (or open a DM with it). Your default agent replies in a thread within seconds. Start a message with an agent’s keyword to reach a specific agent. Replies are threaded, history is shared with the website chat, and each Slack user is rate-limited to 10 messages per minute per agent to keep costs predictable.
Troubleshooting
- Request URL verification fails — the site must be publicly reachable over HTTPS; coming-soon or maintenance plugins will block Slack’s handshake.
- Bot stays silent — confirm the
app_mentionandmessage.imevents are subscribed, the bot was invited to the channel (/invite @YourBot), and a Default Agent is selected. - Errors after credential changes — the Signing Secret validates every request; recopy it from Basic Information if you regenerated it.
Related
- WhatsApp Channel and Email Channel
- All channels — Telegram, Discord, Teams, SMS and more
- Built-in Assistants
- Documentation