Connect your bot to a Slack workspace: mention it in a channel and it follows the thread
A Slack channel connects your bot to a Slack app installed in a workspace. People @mention the bot in a channel to start a conversation; the bot replies in a thread and keeps following that thread, so several people can talk to it at once. Because Slack has no typing status for bots, the platform can post a temporary Thinking… message while the reply is generated.
Click Install to Workspace and authorise. Copy the Bot User OAuth Token (starts with xoxb-).
4
Copy the signing secret
Under Basic Information → App Credentials, copy the Signing Secret. The platform uses it to verify that events really come from Slack.
Connect it to Chatbot Platform
1
Add the channel
In the dashboard open your bot → Channels → Add channel → Slack.
Slack channel form
2
Enter the credentials
Give the channel a name, paste the xoxb- token and the signing secret, and click Connect Slack. The token is checked against Slack before the channel is created.
Credentials filled in
3
Paste the request URL into Slack
The channel page shows an Event Subscriptions URL of the form https://app.chatbotplatform.io/api/callback/channels/slack/<channel key>. In your Slack app go to Event Subscriptions, enable events, paste it as the Request URL and wait for the green check.
4
Subscribe to bot events
Under Subscribe to bot events add app_mention and message.channels (add message.groups, message.im and message.mpim if the bot should follow threads in private channels and DMs). Save, then reinstall the app to the workspace so the new scopes and events apply.
5
Invite the bot and say hello
In Slack, /invite @YourBot to a channel and mention it: @YourBot hello. The bot answers in a thread. Until the bot has an integration the default Echo replies You said: "…"; use Power this chat with an AI agent on the channel page to launch an agent.
How it behaves
Mentions start threads
Every @mention is answered, and the reply is posted in a thread under the mentioned message. That thread becomes one conversation on the platform, identified by the Slack channel and the thread timestamp.
The bot follows the thread
Replies in a thread where the bot was mentioned reach the bot without further mentions. Your integration receives is_thread_followup: true plus thread context (how many messages, who is participating, how many since the bot last spoke) so it can decide how to answer. With Detect if bot should respond enabled in the bot’s Behavior settings, the platform also passes an AI judgement in bot_should_reply so the bot stays quiet when two humans are talking to each other.Messages in channels that do not mention the bot and are not in one of its threads are ignored. Messages from other bots are ignored too.
Files
Files shared in a thread the bot follows are stored with the message, so an agent or your webhook can work with them.
Thinking message instead of typing
Slack does not let bots show a typing status. Turn on Thinking message in the bot’s Behavior settings to post a short italic message (customise the options, comma-separated, to pick one at random) while the reply is generated; it is deleted as soon as the bot answers.
Settings
Setting
Where
Effect
Bot User OAuth Token
Channel edit form
Replace the token; it is validated against Slack
Signing Secret
Channel edit form
Used to verify every incoming event
Channel enabled
Channel edit form
Disabled channels drop incoming events
Thinking message / options
Bot → Behavior
Simulated typing while the bot works
Detect if bot should respond
Bot → Behavior
AI check for whether a thread message was meant for the bot
Consolidate rapid messages
Bot → Behavior
Answer a burst of messages at once
Troubleshooting
Symptom
Check
Request URL will not verify
The channel exists and is enabled; the signing secret in the channel matches the app’s Basic Information page
Mentions do nothing
app_mention event subscribed and app reinstalled; bot invited to the channel
Follow-ups in the thread are ignored
message.channels (or message.groups for private channels) subscribed; Detect if bot should respond may have judged the message not addressed to the bot
”Invalid bot token” on save
Use the Bot User OAuth token (xoxb-), not a user token (xoxp-)
Thinking… message lingers
The integration failed or timed out; it is removed when its duration expires. Check the conversation in the dashboard
Next steps
Bot Behaviors
Thinking message, debouncing and reply detection
Webhook payload
is_direct_mention, is_thread_followup and thread context
Telegram
Connect a Telegram bot too
Web Widget
Put the same bot on your website
⌘I
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Chatbot Platform Documentation","colors":{"primary":"#6366F1"},"footer":{},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"chatbotplatform","hasAudioNarration":false,"actualSubdomain":"chatbotplatform","customDomains":["docs.chatbotplatform.io"],"gitSource":{"type":"github","owner":"jonnx","repo":"docs.chatbotplatform.io","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b09daf3bc2b2d94fb276943","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"Bots","count":40},{"language":"default","tag":"Guides","count":16},{"language":"default","tag":"MCP Servers","count":12},{"language":"default","tag":"Agentic Loops","count":10},{"language":"default","tag":"Channels","count":8},{"language":"default","tag":"Behaviors","count":3},{"language":"default","tag":"Conversations","count":3},{"language":"default","tag":"Integrations","count":3},{"language":"default","tag":"Getting Started","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"bots/channels/slack","slug":"/bots/channels/slack","pageMetadata":{"title":"Slack Channel","description":"Connect your bot to a Slack workspace: mention it in a channel and it follows the thread","href":"/bots/channels/slack"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Connect your bot to a Slack workspace: mention it in a channel and it follows the thread\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,Frame,Heading,OptimizedImage,Step,Steps,Table}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`A Slack channel connects your bot to a Slack app installed in a workspace. People `,_jsx(_components.strong,{children:`@mention`}),` the bot in a channel to start a conversation; the bot replies in a thread and keeps following that thread, so several people can talk to it at once. Because Slack has no typing status for bots, the platform can post a temporary `,_jsx(_components.em,{children:`Thinking…`}),` message while the reply is generated.`]}),`\n`,_jsx(Frame,{caption:`Slack channel setup instructions in the dashboard`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/02_slack_setup_instructions.png?fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=1c0f7ace1fe344c25fa58cf85998cd29`,alt:`Slack setup`,\"data-og-width\":`1920`,width:`1920`,\"data-og-height\":`941`,height:`941`,\"data-path\":`images/screenshots/03-channels/02_slack_setup_instructions.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/02_slack_setup_instructions.png?w=280\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=b481416367d4ea2fc00665e614330842 280w, https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/02_slack_setup_instructions.png?w=560\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=0ee64364015f5148a0b276fe14634a73 560w, https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/02_slack_setup_instructions.png?w=840\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=b05370cde724f7b6dfe73f71f9d9302e 840w, https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/02_slack_setup_instructions.png?w=1100\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=62fd6c90e6aaae00ae2ba4aa4b956b18 1100w, https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/02_slack_setup_instructions.png?w=1650\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=77abd4f7a3532c32b7ea68558ccb8130 1650w, https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/02_slack_setup_instructions.png?w=2500\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=70eb65569c411d49bb00d877ab80de05 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-need`,children:`What you need`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`A Slack workspace where you may install apps`}),`\n`,_jsxs(_components.li,{children:[`A Slack app created at `,_jsx(_components.a,{href:`https://api.slack.com/apps`,children:`api.slack.com/apps`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-the-slack-app`,children:`Create the Slack app`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Create the app`,children:_jsxs(_components.p,{children:[`At `,_jsx(_components.a,{href:`https://api.slack.com/apps`,children:`api.slack.com/apps`}),` click `,_jsx(_components.strong,{children:`Create New App → From scratch`}),`, name it after your bot and pick the workspace.`]})}),_jsxs(Step,{title:`Add bot token scopes`,children:[_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`OAuth \u0026 Permissions → Scopes → Bot Token Scopes`}),` add:`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Scope`}),_jsx(_components.th,{children:`Purpose`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`app_mentions:read`})}),_jsx(_components.td,{children:`Receive @mention events`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`chat:write`})}),_jsx(_components.td,{children:`Send messages as the bot`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`channels:history`}),`, `,_jsx(_components.code,{children:`channels:read`})]}),_jsx(_components.td,{children:`Read and look up public channels`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`groups:history`}),`, `,_jsx(_components.code,{children:`groups:read`})]}),_jsx(_components.td,{children:`Read and look up private channels`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`im:history`}),`, `,_jsx(_components.code,{children:`im:read`})]}),_jsx(_components.td,{children:`Direct messages`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`mpim:history`}),`, `,_jsx(_components.code,{children:`mpim:read`})]}),_jsx(_components.td,{children:`Group direct messages`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`files:read`}),`, `,_jsx(_components.code,{children:`files:write`})]}),_jsx(_components.td,{children:`Process shared files and upload replies`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`users:read`})}),_jsx(_components.td,{children:`Resolve display names for the history`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`team:read`})}),_jsx(_components.td,{children:`Workspace info`})]})]})]})]}),_jsx(Step,{title:`Install and copy the token`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Install to Workspace`}),` and authorise. Copy the `,_jsx(_components.strong,{children:`Bot User OAuth Token`}),` (starts with `,_jsx(_components.code,{children:`xoxb-`}),`).`]})}),_jsx(Step,{title:`Copy the signing secret`,children:_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Basic Information → App Credentials`}),`, copy the `,_jsx(_components.strong,{children:`Signing Secret`}),`. The platform uses it to verify that events really come from Slack.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`connect-it-to-chatbot-platform`,children:`Connect it to Chatbot Platform`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Add the channel`,children:[_jsxs(_components.p,{children:[`In the dashboard open your bot → `,_jsx(_components.strong,{children:`Channels`}),` → `,_jsx(_components.strong,{children:`Add channel`}),` → `,_jsx(_components.strong,{children:`Slack`}),`.`]}),_jsx(Frame,{caption:`Slack channel form`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/03_slack_form.png?fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=8d3ed4687492e8e20efd7820fd377b7a`,alt:`Slack form`,\"data-og-width\":`1920`,width:`1920`,\"data-og-height\":`941`,height:`941`,\"data-path\":`images/screenshots/03-channels/03_slack_form.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/03_slack_form.png?w=280\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=0f292bfb5029c4e844f8dffcfe2acf69 280w, https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/03_slack_form.png?w=560\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=ec0970bf28d81650c9d6d1c26e343200 560w, https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/03_slack_form.png?w=840\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=a698d0423805426f0f8207a9ff6958dd 840w, https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/03_slack_form.png?w=1100\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=8ba0f774b88d9d9ad6df7548941a1804 1100w, https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/03_slack_form.png?w=1650\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=a706f8e6503681237c598c6882bfdfb7 1650w, https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/03_slack_form.png?w=2500\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=48b32206bc398a969076f09e905f2594 2500w`})})]}),_jsxs(Step,{title:`Enter the credentials`,children:[_jsxs(_components.p,{children:[`Give the channel a name, paste the `,_jsx(_components.code,{children:`xoxb-`}),` token and the signing secret, and click `,_jsx(_components.strong,{children:`Connect Slack`}),`. The token is checked against Slack before the channel is created.`]}),_jsx(Frame,{caption:`Credentials filled in`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/04_slack_credentials_filled.png?fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=0e7f2cb4e01cb5904efe08e247240eef`,alt:`Slack credentials`,\"data-og-width\":`1920`,width:`1920`,\"data-og-height\":`941`,height:`941`,\"data-path\":`images/screenshots/03-channels/04_slack_credentials_filled.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/04_slack_credentials_filled.png?w=280\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=c74d8753f775c67a1b9b3137e1c38c4b 280w, https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/04_slack_credentials_filled.png?w=560\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=7369f9c262d897590f158dab5f71a652 560w, https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/04_slack_credentials_filled.png?w=840\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=cfd1797b5d4fcfb3c801018933cef8c1 840w, https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/04_slack_credentials_filled.png?w=1100\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=f2823dc11f7d6a0093d102f52afb1fcc 1100w, https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/04_slack_credentials_filled.png?w=1650\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=523244574a3777899566b94216bdedb6 1650w, https://mintcdn.com/chatbotplatform/QhGUbEN05MzAjt2K/images/screenshots/03-channels/04_slack_credentials_filled.png?w=2500\u0026fit=max\u0026auto=format\u0026n=QhGUbEN05MzAjt2K\u0026q=85\u0026s=d58d584819cf0698d9ac0039ad586513 2500w`})})]}),_jsx(Step,{title:`Paste the request URL into Slack`,children:_jsxs(_components.p,{children:[`The channel page shows an `,_jsx(_components.strong,{children:`Event Subscriptions URL`}),` of the form `,_jsx(_components.code,{children:`https://app.chatbotplatform.io/api/callback/channels/slack/\u003cchannel key>`}),`. In your Slack app go to `,_jsx(_components.strong,{children:`Event Subscriptions`}),`, enable events, paste it as the `,_jsx(_components.strong,{children:`Request URL`}),` and wait for the green check.`]})}),_jsx(Step,{title:`Subscribe to bot events`,children:_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Subscribe to bot events`}),` add `,_jsx(_components.code,{children:`app_mention`}),` and `,_jsx(_components.code,{children:`message.channels`}),` (add `,_jsx(_components.code,{children:`message.groups`}),`, `,_jsx(_components.code,{children:`message.im`}),` and `,_jsx(_components.code,{children:`message.mpim`}),` if the bot should follow threads in private channels and DMs). Save, then `,_jsx(_components.strong,{children:`reinstall the app`}),` to the workspace so the new scopes and events apply.`]})}),_jsx(Step,{title:`Invite the bot and say hello`,children:_jsxs(_components.p,{children:[`In Slack, `,_jsx(_components.code,{children:`/invite @YourBot`}),` to a channel and mention it: `,_jsx(_components.code,{children:`@YourBot hello`}),`. The bot answers in a thread. Until the bot has an integration the default `,_jsx(_components.strong,{children:`Echo`}),` replies `,_jsx(_components.code,{children:`You said: \"…\"`}),`; use `,_jsx(_components.strong,{children:`Power this chat with an AI agent`}),` on the channel page to launch an agent.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-behaves`,children:`How it behaves`}),`\n`,_jsx(Heading,{level:`3`,id:`mentions-start-threads`,children:`Mentions start threads`}),`\n`,_jsxs(_components.p,{children:[`Every `,_jsx(_components.strong,{children:`@mention`}),` is answered, and the reply is posted in a thread under the mentioned message. That thread becomes one conversation on the platform, identified by the Slack channel and the thread timestamp.`]}),`\n`,_jsx(Heading,{level:`3`,id:`the-bot-follows-the-thread`,children:`The bot follows the thread`}),`\n`,_jsxs(_components.p,{children:[`Replies in a thread where the bot was mentioned reach the bot without further mentions. Your integration receives `,_jsx(_components.code,{children:`is_thread_followup: true`}),` plus thread context (how many messages, who is participating, how many since the bot last spoke) so it can decide how to answer. With `,_jsx(_components.strong,{children:`Detect if bot should respond`}),` enabled in the bot’s `,_jsx(_components.strong,{children:`Behavior`}),` settings, the platform also passes an AI judgement in `,_jsx(_components.code,{children:`bot_should_reply`}),` so the bot stays quiet when two humans are talking to each other.`]}),`\n`,_jsx(_components.p,{children:`Messages in channels that do not mention the bot and are not in one of its threads are ignored. Messages from other bots are ignored too.`}),`\n`,_jsx(Heading,{level:`3`,id:`files`,children:`Files`}),`\n`,_jsx(_components.p,{children:`Files shared in a thread the bot follows are stored with the message, so an agent or your webhook can work with them.`}),`\n`,_jsx(Heading,{level:`3`,id:`thinking-message-instead-of-typing`,children:`Thinking message instead of typing`}),`\n`,_jsxs(_components.p,{children:[`Slack does not let bots show a typing status. Turn on `,_jsx(_components.strong,{children:`Thinking message`}),` in the bot’s `,_jsx(_components.strong,{children:`Behavior`}),` settings to post a short italic message (customise the options, comma-separated, to pick one at random) while the reply is generated; it is deleted as soon as the bot answers.`]}),`\n`,_jsx(Heading,{level:`2`,id:`settings`,children:`Settings`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`Where`}),_jsx(_components.th,{children:`Effect`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Bot User OAuth Token`}),_jsx(_components.td,{children:`Channel edit form`}),_jsx(_components.td,{children:`Replace the token; it is validated against Slack`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Signing Secret`}),_jsx(_components.td,{children:`Channel edit form`}),_jsx(_components.td,{children:`Used to verify every incoming event`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Channel enabled`}),_jsx(_components.td,{children:`Channel edit form`}),_jsx(_components.td,{children:`Disabled channels drop incoming events`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Thinking message / options`}),_jsx(_components.td,{children:`Bot → Behavior`}),_jsx(_components.td,{children:`Simulated typing while the bot works`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Detect if bot should respond`}),_jsx(_components.td,{children:`Bot → Behavior`}),_jsx(_components.td,{children:`AI check for whether a thread message was meant for the bot`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Consolidate rapid messages`}),_jsx(_components.td,{children:`Bot → Behavior`}),_jsx(_components.td,{children:`Answer a burst of messages at once`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Symptom`}),_jsx(_components.th,{children:`Check`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Request URL will not verify`}),_jsxs(_components.td,{children:[`The channel exists and is enabled; the signing secret in the channel matches the app’s `,_jsx(_components.strong,{children:`Basic Information`}),` page`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Mentions do nothing`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`app_mention`}),` event subscribed and app reinstalled; bot invited to the channel`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Follow-ups in the thread are ignored`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`message.channels`}),` (or `,_jsx(_components.code,{children:`message.groups`}),` for private channels) subscribed; `,_jsx(_components.strong,{children:`Detect if bot should respond`}),` may have judged the message not addressed to the bot`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”Invalid bot token” on save`}),_jsxs(_components.td,{children:[`Use the `,_jsx(_components.strong,{children:`Bot User`}),` OAuth token (`,_jsx(_components.code,{children:`xoxb-`}),`), not a user token (`,_jsx(_components.code,{children:`xoxp-`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.em,{children:`Thinking…`}),` message lingers`]}),_jsx(_components.td,{children:`The integration failed or timed out; it is removed when its duration expires. Check the conversation in the dashboard`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Bot Behaviors`,icon:`sliders`,href:`/bots/behaviors/index`,children:_jsx(_components.p,{children:`Thinking message, debouncing and reply detection`})}),_jsx(Card,{title:`Webhook payload`,icon:`webhook`,href:`/bots/integrations/webhook-payload`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`is_direct_mention`}),`, `,_jsx(_components.code,{children:`is_thread_followup`}),` and thread context`]})}),_jsx(Card,{title:`Telegram`,icon:`telegram`,href:`/bots/channels/telegram`,children:_jsx(_components.p,{children:`Connect a Telegram bot too`})}),_jsx(Card,{title:`Web Widget`,icon:`window`,href:`/bots/channels/web-widget`,children:_jsx(_components.p,{children:`Put the same bot on your website`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Slack Channel","description":"Connect your bot to a Slack workspace: mention it in a channel and it follows the thread","href":"/bots/channels/slack"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you need","slug":"what-you-need","depth":2,"children":[]},{"title":"Create the Slack app","slug":"create-the-slack-app","depth":2,"children":[]},{"title":"Connect it to Chatbot Platform","slug":"connect-it-to-chatbot-platform","depth":2,"children":[]},{"title":"How it behaves","slug":"how-it-behaves","depth":2,"children":[{"title":"Mentions start threads","slug":"mentions-start-threads","depth":3,"children":[]},{"title":"The bot follows the thread","slug":"the-bot-follows-the-thread","depth":3,"children":[]},{"title":"Files","slug":"files","depth":3,"children":[]},{"title":"Thinking message instead of typing","slug":"thinking-message-instead-of-typing","depth":3,"children":[]}]},{"title":"Settings","slug":"settings","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"chatbotplatform","siteName":"Chatbot Platform Documentation","title":"Slack Channel - Chatbot Platform Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T19:20:14.773Z","originalFileLocation":"bots/channels/slack.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Connect your bot to a Slack workspace: mention it in a channel and it follows the thread\">\u003cmeta data-mint-head name=\"application-name\" content=\"Chatbot Platform Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/chatbotplatform/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/chatbotplatform/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/chatbotplatform/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/chatbotplatform/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Slack Channel - Chatbot Platform Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect your bot to a Slack workspace: mention it in a channel and it follows the thread\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Chatbot Platform Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.chatbotplatform.io/bots/channels/slack\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://chatbotplatform.mintlify.site/_mintlify/api/og/v2?division=Channels\u0026amp;title=Slack+Channel\u0026amp;description=Connect+your+bot+to+a+Slack+workspace%3A+mention+it+in+a+channel+and+it+follows+the+thread\u0026amp;theme=c1a9ad670a5314018887f4f9\u0026amp;signature=7afd46063f625063f2b1f7704fb6f3fd4210148d4cf99e26b6f5d52341039991\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Slack Channel - Chatbot Platform Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect your bot to a Slack workspace: mention it in a channel and it follows the thread\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://chatbotplatform.mintlify.site/_mintlify/api/og/v2?division=Channels\u0026amp;title=Slack+Channel\u0026amp;description=Connect+your+bot+to+a+Slack+workspace%3A+mention+it+in+a+channel+and+it+follows+the+thread\u0026amp;theme=c1a9ad670a5314018887f4f9\u0026amp;signature=7afd46063f625063f2b1f7704fb6f3fd4210148d4cf99e26b6f5d52341039991\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/chatbotplatform/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Chatbot Platform Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366F1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.chatbotplatform.io/bots/channels/slack\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/bots/channels/slack.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.chatbotplatform.io/#organization\",\"name\":\"Chatbot Platform Documentation\",\"url\":\"https://docs.chatbotplatform.io\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.chatbotplatform.io#website\",\"name\":\"Chatbot Platform Documentation\",\"url\":\"https://docs.chatbotplatform.io\",\"publisher\":{\"@id\":\"https://docs.chatbotplatform.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.chatbotplatform.io/bots/channels/slack#webpage\",\"url\":\"https://docs.chatbotplatform.io/bots/channels/slack\",\"name\":\"Slack Channel\",\"description\":\"Connect your bot to a Slack workspace: mention it in a channel and it follows the thread\",\"dateModified\":\"2026-10-28T19:20:14.773Z\",\"isPartOf\":{\"@id\":\"https://docs.chatbotplatform.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.chatbotplatform.io/bots/channels/slack#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.chatbotplatform.io/bots/channels/slack#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Bots\",\"item\":\"https://docs.chatbotplatform.io/bots/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Channels\",\"item\":\"https://docs.chatbotplatform.io/bots/channels\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Slack Channel\",\"item\":\"https://docs.chatbotplatform.io/bots/channels/slack\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.chatbotplatform.io/bots/channels/slack#article\",\"headline\":\"Slack Channel\",\"name\":\"Slack Channel\",\"description\":\"Connect your bot to a Slack workspace: mention it in a channel and it follows the thread\",\"url\":\"https://docs.chatbotplatform.io/bots/channels/slack\",\"mainEntityOfPage\":{\"@id\":\"https://docs.chatbotplatform.io/bots/channels/slack#webpage\"},\"dateModified\":\"2026-10-28T19:20:14.773Z\",\"publisher\":{\"@id\":\"https://docs.chatbotplatform.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.chatbotplatform.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Chatbot Platform Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Chatbot Platform Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/bots/channels/slack.md","siteName":"Chatbot Platform Documentation","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"Bots","groups":[{"group":"Bots","pages":[{"title":"Bots","href":"/bots/overview"},{"group":"Behaviors","pages":[{"title":"Bot Behaviors","href":"/bots/behaviors/index"},{"title":"Typing Indicators","href":"/bots/behaviors/typing-indicators"},{"title":"Reply Detection","href":"/bots/behaviors/reply-detection"}]},{"title":"Weather","href":"/bots/weather"},{"title":"Connect MCP servers from chat","href":"/bots/mcp-connections"},{"group":"Integrations","pages":[{"title":"Integrations","href":"/bots/integrations/index"},{"title":"Webhook Payload Reference","href":"/bots/integrations/webhook-payload"},{"title":"Async Replies","href":"/bots/integrations/async-replies"}]},{"group":"Channels","pages":[{"title":"Channels","href":"/bots/channels/index"},{"title":"Web Widget Channel","href":"/bots/channels/web-widget"},{"title":"Realtime delivery","href":"/bots/channels/web-widget-realtime"},{"title":"Skills","href":"/bots/channels/user-skills"},{"title":"Bot Skills API","description":"List, create, update, restore and delete a bot's skills over REST, for example to keep them in version control","href":"/bots/channels/bot-skills-api"},{"title":"Slack Channel","href":"/bots/channels/slack"},{"title":"Telegram Channel","description":"Connect your bot to Telegram direct messages and groups","href":"/bots/channels/telegram"},{"title":"Adding New Channels","href":"/bots/channels/adding-channels"}]},{"group":"Conversations","pages":[{"title":"Conversations","href":"/bots/conversations/index"},{"title":"Conversation History","href":"/bots/conversations/history"},{"title":"Conversation Messages API","href":"/bots/conversations/api"}]}]}]},{"tab":"Agentic Loops","pages":[{"title":"Agentic Loops","href":"/agentic-loops/overview"}]},{"tab":"MCP Servers","pages":[{"title":"MCP Servers","href":"/mcp-servers/overview"}]}]},"basePath":"","title":"Slack Channel - Chatbot Platform Documentation","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CUYDhsh7.js","DynamicMarkdown-D8KwOkxZ.js","zoom-image-lightbox-lceUjs6n.js","lightbox-handle-r17bVUz3.js"]}