Workflows
Draw the route once. Test it on last week before it runs on this one.
Triggers, agents, branches, retries and gates on one canvas. Every version is kept, any change can be replayed against real past runs in a sandbox, and nothing ships until the diff reads right.
Scroll the drawing sideways →
3 changes in the draft
Gate added- ~Variance tolerance 2.0% → 1.5%
- +Retry Ledgerline 503s with backoff
- +Gate: vendors added in the last 30 days
Runs start where the work already arrives.
An inbox, a ticket tag, a form, a webhook or a schedule. Each trigger filters what counts and carries a dedupe key, so one email never becomes two runs.
- Source
- Mailroom · ap@ostra.example
- Only if
- has PDF attachment · not from ostra.example
- Dedupe
message-id
Eventstarts run
{
"trigger": "mailroom.message",
"inbox": "ap@ostra.example",
"from": "billing@kessler-haulage.example",
"subject": "Rechnung KH-2026-1182",
"attachments": ["KH-2026-1182.pdf"]
}Replay last week against the new version, then ship.
A change to a prompt, a tolerance or a branch is a new version. Replay real past runs through it in a sandbox: nothing writes, and you get a diff of every write that would have changed.
- Real runs from the last 7 days, kept in your region
- Reads hit a snapshot, writes are stubbed
- Differences grouped by rule, vendor and amount
Same writes
Changed
Newly held
Replay last week's 500 invoices through v13. Reads hit a snapshot; writes are stubbed.
Every version is kept. Shipping never deletes the one before.
Failures
When a system is down, the run waits. It does not guess.
- Backoff per connector: 2 s, 10 s, 40 s, then 2 min
- Idempotency keys on every write
- Parked runs resume from the failed step, not the start
- 1t+0 sattempt 1 · queued
- 2t+2 sattempt 2 · queued
- 3t+12 sattempt 3 · queued
- 4t+52 sattempt 4 · queued
Key R-55141-step-5 goes with every attempt, so a retry can never post twice.
Eight kinds of step. That's the whole vocabulary.
Small enough to read on one screen, enough to describe the AP and refund queues of a 2,000-person company.
- TriggerWhere a run starts: inbox, ticket, form, webhook, schedule.
on mailroom.message - AgentReads, plans and drafts with the tools on its spec.
agent refund@v13 - Tool callOne named action on one connector, scoped.
ledgerline.post_invoice - BranchA condition on any field the run has read.
if variance > 1.5% - GateWaits for a person or two before a write.
gate controller · 72 h - WaitPauses for a reply, a date or an event.
wait reply ≤ 48 h - TransformReshapes data without a model: map, sum, format.
map lines → GL codes - Sub-workflowCalls another workflow and waits for its result.
run vendor-check@v4
Replay · 500 invoices
We changed the variance tolerance from 2% to 1.5% on a Tuesday. Replay showed us the five invoices it would have held last week, by vendor, before we shipped it. Nobody argued about it after that.
Draw one route and replay a week of it.
Connect the inbox or helpdesk it starts from, sketch the steps, and replay last week's requests before a single write goes live.
Sandbox replays on Growth and Enterprise · Every version kept