Slack¶
Connect Slack to hand work to Crios from chat, steer running sessions from threads, and get status replies without leaving your workspace.
Slack has two parts:
- Your organization's Slack app, which receives mentions and posts replies. An organization owner or admin configures it under Organization → Connectors → App credentials → Slack.
- Members' Slack connections, made from the Slack card on the Apps tab of the personal Connectors page. A connection installs the app into a workspace as you. It binds that workspace to your Crios organization, which is required before a channel can be linked, and lets agents act in Slack as you. See Your connectors.
Setting up the organization's app¶
Create a Slack app for your workspace, then open Configure on the Slack card and fill in:
| Field | Description |
|---|---|
| Bot token | The app's bot token (xoxb-...) |
| Signing secret | Used to verify that requests really come from Slack |
| Bot user ID | The bot's member ID, so Crios recognizes and ignores its own messages |
Click Save & Apply, then Test Connection. The test confirms the bot token and, when the bot's member ID differs from Bot user ID, offers the detected ID with a Use button. The card's Setup guide walks through Slack's console.
The card's Webhook URL is your organization's own receiver,
https://<crios-host>/api/v1/webhooks/slack/<organization-id>. In the Slack
app:
- Under Event Subscriptions, set the request URL to the Webhook URL and
subscribe to the
app_mentionbot event. Thread steering arrives as ordinary message events, so subscribe tomessage.channelstoo. - Under Slash Commands, create
/crioswith the same Webhook URL as its request URL. - Under Interactivity & Shortcuts, turn Interactivity on and set the
Request URL to that Webhook URL with
/interactionsappended. The buttons and project picker in Crios's replies are delivered there. No extra OAuth scope is required.
Save the Signing secret before you enter the request URL: Slack checks
the address as soon as you type it in, and Crios can only answer that check
once it has the secret. The bot token needs the app_mentions:read,
channels:history, chat:write, commands and im:write scopes.
Crios verifies every request with the signing secret and rejects requests
whose timestamp is more than five minutes off. Until a signing secret is
saved, it answers 503. Messages posted by bots, including Crios itself,
are ignored, so there are no reply loops.
Members see the app's bot on their Connectors page as your organization's connection, a Bot. Without a signing secret it carries a warning, because Slack's mentions, messages and slash commands cannot reach it, and it reads Error once Slack refuses the bot token, for example after the app was removed from the workspace.
The receiver takes events and /crios commands only from your
organization's own workspaces: the workspace the bot token belongs to, and
any workspace a member of your organization connected on their
Connectors page. A Slack app can be installed in other workspaces too,
and its signature only proves which app sent a request, so Crios
acknowledges anything from another workspace and drops it. A /crios
command from such a workspace gets a short reply saying the workspace isn't
connected to an organization in Crios.
Public URL required
Slack must be able to reach your Crios API. Private-network installations without an externally reachable API cannot receive Slack events.
The un-scoped address /api/v1/webhooks/slack is the deployment's own Slack
app, set up with the oldest organization's settings. One app there can serve
many organizations (Slack's Add to Slack): an event or command goes to
the organization whose member connected its workspace through that app on
their Connectors page, or to the oldest organization when the workspace
is its bot's. When that names several organizations, or none, the event is
dropped, because there is no telling whose it is. So is an event that
arrives while Crios cannot look up who connected its workspace.
Handing work to Crios¶
Mention the bot with a plain-language request:
Crios captures it as an external intake ticket and confirms in the channel. If the channel is linked to a project, a session starts for it; otherwise the ticket waits in the intake inbox as Needs Project until someone assigns it.
Commands¶
Run a command as a mention, for example @Crios status, or as the slash
command, /crios status. Both answers are shown only to you. A slash
command works in channels the bot has not joined. A mention needs the bot
in the channel, because that reply is an ephemeral message. /crios or
/crios help opens a menu of buttons. Lists are buttons and a project
picker. Nothing asks you to paste an id. Text after /crios that is not a
command is captured as a task, the same as a mention: /crios add input
validation to the signup form. /crios work <description> does the same,
and New task on the menu opens a form for the description.
| Command | What it does |
|---|---|
work <description> |
Create an intake ticket for the task |
(no text), help |
Menu: Sessions, Workflows, Runs, Schedules, Agents, Knowledge, Cost, Link, New task |
status |
The linked project's active and paused sessions, with Pause, Resume and Cancel for an editor |
workflows |
That project's workflows |
runs |
That project's latest workflow runs. An editor can cancel one that is still going, after a confirmation |
schedules |
When that project's workflows will next run |
agents |
That project's agents |
knowledge |
Knowledge entries owned by that project |
link |
Pick a project to link this channel to |
cost |
The linked project's total cost and session count |
Sessions, workflows, runs, schedules, agents, knowledge and cost need the
channel linked to a project in your organization, and they list only that
project. An unlinked channel's menu offers linking and a new task. A
workflow run's Cancel does not retry the run. Knowledge is entries with
scope project on the linked project, not organization-wide entries.
Who can run commands¶
Crios recognizes you in Slack once you have connected Slack for that workspace on your Connectors page (Connect with Slack on the Slack card). Commands then run with your access to the project:
| Command | Needs |
|---|---|
status, cost, workflows, runs, schedules, agents, knowledge |
Access to the project |
| Pause, resume, cancel a session, cancel a run | Editor access to the project |
link |
Manage access to the project: its owner, or an organization owner or admin |
work, help |
Nobody in particular |
If Crios doesn't know who you are, it asks you to connect Slack first; a
Slack Connect guest from another company is never recognized. If your access
is too low, it says which access the command needs. work and mentions
still capture tasks from anyone in the channel: a task from someone Crios
recognizes runs as them, anyone else's waits for an owner to approve its
plan.
Linking channels to projects¶
Run @Crios link in a channel and choose a project. You need
manage access to the project, the same as through the API below, and Crios
must recognize you (see Who can run commands). The
project must belong to the organization whose webhook received the message.
Linking a channel for the first time also needs its workspace to be your
organization's: the workspace of its app's bot token, or one a member of
your organization connected on their Connectors page. Until then, Crios
replies that the workspace isn't connected yet. A channel linked to one organization's project cannot be
relinked to another organization's project.
A project has one channel and a channel one project. Linking a project that is already linked elsewhere moves its link to this channel. Linking a channel that serves another project moves the channel to the new project, which needs manage access to both projects.
A link can also be managed through the API (/api/v1/slack/channels/link).
There, linking and unlinking need manage access to the project, which its
owner and organization owners and admins have, and reading the link needs
access to the project. Because a link sends the project's notifications to
the channel and lets the channel act on its sessions, editors and viewers
cannot change it.
The API links only a channel your organization's Slack can see. Crios asks
Slack about the channel with the bot token of your organization's Slack app
and with the Slack installs your members connected on their Connectors
page, which takes the channels:read scope (groups:read for a private
channel, whose members must include the bot). A channel none of them can
see, or one another organization has linked, is answered as not found.
Without a Slack token, or without the scope, the API refuses the link and
says so. /crios link, typed in the channel itself, needs no such check.
From then on:
- Mentions in that channel create tickets in the linked project and dispatch immediately.
- A reply in the thread of a task Crios captured is delivered as steering to that task's session, while it runs. The agent picks it up as guidance, and a session that is waiting for input resumes to act on it. See steering.
- A reply there that mentions Crios (
@Crios use the staging database) steers the task the same way, once. It doesn't open a second task. A mention in any other thread, in a finished task's thread, or from someone who can't steer the task is a new task, as in the channel. - A reply in any other thread, without a mention, steers the project's session when exactly one is running. When several are, Crios passes the reply to none of them and says so once in that thread.
- Only people with editor access to the project steer its sessions. Replies from anyone else, a Slack Connect guest included, are left as conversation between people.
- Agents in the project can post to the linked channel. When a member's Slack connection is linked to the project, the post goes out as that workspace installation's bot; otherwise it uses the organization's bot. An agent's post never appears as the person who connected Slack: if their installation has no bot, the organization's bot posts instead, and without one the post is refused with a note to reconnect Slack with the bot added. When a post fails, the agent is told Slack's reason and what fixes it, for example that the bot is not in the channel and needs an invite, or that Slack refused the organization's bot token.
Status updates¶
Crios replies in the originating thread as a ticket moves through its
lifecycle: when work starts, when a pull request is ready, when it finishes,
or if it fails. Each status is posted once, so threads stay readable. A task
captured with the /crios slash command has no message to reply under, so
its updates are posted in the channel instead.
Replies go out as your organization's Slack app when its bot token is set. Without one, they go out as the bot of your organization's own Slack connection, the one a member made on their Connectors page. Crios doesn't record which workspace a task came from, so it uses a connection only when all of your organization's Slack connections are in one workspace. Until then, and while that workspace has no connection with a bot (for example, one that needs to be reconnected), the replies wait: they are tried again until 7 days after the task's last status change. Another organization's connection to the same workspace is never used.
Tip
Everything captured from Slack is also visible in the intake inbox, where you can retry, dismiss or assign tickets. See External intake.
Slack as a personal account¶
Connecting Slack on the Connectors page (Connect with Slack on the Slack card) gives your agents these actions in projects you link the connection to: list channels, read a channel's recent messages or a whole thread, look up a member by their Slack ID, and add a reaction. They run as you in that workspace, within the connection's access level: at Read, agents can list channels, read messages and look up members, but not react.
Posting a message (optionally in a thread) and uploading a text file also run
as you, so they need your approval: agents can't do either until you tick
Auto-approve posts and uploads on your Slack connection under Your
connections in the Slack sheet. Its tooltip says what the box does: When
off, agents can't post messages or upload files as you in Slack. They can
still read, list channels and react. Only you can switch it on: Crios
refuses a session's sandbox that tries to change it. Auto-approve lifts only
the approval; the connection's access level still decides whether agents may
post at all. A message posted for you never notifies a whole channel:
@channel, @here, @everyone and user-group mentions show as plain text.
The progress notes agents post to the project's linked channel go out as the
Crios app, not as you, and need no approval.
Messages your agents read come back marked as written by other people, and agents treat them as information, never as instructions.
Listing channels covers public channels and leaves archived ones out unless asked. Private channels, direct messages and group messages need Slack permissions Crios doesn't request; asking for them returns an error that names the missing permission.
Slack limits apps distributed outside its Marketplace: on installations made since May 29, 2025, reading a channel's history or a thread returns at most 15 messages per call, with one call a minute. A call over the limit fails with the time to retry after.
The connection needs the organization's Slack app to carry an OAuth client. An organization owner or admin enters it on the Slack card under App credentials, in OAuth client ID (member accounts) and OAuth client secret (member accounts). A deployment that shares its Slack app as the Crios app fills them for an organization that has saved neither. Without either app, connecting fails with Slack is not configured for your organization (missing OAuth app credentials), and the Slack card on members' Apps tab shows Needs setup unless the organization's bot token is set.
Connecting also gives the app's bot in that workspace the
app_mentions:read and commands scopes, so a workspace connected only
from the Connectors page delivers its @Crios mentions and /crios
commands too.
Leave token rotation off in that Slack app (Slack's OAuth & Permissions settings). With rotation on, Slack expires every token after 12 hours, and Crios keeps Slack tokens that don't expire, so connecting through such an app fails with this Slack app has token rotation turned on…. Slack can't turn rotation off once it is on, so an app that has it must be replaced by a new one.