Slack messaging channel
Use this guide to deploy an agent to Slack after confirming Agent chat.
Before you start
Make sure you have:
- A Slack workspace where you can create apps
- A live agent with an AI model connected
- Access to Agents -> your agent -> Deployment
Configure Slack in Budibase
- Open your agent in Agents
- Go to Deployment
- In Messaging channels, click Manage for Slack
- Enter:
- Bot token
- Signing secret
- Idle timeout (minutes) (optional)
- Click Save channel
- Copy the generated Messaging endpoint URL
Configure your Slack app
1. Create or update app
Create a Slack app for your workspace, or use an existing one.
2. Add bot scopes
In OAuth & Permissions, add:
chat:writeapp_mentions:readim:historychannels:historygroups:historympim:historyusers:read
3. Configure event subscriptions
- Open Event Subscriptions
- Enable events
- Set Request URL to the Budibase Messaging endpoint URL
- Subscribe to bot events:
app_mentionmessage.immessage.channelsmessage.groupsmessage.mpim
4. Reinstall app
Reinstall the app to your workspace after changing scopes or events.
5. Invite bot
Invite the bot to channels you want it to serve, for example:
/invite @your-bot
Enable and verify
- In Budibase Deployment, toggle Slack to Enabled
- In Slack, mention the bot in a channel or send a DM
- Confirm the agent responds
Slack threads are used as conversation boundaries automatically.
Troubleshooting
Not configuredin Budibase: confirm both Bot token and Signing secret are saved.- Slack events not reaching Budibase: re-check Request URL and reinstall the app after scope/event changes.
- Bot does not respond in channels: confirm the bot was invited to that channel.
- Webhook route errors: use the exact Budibase-generated endpoint URL from Deployment.
Related guides
Updated about 3 hours ago