Routines

Repeatable workflows combine an automatic work-ticket note, a named-person check-in, required proof, and a discussion on the run ticket. Each run shows ordered step status, deadlines, answers, evidence and history. A person can answer inline from an Activity notification or on the run page.

Status: on for every organization since 2026-10-14: platform setting routines.enabled defaults to all (off or a comma-separated org ID list narrows it). An owner/admin with settings permission creates a disabled workflow, chooses an accessible project, binds each role to a person who can see the project, and enables it. Starts can be manual, scheduled or a named event. Disabling stops future starts while an existing run keeps its frozen workflow.

Only the named person can answer an open step, using their own signed-in session. Proof must match the requested kind: HTTP(S) link, a completed ticket file, a verified screenshot, or a dated finite metric with a source link. A routine confirmation does not grant permission to publish, send or charge.

A missed check-in is tracked once as overdue, keeps the native ticket blocked on that person, is adopted by the existing follow-up graph, and queues notifications for that person and the org owner. Email uses existing delivery preferences and the durable outbox. Actual email delivery remains subject to that delivery pipeline.

  • Open Routines in the organization navigation after activation; open a run for checkpoints and its linked ticket.
  • MCP: routine_list, routine_run, routine_respond, with the same live access checks. An org/bot key may read its permitted state but cannot answer as a person.
  • API: /v1/orgs/{orgId}/routines; dark contracts appear in all-features OpenAPI.
  • Portable routine@1 workflows use Org Blueprints. They import disabled without bindings or run data; a live org owner must permit installation.

Declared permissions and hash-bound approval (2026-10-14)

A routine is the organization's own versioned workflow. It never changes the shared platform for other customers. Each definition has a derived capability manifest: what it reads and writes, which outside hosts it reaches, who it notifies, and its side-effect classes (run ticket, internal record, notification, external read). The manifest comes from the steps, so an approver sees the exact permission set.

  • GET /v1/orgs/{orgId}/routines/{routineId}/preview shows the manifest, its manifestHash and what each step would do on synthetic data. It makes no network call and writes nothing. Org admin with settings permission only.
  • Enabling the routine is the approval. The approval records the hash of the exact package (manifest schema, definition and manifest), the approver and the time. A client that presents a manifestHash other than the current one gets 409 manifest_changed, and the routine stays disabled. The web page presents the hash it showed. A client that presents no hash, such as an older page or a bot user token, is still bound server-side to the reviewed revision.
  • Disabling the routine withdraws the approval. Replacing the definition requires disabling it first, and the new definition starts unapproved.
  • A start whose stored approval names a different hash than the current package is refused with 409 manifest_changed. This covers ledger drift or a change in how manifests are derived.
  • Each run freezes its manifest and hash. At run time, an automatic action the frozen manifest does not declare is refused before it does anything. This includes an outside host it does not list, such as a fake host posing as search. The refusal is recorded as CAPABILITY_NOT_DECLARED in the action's audit row and on the run ticket.

Limits: routines enabled before this change have no approval and keep running until someone disables and re-enables them, and the page says so. Runs started before this change carry no manifest. There is no per-run cost cap yet (PRD-06), and the definition format decision between routines and automation-engine workflows (U-07) is still open.

Reference

  • API reference: Routine definitions, previews and runs. Disabled capabilities may require the all-features contract.
  • MCP tools: Routine tools. Discovery still depends on the caller and feature gates described above.
  • Runbook: Operations and prerequisites.

We use essential cookies to keep you signed in. See our Privacy Policy for details.