Skip to content

Requests from Slack

The Zentri Slack bot lets people who never open a terminal ask for work, answer an agent’s questions, and review decisions. This guide follows a product manager, Pam, from linking her account to a developer starting her request. It also says plainly which parts have run and which have not.

  • An admin has set up the Slack app and runs the bot. See the Slack bot page.
  • You have a Zentri user. Any role works for asking. Role requester is the usual one for people who do not run agents.
  • Your Slack account is in the workspace the bot serves.

The bot decides nothing. It sends each action to the coordinator as the Slack user who made it, and the coordinator runs the same permission check as the CLI. A refusal comes back to you as a private message.

Part State
HTTP mode against the fake Slack in integrations/slack-bot Ran. scripts/e2e-m5b.sh passed five runs in a row on 2026-11-29, on macOS with Docker Desktop.
Linking, a request that matches, a new request queued, a lead starting it, a question answered in the form, a decision approved, unlinking Ran in that script, against the fake Slack.
A real Slack workspace Not run.
Socket Mode Not run. The fake Slack does not serve the WebSocket that Socket Mode opens.
Installing manifest.yaml in a workspace Not done.
CI Runs scripts/e2e-m5b.sh on every push to main, against the fake Slack.

SLACK_MODE defaults to http, the mode the tests cover. HTTP mode needs a public HTTPS URL that ends in /slack/events. Socket Mode is opt-in with SLACK_MODE=socket, and it has never run.

A link code connects your Slack account to your Zentri user. If you have zt, mint your own:

Terminal window
zt slack link
Link code: <code>
Expires: Nov 30 10:12 (in 9m)
In Slack, type:
/zentri link <code>
The code works once and is not shown again. Linking replaces any link you have.

With no terminal, ask an admin. An admin mints a code for you with zt slack link --user pam and hands it over privately, as with an invite.

In Slack, send the code to the bot:

/zentri link <code>

The code expires after 10 minutes and works once. Check the link from a terminal with zt slack status. It prints Not linked to Slack. Run zt slack link for a code. until you link.

/zentri request reports Add a CSV download button to the monthly report

The first word after request is the project name. The rest is what you need. The bot answers privately, Checking reports for matching work…, then checks the request the same way zt start does.

When nothing matches, the request is registered at once and waits in the queue:

Your request is queued in reports. A developer picks it up from there.
Intent <id>

A request from Slack never starts an agent by itself, whatever your role. A developer starts it, as step 4 shows.

3. Choose when the request matches existing work

Section titled “3. Choose when the request matches existing work”

When the request matches, nothing is registered yet. The bot shows the match and a button for each choice the coordinator allows:

Your request in reports duplicates work in progress.
Your request: Add a CSV download button to the monthly report
add CSV export to the reports page (active, ana)
Watch it: watch the owner's work; the owner is told
Ask the leads: ask the project leads to decide
[Watch it] [Ask the leads]

The verdict is duplicates work in progress, looks already done, or partly overlaps work that already exists. The bot shows up to three matches. The default choice, when there is one, has the highlighted button.

Button Choice What happens
Watch it join_as_watcher You watch the owner’s work. The owner is told.
Ask the leads escalate The org’s leads get a notice and decide.
Queue behind it queue Your request waits until the matching work ends.
Join it merge Your request joins your own matching work.
Run anyway run_anyway Registers your request as separate work. From Slack it is queued, never started.
Fork it fork Registers a competing attempt. From Slack it is queued. Never offered to a requester.

A requester may only queue: run_anyway becomes queue, and fork is dropped. An engineer or lead may see Run anyway or Fork it in Slack, but the result still waits in the queue. Two engineers on the same task explains every choice.

After a click the message names the outcome, for example You are watching the matching work in reports. Its owner was told. or Your request went to the leads of reports to decide.

Queued requests show up in zt ls for everyone in the project:

Terminal window
zt ls

A lead, or the request’s owner when the owner is an engineer or above, starts it by its full intent ID:

Terminal window
zt start --queued 01900000-0000-7000-8000-00000000cc01 "Add a CSV download button to the monthly report"

Since a requester’s own role cannot start an agent, a lead starts a requester’s request. An engineer who does not own the request is refused.

The session starts as with any zt start. If the project uses the model router, it classifies the request’s stored text, when the coordinator kept one.

When the agent working on your request has a product question, it goes to whoever asked for the work, which is you. A technical question goes to the session’s owner. Linked users get each question as a direct message:

An agent has a question for you (from @lea)
Should the CSV include archived rows?
[Answer]

Answer opens a form with one field, Your answer, of up to 2048 characters. Send delivers it. The message then shows Question answered and Your answer: ..., and the agent gets the answer on its next tool call.

An unanswered question sends a reminder, then escalates to the leads, then expires. The same question in zt questions works too; see an engineer’s day.

A lead who is linked gets each high-risk decision as a direct message with Approve and Reject. One click reviews it. Approving decisions covers who may review and what each verdict does to the merge check.

/zentri unlink

Or zt slack unlink from a terminal, which prints Unlinked your Slack account. After that the bot no longer acts for you, and the questions and decisions still waiting for delivery to you are dropped.

Message in Slack Cause and fix
Your Slack account is not linked to Zentri yet. ... Link first, as in step 1.
That link code is not valid. A code works once and expires after 10 minutes. ... The code was used, mistyped, or expired. Mint a new one.
You have no project named reports in Zentri. The name must match the project’s name exactly, and you must be able to see it.
This request expired. Send /zentri request again. The bot keeps a request that waits for a choice for 15 minutes, in memory. A restart of the bot also forgets it.
Only the person who sent this request can choose here. Someone else clicked your buttons. Nothing changed.
The matching work changed. Choose again. Another registration changed the match while you chose. Pick from the new choices.
No choice is open to you here. Ask a project lead. Your role allows none of the choices for this match.
Zentri is not reachable right now. Try again in a minute. The bot could not reach the coordinator.
Too many requests. Try again in N s. The coordinator allows each Slack user 1 request a second, with bursts of 10. /zentri link attempts count too. Wait the seconds shown.
This question is already closed. or This decision was already reviewed. Someone else got there first.

The bot delivers each message at least once, so a crash of the bot can post one message twice.

  • Everything in what has run and what has not applies.
  • Slack gets questions, decisions, and three intent notices: someone watches your work, a match was escalated to you as a lead, and the work your queued request waited on ended. You are not told in Slack when someone starts, merges, or finishes your request. Ask the developer, or check zt ls.
  • The coordinator deletes a Slack delivery 30 days after it was queued, sent or not. A bot that is down that long loses those messages. The notices stay in zt status.
  • A new request sends no notice to anyone. Developers find it with zt ls.
  • The bot serves one workspace, the one SLACK_TEAM_ID names.
  • A pending choice lives only in the bot’s memory for 15 minutes.