Connecting the default Slack app or Slack · User requires the organization developer or admin role. Slack · User authorization must be started by a signed-in member, not an API key. Setting up your own Slack app requires an organization admin. You also need permission to authorize the app in the Slack workspace.
Connect Slack
From Integrations → Add integration → Slack, choose the workspace and approve the installation. Choose the connection’s tools, then grant it in the agent’s Integrations section. Under Access level, choose Read and reply in the triggering thread (trigger_thread) for sessions started from a Slack thread, or Use Slack tools across the workspace (workspace_tools) for tools in any channel the bot can reach. See Grant apps to an agent.
The message deletion tool is opt-in: select it on the connection and again for each agent that needs it. slack_update_message and slack_delete_message change only messages the agent posted. slack_update_canvas, included by default with Use Slack tools across the workspace, replaces the whole content of a canvas tabbed in a channel the bot has joined, including people’s edits. Remove it from the connection or the agent if that isn’t wanted.
Connect your Slack account
Use Slack · User to let an agent read your conversations, including DMs, and optionally post as you. The connection belongs to the organization where you add it, whether personal or shared.- In Integrations → Add integration, choose Slack · User. Sign in to Slack and authorize your member account in the intended workspace.
- Choose the connection’s tools. Posting as you requires selecting
slack_user_post_messageon the connection. - Open the agent’s Configuration → Integrations, add the connection, and choose its tools. Select
slack_user_post_messagehere too if the agent may post, then click Use this access and Save new version. - From the connection’s row menu on Integrations, run Test connection before a session depends on it.
Slack User grant fields and MCP tools
Slack User grant fields and MCP tools
Slack · User uses provider ID
slack_user and access level user_tools. Its provider reports presetFixedAtAuthorization, but there is no other level to switch to; change the connection’s and agent’s selected tools instead.For API agent grants, select slack_user_post_message in the grant’s tools and on the connection to allow posting. Slack · User has no tools via MCP checkbox. Saving its grant in the console turns MCP tools back on; to stop the agent using this connection, remove its grant. See Withhold integration tools.If a deployment stops offering Slack · User, sessions skip its grant. Before saving a new agent version, remove its Slack · User grant and any slack_user entry in disabledIntegrationMcpProviders; a version that still names either cannot be saved until the integration is available again. Existing connections can still be disconnected.Test, reconnect, or disconnect Slack
For the Slack bot or a custom app, follow integration recovery and the custom-app steps below. For Slack · User, use the test result to choose the recovery step.Test and reconnect your Slack account
Active describes the organization’s connection, not whether Slack still accepts its authorization. If Slack revokes the shared authorization, the connection can remain Active while tests and tool calls fail. Read the test’s failure rather than relying on the row’s state. In API test results, useok and failure; state can remain active with ok: false.
- Reconnect if the test says access was revoked or changed, or reports
token_revoked,invalid_auth,account_inactive,invalid_refresh_token, orinvalid_grant. - Test again later for temporary failures such as
ratelimited,http_error, a transport error, orcontext deadline exceeded.
Disconnect your Slack account
From the connection’s row menu on Integrations, choose Disconnect and confirm. Agents and automations lose access through that connection. Adding the member again creates a new connection, so grant the new connection to agents. An organization that has disconnected is not restored by another organization’s reauthorization. An API disconnect normally returns204 No Content. It can instead return 503 slack_user_revoke_failed when revocation or local removal cannot be confirmed; retry the disconnect. If the retry returns 404 not_found, the connection was already removed.
Use your own Slack app
The regular Slack choice installs Recursion’s app. Choose Slack · custom app when you administer a Slack app and want to select its bot token scopes. Create a new Slack app dedicated to this connection: its Events, Interactivity and any slash command request URLs will point to Recursion. An organization admin sets it up:- In your Slack app’s OAuth & Permissions, choose the bot token scopes you need and enable token rotation. Do not add user token scopes.
users:readis required to verify the installation and send platform replies; every Slack tool also needs it. For basic public channel use, tryapp_mentions:read,channels:history,channels:read, andchat:writein addition. You can choose fewer or different additional bot scopes; Recursion shows tools that need missing scopes as disabled. - In Basic Information, copy the Client ID, Client Secret, and Signing Secret. Create an app-level token with
authorizations:read. In Manage Distribution, copy the Sharable URL. In Recursion, open Integrations → Add integration → Slack · custom app → Configure app, enter those values, then click Save app configuration. Keep the Signing Secret limited to trusted maintainers: anyone with it can produce requests that appear to come from your Slack app, including approval clicks. - Copy the Redirect URL shown by Recursion after saving into Slack’s OAuth & Permissions → Redirect URLs and save. Then click Continue to Slack, choose the workspace, and approve the installation. Recursion receives the bot and rotating refresh tokens automatically. If you leave before authorizing, click Finish setup on the pending connection to see the redirect URL again.
- After authorization, open the connection’s App setup URLs. Put its Events API request URL in Slack’s Event Subscriptions → Request URL, subscribe to
app_uninstalled,tokens_revoked, and the bot events your automations need, and save. Put the Interactivity request URL in Interactivity & Shortcuts → Request URL and save. The URLs must be reachable by Slack over public HTTPS. - Optional, for slash commands and shortcuts: add the
commandsbot scope andchat:write(to post where they are used), plusim:writeand the app’s Messages tab if runs may start in a person’s DM with the app (follow-up replies there also need the DM setup:im:history,im:readand themessage.imevent), then choose Update bot scopes on the connection. Create each slash command in Slack’s Slash Commands, using the connection’s Slash command request URL for every command. Create shortcuts in Interactivity & Shortcuts; they use the Interactivity request URL, and each has a callback ID (up to 255 characters, matched exactly) that a trigger can name. See Slash commands and shortcuts. - Choose the connection’s tools, grant it to an agent, and create Slack automations.
Bot scopes needed by each Slack tool
Bot scopes needed by each Slack tool
Every tool needs
users:read for installation verification. The table lists additional bot scopes. “History” means at least one of channels:history, groups:history, or im:history; “channel list” means both channels:read and groups:read.Workspace-granted posts, updates, and completed uploads with Slack file images also need
files:read and the relevant channels:read or groups:read scope. Text-only posts do not. The channel picker needs channels:read for public channels and groups:read for private channels. @handle and user-group tags in slack_post_message and reply need usergroups:read; without it they post as plain text. A custom reply name or picture needs chat:write.customize. Choose Update bot scopes to add these to an existing custom app connection.Change a custom app's bot scopes
Change a custom app's bot scopes
Choose Update bot scopes on the existing connection, paste the current Sharable URL, and authorize the app in the same workspace. Reinstalling directly from Slack’s app settings can revoke the Recursion connection when refreshed scopes differ. To remove existing grants, uninstall the app in Slack first, then choose Update bot scopes on the revoked connection. Recursion preserves the connection id used by agents and automations.Private-channel message triggers need
groups:history, and DM message triggers need im:history and chat:write so the app can reply. Buttons that start automations need channels:read, groups:read, or im:read in public channels, private channels, or DMs, respectively, to verify Slack Connect sharing; without the matching scope, the click is ignored. A feedback card or comment still posts without that scope, but thumbs-down wakes and scheduled-report comment investigations are skipped. Report investigations need the matching read scope for both the report channel and the feedback collection channel; if either is shared, the trigger must also allow shared channels. Slash commands and shortcuts need commands; to check sharing they need the same read scopes, and without them only triggers that allow shared channels answer. A slash command used in a one-to-one DM reads no sharing: it needs no read scope and no allowSharedChannels, because it runs in the person’s own DM with the app with only their words. Starting a run in a person’s DM needs im:write and the app’s Messages tab. The Stop button on a live status and Continue on a stop note need channels:read and groups:read in a channel (a C id can be public or private), groups:read in a private channel with a G id, and im:read in a DM; without them, the status shows no Stop and the note no Continue: stop the session from Recursion, and continue it from Recursion or with the mention the note names.Rotate credentials or recover a rejected custom app
Rotate credentials or recover a rejected custom app
To rotate the Signing Secret, Client Secret, or app-level token, disconnect the integration and set it up again. This creates a new connection: replace the Events, Interactivity and slash command request URLs in Slack, grant the new connection to agents again, and select its new event source in each automation’s Slack trigger.When a custom app shows Credentials rejected, Finish setup, Reconnect, and Update bot scopes are unavailable; disconnect it and set it up again with current credentials.For an active custom app, Test failed shows a reauthorization step instead of the failure reason. Run Test connection again from the row menu; if it keeps failing, choose Update bot scopes or ask an organization admin to reauthorize the app.If Slack rejects credentials during setup, Disconnect the pending connection and start again with corrected values. A rejected Client ID or Client Secret also prevents a later token refresh; disconnect and set up the app again with current credentials. If Slack rejects the app-level token after an event arrives, the connection check records the failure and new Slack messages stop reaching automations and sessions; bot tools and button clicks can still work. Disconnect the old connection, set up the app again with a valid token and
authorizations:read, then update Slack’s Events, Interactivity and slash command request URLs, grant the new connection to agents again, and select its new event source in each automation’s Slack trigger. A bot-only Test connection before an event cannot verify the app-level token. A custom app’s credential failure remains in Status until the app is set up or authorized again; a later manual or automatic connection check does not replace it.If Slack cannot verify the Events API request URL after authorization, check the Signing Secret first. A wrong Signing Secret requires disconnecting the connection, setting up the app again with the correct value, authorizing again, and replacing the Events, Interactivity and slash command request URLs in Slack.