Escalation chains
Who is asked, in what order, and how long each person has. Consensus steps, reminders, the completion timer, the default action and reassignment.
Steps#
A task type's chain is a list of steps. Each step names one human (or, on a consensus step, several) and a wait:
- The first step's human is notified when the task is created. The task is
notifiedandowneris that human. - At half the wait, the human gets a reminder. You can turn the reminder off per step.
- At the full wait, the task moves to the next step: that human is notified,
ownerchanges andescalationsgoes up by one. Earlier humans keep their links and can still decide, except while a consensus step is current: then only that step's people answer, and earlier humans can only read. - When the last step's wait runs out, the default action applies.
A wait is at least your plan's minimum (limit.min_step_wait_seconds) and at most 7 days. A chain has up to 10 steps; your plan may allow fewer (limit.chain_steps), and steps after the first need routing.backup. Steps past your plan's limit are skipped when the task runs. Check both in GET /v1/entitlements.
The task keeps the chain it was created with. A request's owner replaces the first step's human for that task only; the wait and the backups stay. When the first step is a consensus step, owner is refused (owner_not_allowed_on_quorum): replacing one of its people would silently change who decides. When the first step is an open step, owner is refused too (owner_not_allowed_on_open_step): name its human in approvers.
Open steps#
A step can leave its human open: the task type names nobody, and whoever creates a task names the human for that task. Use it when the right person depends on the request: the account manager of the customer, the budget owner of the team.
| Step | Who answers | Feature |
|---|---|---|
| A specific human | The human the task type names. | every plan |
| Chosen when the task is created | Any active human of the workspace, named in the request's approvers. | routing.approver_at_creation |
| One of a group | One member of the step's human group, named in the request's approvers. | routing.human_groups |
Which plans include the two features is on the pricing page; GET /v1/entitlements says what yours allows.
- A chain can mix the three.
- An open step of an approval task type can also be a consensus step: the task type sets the approvals needed (N, 2 to 10) and the most people whoever creates the task may name (N to 10; by default exactly N), and each task names N to that many different people for the step. It needs both its open-step feature and
routing.quorum. Nobody named this way can decide alone. A group step needs at least N members who can be asked. - Every way of creating a task names the humans the same way:
approversonPOST /v1/tasksand on the MCPcreate_tasktool, a mapping on the webhook URL, a picker in the app's test task. - The choice is written into the task when it is created. Later changes to the task type, to a group or to the human's groups never touch that task. A chosen human who is archived before their step comes is skipped, like any archived human of a chain.
- Naming a human never adds one: the person must already be an active human of the workspace whose address takes mail, so the humans limit is not involved.
- When your plan no longer includes the feature, the task type keeps its open steps and stays editable, but it can't gain more of them, and new tasks on it are refused with
feature_not_in_planuntil you upgrade or give those steps a human.
Rotas and quiet hours#
A step can point to a rota instead of a human (routing.rota). Rotas are set up in the app (Build → Rotas), per workspace:
- Schedule: a weekly shift table in the rota's own time zone, optionally a cycle of 2 to 4 weeks ("one person per week"), and dated overrides for holidays and swaps. The step asks whoever is on shift.
- Round-robin: an ordered list; each task goes to the next person in turn.
The rota is read when the step is entered, never earlier: a change to the rota doesn't move tasks that are already open, and there is no hand-off at the end of a shift. When your plan no longer includes rotas, a rota step asks the rota's first person.
A human can have quiet hours (routing.quiet_hours): weekly windows in their own time zone. Set by an admin on the Humans page, or by members for themselves (Account → Availability). Nobody is messaged during their quiet hours, on any channel:
- A step whose human is in quiet hours, or a schedule with nobody on shift, is skipped and the task goes to the next step that can be asked now.
- When nobody on the remaining steps can be asked now, the task goes to whoever can be asked first (within 7 days): they become the
ownerat once, the message waits until then, and the step's wait counts from then. They can still answer earlier from the app. - A reminder that falls in the owner's quiet hours is dropped; the step's wait still runs. The deadline never moves.
- A member who reassigns a task chooses the person on purpose: that message goes out at once.
- Test tasks ignore quiet hours.
Routing rules#
Routing rules (routing.rules) look at a new task and change who is asked, its urgency or its tags. They are set up in the app (Build → Routing rules), per workspace, for one task type or for all of them, in an order you choose: the first rule that matches wins, and without a match the task type's chain is used.
- Conditions test a payload field (is, is not, contains, starts with, greater than, less than, is empty) or how the task arrived: the door (API, webhook, MCP, the app's test task), the task type, the urgency you sent. Text is compared without regard to case; a field the task doesn't have counts as empty.
- Actions: send the first step to a human or a rota, use the rule's own chain instead of the task type's, or set the urgency.
- Advanced rules (
routing.rules_advanced) combine several conditions (all or any) and several actions, and add regular expressions, number ranges, the time and day received (in your organization's time zone) and tags. Your plan sets how many rules, and how many advanced ones, your organization can have, counted across all workspaces. - What you send wins: a task with its own
chain, or withapproversfor open steps, keeps its chain. Anownerreplaces only the first step: the rule's own chain still applies after it. The rule's urgency and tags always apply. - The rule that matched is shown on the task, sent in the callback (
routing.rule) and recorded in its history. Changing or deleting a rule never changes tasks that already exist. - Once a workspace has a rule, the app's Try a task panel shows which rule a sample task would match and who would be asked now; nothing is created. Rules that are off are listed but not checked.
- When your plan no longer includes rules, they stop running (advanced ones stop when advanced rules leave the plan, and rules past your plan's limits are skipped: the oldest rules keep their places, and inside a workspace the places go to the rules highest in your order). They stay listed so you can delete or reorder them; changing them needs the plan again.
Consensus steps#
A step of an approval task type can ask several people at once and need a number of their approvals: for example 2 of 3 managers. This needs the routing.quorum feature (every paid plan).
- A consensus step lists 2 to 10 different people and needs N approvals, from 2 up to the number of people. One person can't hold two places, even under two human records with the same address or the same linked member.
- Everyone on the step is notified at once and gets their own link. Each person answers once, approve or reject, with an optional comment; an answer can't be changed, and there is no "edit and approve" on a consensus step.
- The task is approved as soon as N people approved, and rejected as soon as N approvals can no longer be reached (with N equal to everyone, one rejection rejects).
- People marked can decide alone choose when they answer. Add my vote (selected by default) counts their answer like anyone else's, towards the N approvals. Decide for everyone settles the step by itself: their approval approves and their rejection rejects, whatever the others answered. Someone who added a vote no longer keeps the step open on their own: once N can't be reached, it is rejected.
- The reminder at half the wait goes to everyone who hasn't answered. Nobody is asked again once the step is decided.
- When the wait runs out undecided, the task moves to the next step as usual. Answers don't carry over (the next step may ask other people, with another N), and the people of the consensus step lose their links. The comments written on that step are not kept; the task's timeline in the app still shows who answered what. N is never lowered automatically: when too few of the people can be reached (archived, undeliverable), the step is skipped like an unreachable human.
- A bounce or an archived person moves the task on only when approval can no longer be reached without them; it never applies the default action.
The decision's by is the person whose answer completed it. The task, the callback and the MCP results also carry a quorum object with every person's answer. Choosing approve as the default action approves an unanswered task without the consensus: use it only when a late yes is safe.
When an email bounces#
If the email to the current human bounces for good (an address that doesn't exist, a mailbox the provider has closed), the task moves to the next step at once instead of waiting. When there is no next step, nothing happens early: the step's wait and the deadline still decide. Soft bounces, complaints and opens never move a task.
Humans who are archived, or whose address is marked undeliverable, are skipped when a step is reached.
Follow-ups and the completion timer#
A follow-up task type asks someone to do something. A notified human takes it on ("I've got it"): the task becomes acknowledged, owner is that person and the step's timers stop. They then mark it done (decision.action: "done") or hand it back (the task goes to the next step, or the default action applies with reason: "handed_back").
With a completion time on the task type (feature routing.completion_timer), whoever took the task has that long to finish. When it runs out, the task escalates to the next step as if nobody had answered.
When nobody answers#
The default action applies when the last step runs out, at the task's deadline, and at creation when nobody in the chain can be notified. The task always ends expired, with decision.automatic: true:
| Default action | Outcome |
|---|---|
expire | decision.action: "expired": your code decides what to do. The only choice without the routing.default_action feature. |
approve | decision.action: "approved" by nobody (approvals only). Use it only when a late yes is safe. |
reject | decision.action: "rejected" by nobody (approvals only). |
alert_admins | decision.action: "expired", and every member who manages tasks in the workspace gets an email. |
decision.reason says why: chain_exhausted, deadline, no_owner (nobody could be notified), handed_back or support (TaskToHuman support ended it at your request).
When nobody can be notified at creation and the default action is expire, the request is refused with 422 no_owner_available and nothing is counted. With another default action the task is created and finished at once (201, state: "expired", decision.reason: "no_owner").
The deadline#
A deadline (deadline_minutes, or the task type's default) is an overall limit across every step. When it passes, the default action applies with reason: "deadline", wherever the chain is. expires_at on the task is the deadline, or null without one.
Reassigning#
A member who manages tasks can give the current step to another human of the workspace, in the app. The new human is notified and the step's timers restart; the previous one can no longer act on the task. escalations doesn't change. On a consensus step a member replaces one person who hasn't answered: the new person keeps that place (and its "can decide alone" mark), the answers so far stay and the timers don't restart. Reassignment is not part of the public API.