Skip to content

Running & debugging

One run of a workflow is called an execution, and Crios records all of it — every step, every attempt, every event — so you can watch it live on the canvas, step back through it afterwards, and open it again days later. This page covers the run panel in the editor, what each step tells you, how retries and error routing behave, the list of a workflow's executions, and the Dead letters queue that catches the failures nothing else handled.

Two ways a workflow runs

Run in the editor starts a test run of the saved draft, right there on the canvas. A published workflow also runs on its own whenever one of its triggers fires — those runs use the live version, not your draft. Both produce the same kind of execution and give you the same tooling; only the mode differs.

Every execution carries the mode it started in:

Mode Where it comes from
Production A trigger on the live version — a schedule, a webhook, a signal, a collector
Test Run, Run with input, Run to here or Test with sample data in the editor, against the saved draft
Partial Re-run from here — reuses an earlier run's results and re-executes from one node onward
Retry A Redrive from Dead letters, or a retry of a failed run through the API
Sub-workflow A run started by another workflow

Starting a test run

Click Run in the panel along the bottom of the editor. The button reads Saving… while the draft is written and Starting… while the engine picks it up, then the panel attaches to the new execution and the canvas starts painting. Hover the button with edits outstanding and it tells you what is about to happen: Unsaved changes are saved first — the run executes the saved draft.

A test run starts from the workflow's Manual Trigger when it has one, and otherwise from its first enabled trigger. A test run that starts from a Schedule trigger carries the time it started, the way a scheduled run carries its own time, so steps that use that time behave in a test as they will on schedule. Three other ways to start one:

  • Run with input — opens Run with sample input, where you type the items the trigger should hand the workflow: a list of {"json": …} objects, or one object on its own. The trigger itself never runs — nothing is polled and no real event is needed — so this is how you test a workflow whose trigger fires on its own.
  • Test with sample data — the same, from a selected trigger in the inspector, prefilled from that trigger's pinned fixture, the source's most recent row, or its empty envelope. See Triggers.
  • Run to here — right-click a node on the canvas. The run goes as far as that node and stops: everything downstream is skipped, and the run counts as succeeded. It needs no earlier run, so it works while you are still building, and it is the safe way to try the first half of a workflow whose second half sends things.

Test runs execute for real

Only the trigger is simulated. Every node that runs in a test run does its job — messages are sent, records are written, agents spend tokens — unless the node is served from a pinned fixture (see below).

Whether a run can start depends on the editor's mode:

  • Edit — everything above applies: unsaved changes are saved, then the run executes the saved draft.
  • Read-only — runs are off. Run, Run with input, Test with sample data, Run to here and Re-run from here stay in place, switched off, and say why: Runs are off in Read-only. Switch to Debug or Edit. A person with view access, who has no other mode to switch to, reads You can view this workflow but not change or run it.
  • Debug — runs are allowed, and nothing can change the workflow. A run executes the saved version you have on screen, and Run says which when you point at it: Runs version 5, the saved version on screen. It is that version even when a newer draft has been saved somewhere else since you opened the workflow — by another person, in another tab or through the API. No unsaved change is left behind: a change made in Edit is saved before the editor enters Debug, and when that save fails the editor stays in Edit. Debug adds no run controls of its own; runs start from the same places as in Edit, and they execute for real in the same way.

While the run is still moving, a Cancel button sits next to the status chip and turns into Cancelling… once pressed. Cancelling stops further scheduling; steps already running are cancelled with a short grace period, and a run that is only parked on a wait stops immediately. The run settles as Cancelled. No mode switches Cancel off: it is there in Read-only too, for everyone who is allowed to stop the workflow's runs. A person who is not, such as a viewer of the project, does not get the button.

A run cannot start from a draft that is not saved. If the draft changed somewhere else while you were editing, the attempt is refused with The draft changed elsewhere — resolve the version conflict first. — reload the editor, redo your edit, then run. If the draft itself could not be saved, you get Saving the draft failed — fix the save error and try again. See Building a workflow.

The run panel

The panel opens collapsed — just its row of controls — so the canvas keeps the room until you need it. Expand panel opens it and Collapse panel folds it again; drag its top edge to make it taller. Your browser remembers both. With nothing attached, the open panel reads No execution attached — run the workflow or pick a recent execution. The icon beside the controls (Open execution page) takes the attached run to its own full-height page.

On the right sit the workflow's three most recent executions, each showing its mode and when it started, colored by outcome, with All runs to open the complete list. Click one to attach the panel to it — the steps, the timeline and the canvas badges all switch to that run, whether it finished a minute ago or last week.

Attaching shows Loading execution…, and a run that cannot be read says Couldn't load this execution. While a live run streams, a brief network problem shows Reconnecting… and a lasting one Live stream disconnected; Crios catches the log back up on its own once the connection returns, and tells you when even that fails — Live stream fell behind and the catch-up failed — retrying automatically.

Per-node status on the canvas

While a run is attached, each node wears a badge that updates as the run moves.

Badge What it means
Queued Scheduled, not started yet
Running Executing right now
Waiting Parked on a wait — shown as Timer, Signal, Approval or Message when the kind is known
Retry #2 The attempt failed and the next one is scheduled
Done Finished, with no item count to report — a step that resumed from a wait, for example
12 items Finished, and this is how many items came out
0 items Finished and returned nothing; a step fed only by it is skipped
0 items (pinned) Finished with an empty result served from a pinned fixture — the node itself was not called
Failed The step failed and nothing caught it
Skipped Did not run — the step's row in the run panel says why
Cancelled Cancelled along with the execution

A small icon beside the badge means the step left a note. An information icon is a hint: why the result is empty or not what you might expect, such as No messages matched this search. A warning triangle is something to fix before it starts failing. Hover the icon to read the note. A hint can sit on a step that still passed an item on — some nodes hand their input through even when their own search found nothing — so when a later step misbehaves, look for a hint upstream of it.

A wire that carried no items in the attached run is drawn dashed and faded. In a loop, a wire stays solid if any pass sent items along it.

An AI agent's card uses the agent's own words instead: Queued, Working, Needs input (it is waiting — on an approval, for example), Done, Canceled or Failed. It also counts its turns and cost as it works, and a Memory node shows how many reads and writes it served. Badges, notes and dashed wires belong to the attached run, so picking a different execution repaints them and detaching clears them.

The panel and the canvas share one focus: select a step and its node is ringed on the canvas, and the other way round. The ring is not an edit selection, so reading a run never puts you one keystroke away from deleting a node.

Steps, Activity and Timeline

The panel has up to three tabs over the same run.

Steps is the readable one: every step in the order it happened, with its status, the node's name, how long it took and how many items it produced. A step that returned nothing reads 0 items, and a skipped step says why — Skipped: Read inbox returned 0 items., Skipped: Is urgent sent no items down this branch. or Skipped: the run was set to stop before this step. A step that left a note carries the same icon as its node on the canvas. A step inside a loop or another container carries its position as iter 0.2, and the container step itself is marked container. A step that needed more than one attempt shows ×3; one still backing off shows its countdown as retry in 00:12. Steps whose results were reused rather than re-executed are marked cached ✓, and the panel header totals them as 3 cached steps. A step served from a pinned fixture is marked fixture 📌, and one that ran a superseded node type deprecated ⚠. An agent's inner steps fold under it, with a toggle to show or hide them, and each is named by what it is: Model turn, the name of the tool it called, Approval, Budget approval, Guardrail or Memory. Before anything has run, the tab reads No steps yet.

Activity appears when the run has an AI agent in it. It reads the same steps as a conversation — Model turn, Tool call, Delegated, Approval (budget approvals included), Guardrail and Memory — with the cost of each turn, which is the useful shape for following what an agent did. Each row names the agent it belongs to, a tool call shows the tool's name, and a hand-off reads Delegated to …, with the delegate's own rows indented under it. A row that is still waiting says what for, such as waiting for approval. Where agents message each other, Message sent, Message received, Awaiting a message and No reply in time appear too.

Timeline is the raw event log — sequence number, timestamp, event type and a compact payload, exactly as the run recorded it. Auto-follow keeps it pinned to the newest line; turn it off to read back without being dragged forward. The panel holds the most recent 2,000 events and says so when it has dropped older ones: 1,400 older events trimmed from the log. The trimming is in the panel, not in the record, but reattaching to the run keeps only the newest 2,000 again. To step through a finished run from its first event, use Replay.

Replaying a finished run

Once a run has finished, Replay steps back through it event by event. Drag the Replay position slider, or use Previous event and Next event; the position reads, for example, 12 of 48, with the event at that point — step started, step finished, retry scheduled, waiting, wait resolved. The canvas badges, the Steps list, Activity and the item counts all move together, so you see the run as it stood at that moment. Exit replay returns to the end of the run. Replay only reads; it changes nothing.

Step detail

Click a step to open its detail drawer. Every attempt is listed newest first as Attempt 3, Attempt 2, Attempt 1, each with its own status, duration, Items, Tokens in/out and Cost, so you can see a step get slower or more expensive across retries. A failed attempt shows its error class, message and any structured details. Output is broken down per output port with an item count and the items themselves.

  • Large outputs — an output too big to inline appears as a chip like Artifact 3f9a1c02… · 2.4 MB instead of the document.
  • Long outputs — the drawer renders the first stretch and says Output truncated for display — the full document stays on the server.
  • Container steps — have no per-attempt rows of their own: No projection rows — a journal-only (container) step.
  • Reused steps — say where the result came from: Reused from execution 8c41ba90… — not re-executed in this run.
  • Pinned steps — say so: Served from this node's pinned fixture — the node was not called in this run. A step served by one of an agent's tool pins names that pin instead.
  • Skipped steps — repeat the reason from the row.
  • Notes — every hint and warning the step left, in full, with ×3 beside one the attempt recorded three times.

Two actions sit at the bottom of the drawer:

  • Pin as fixture — Pin this output as the node's test fixture (saved with the draft). Unavailable for spilled artifacts and empty outputs, which say so: Only inline outputs can be pinned (spilled artifacts and empty outputs can't). A pin is saved with the draft, so pinning works in Edit only: in Read-only and Debug the button is switched off, and in the editor it says Pins change in Edit. Switch to Edit to pin or remove a fixture.
  • Re-run from here — Partial run: reuse this execution's results and re-run from this node. Available only once the reference run has settled; on a live run the button is disabled with Available once the execution has finished, and forcing it answers Partial re-runs need a finished execution as reference. On one of an agent's model turns or tool calls it re-runs the whole agent node — and everything after it — because a single turn can't be replayed on its own. Like Run, it saves your unsaved edits first, so the re-run uses the draft as you see it. It follows the editor's mode like every way to start a run: it is off in Read-only, and started from the editor in Debug it runs the saved version on screen. On the execution page, the new run opens on its own page, and the run you re-ran is one Back away.

View data and Re-run from here are also in the node's right-click menu on the canvas, so you don't have to find the step in the list first. View data opens the run panel if it is collapsed.

Pinned fixtures

Pinning takes a step's latest output and stores it on the draft as that node's test fixture. A test run then honors it, and so does Re-run from here for each node it runs again — the node is not executed at all, the fixture is its output. That is what makes the edit-run-edit loop fast when the node you are debugging sits behind a slow API call or an expensive model. You can also pin from a node's Data tab, under Last run sample.

For an AI agent, what is worth freezing is what one of its tools answered, so a tool call's output pins under the agent, one pin per tool. A node's card shows how many pins it carries — 1 pin, 3 pins — and the steps they serve are marked fixture 📌 in the run.

A workflow with fixtures shows a 2 fixtures chip in the panel header. Open it for the Pinned fixtures list — one row per pin with its item count and a Remove fixture action. Pinning and unpinning confirm with Output pinned as test fixture. and Fixture removed.

Pinning and removing a pin both change the draft, so they work in Edit only. In Read-only and Debug the chip and the list still open for reading, while Pin as fixture, in the step drawer and on the Data tab, and Remove fixture are switched off. In the editor each says Pins change in Edit. Switch to Edit to pin or remove a fixture. A pin or a removal pressed just as the editor is leaving Edit is not written: do it again once you are back in Edit. A run started in Debug honors the fixtures the workflow already has.

Fixtures are saved with the workflow document, which means they version with it and show up in the version diff under Test fixtures. A finished run reports how many it used as a 2 fixtures used chip.

Fixtures never apply to production runs

Test runs and Re-run from here honor a pinned fixture, also when you re-run from a step of a production run. A production run always executes the node — so a workflow passing with fixtures is not yet proof that it passes without them. Remove the fixtures and run once more before you publish.

Interacting with a waiting run

A parked step expands in the Steps list with whatever you need to move it along.

  • Timer — counts down in place: Waiting — wakes in 04:12, then Waiting — waking up… when it is due. There is nothing to do but wait.
  • Signal — reads Waiting for signal next to the signal's name, with a box for an optional payload ({ } optional JSON payload) and a Send signal button. The payload has to parse: anything else is rejected in place with Payload must be valid JSON. A delivered signal confirms with Signal "order.paid" sent.
  • Approval — reads Waiting for approval with one chip that opens the approvals inbox. It names the approval, such as Approval 3f9a1c02…, or reads Open approvals inbox when it has none to name. See Human approvals for who can decide and what happens next.
  • Message — reads Waiting for a message: the step waits for an agent's message, such as the reply to one it sent, and moves on when the message arrives or when its wait times out.

Once a wait resolves, its step shows what it resumed with — a signal's payload, an approval's outcome — and any later step can read that by the node's name, not only the step right after it.

Sending a signal moves a run on, so it follows the editor's mode. In Read-only the payload box and Send signal are switched off and say why, for example Signals are off in Read-only. Switch to Debug or Edit.; in Debug and Edit they work. Cancel is never switched off by a mode: whoever is allowed to stop the workflow's runs can cancel a waiting run in Read-only too. The approvals inbox does not follow the mode. An approval can be decided there while the workflow is in Read-only in this browser, and the same goes for a Redrive from Dead letters.

A step can also be paused rather than parked: when one of the spend caps on the workflow, its project or an agent is reached and set to pause, the step reads, for example, workflow hourly budget reached, resumes in 12:00, and continues on its own when the window opens again.

When things fail

Not every failure is the same, and Crios treats them differently.

Class What it is Retried
Bad input Wrong parameters, or data the node cannot use Never
Transient A network failure, a timeout, a rate limit Yes
Internal A bug inside the node itself Never

An error that arrives unclassified counts as transient — trying again is worth the attempt. A node whose setup is unfinished fails at once and is never retried: no retry would fill it in.

Some nodes never retry a write that may already have happened. When a step sends, posts or creates something on Gmail, Google Sheets, Google Drive, Google Calendar, Google Docs, Google Slides, Google Tasks, Twitter / X, GitHub, Jira, Slack, Telegram, TikTok, Instagram or Facebook Pages, and the request went out but came back with a server error, a timeout, a broken connection or an answer that could not be read, the step fails at once rather than risk doing it twice. Its error says what to check on the service before you run the step again. A request that never left — the address did not resolve, the connection was refused or blocked — is retried as usual, and a refusal the service answered, such as a rate limit, follows the usual rules. Stripe writes carry an idempotency key, so they are retried safely unless Stripe answers that a request must not be retried. Other nodes that write retry like any failed step, so the write can happen twice: LinkedIn, Reddit, Discord and Microsoft Teams by default, and HTTP Request once Retry on fail is on.

A step whose worker stops under it is picked up again by another worker. A step that takes its worker down every time is picked up at most three times; the next time it fails with a crash error that no retry setting retries, and On error and Dead letters handle it like any other failure.

What a retry looks like while it happens

Nothing sleeps between attempts: the failed step is parked and picked back up when its delay is due, so a workflow waiting to retry costs nothing. While it waits, the node wears a Retry #2 badge on the canvas and the step shows its countdown in the Steps list as retry in 00:12; once the run settles, a step that needed several attempts is marked ×3 and the drawer lists each attempt separately, newest first.

Which failures retry, how many times and how long the delay grows are all set per node under Reliability on the inspector's Settings tab. See Building a workflow for that table and the rest of the node settings.

Routing errors instead of failing

On error decides what a failing step does to the rest of the run: stop the workflow, append an error item to the normal output, or emit it on the node's own error output. Wire that error output into its own branch to notify someone, write the failure somewhere, or fall back to another route — that branch is what turns a failed run into a handled one. The three modes, their defaults and how they interact with retries are in Building a workflow. To handle failures of many workflows in one place, use an Error trigger — see Triggers.

How a run ends

Status What happened
Succeeded Every scheduled step finished — including a Run to here that stopped where you asked
Failed A step failed with retries exhausted and no error route
Timed out The run exceeded the workflow's execution timeout — 1 hour by default; a workflow's settings can raise it to at most 24 hours. Only time spent working counts: while the run waits on an approval, a delay, a signal or a form, the clock is stopped
Cancelled Someone cancelled it
Crashed Reserved for a run whose record could not be replayed. An ordinary worker interruption is not one — another worker picks the run up and continues it

Before a run reaches one of those it shows as Pending, Running or Waiting.

A run that fails while another of its branches is parked on an approval, a signal or a delay ends Failed at once instead of waiting on that branch, and its pending approval is cancelled.

A workflow's executions

Executions — All runs in the run panel, or the More actions menu of the workflow's row in the Workflows list — lists the workflow's runs, newest first: Started, Status, Mode, Trigger, Version and Duration, 100 to a page with a pager below, and Refresh to reload. Trigger says in words what started the run — Manual, Webhook, Schedule and so on. A re-run from a step or a redrive shows the trigger of the run it started from; its Mode, Partial or Retry, is what sets it apart. A workflow that never ran reads No executions yet / This workflow has not run. Press Run in the editor, or publish it and wait for its trigger to fire.

Runs can be found by the data they carry. An Execution Data node in the workflow tags its run with key/value pairs — an order id, a customer, a priority — and the two boxes above the list, Data key (e.g. orderId) and Value (optional), filter the runs by them. Nothing matching reads No executions carry this data.

The execution page

Every run also has a page of its own, which the run panel's Open execution page control and every row of the executions list lead to. Its breadcrumb leads back to the workflow. It shows the same run detail as the panel with more room, under the run's identity: Status, Mode, Version, Trigger, Created, Started and Finished. An agent's own run — one from its chat, for example — is titled with the agent's name and version, such as Agent run · Support triage v3, and its breadcrumb leads back to the agent instead. The page is the link to send when you want someone else looking at exactly the run you have open.

The page has no mode switch, but it follows the mode this browser holds the workflow in. While that mode is Read-only or Debug, a banner says so:

  • This workflow is Read-only in this browser — Re-run from here, Pin as fixture and Send signal are off on this page. Cancelling a run still works.
  • This workflow is in Debug in this browser — Pin as fixture is off on this page. Re-run from here starts a real run.

A control that is switched off here says where the switch is, for example Pins change in Edit. Open the workflow and switch to Edit. Open the workflow in the banner opens the editor. The link does not change the mode: the editor opens in the one last used for the workflow.

The editor shows the workflow's current draft. It cannot show the canvas as it was in the version a run used; the run's Version says which version that was, and Version history compares it with any other.

Which version Re-run from here executes on this page depends on how you reached it. Opened on its own, from a link or a bookmark, the page has no canvas to take a version from, and the re-run executes the workflow's newest saved draft, in Debug as in Edit. Reached from the editor in the same tab, with the workflow in Debug, the re-run executes the saved version the editor had on screen.

On an agent's own run, Pin as fixture and Re-run from here are switched off with Not available here: the workflow of this run cannot be opened. The same happens on any run whose workflow the page could not load, or may no longer read. If the workflow is in Read-only in this browser, the Read-only banner and its Open the workflow link are shown then too, because sending a signal is off as well. A passing network error does not switch anything off while the page still has the workflow on screen, or when you reached the page from the workflow's editor in the same tab.

Dead letters

A step that exhausts its retries with no error route does two things: it fails the execution, and it is written to the dead-letter queue so the failure is not just lost in a run you never look at again. A node whose On error is Stop workflow counts as having no error route even when an error-output edge leaves it, since only Continue (error output) takes that edge. Runs you start from the editor — test runs, Re-run from here, and retries of those — never reach the queue: you are already looking at them.

Workflows → Dead letters lists them across every project you can reach. Columns are Workflow, Project, Execution, Step, Error, Created and Status, with an All workflows filter above. When nothing has failed that badly, the page reads Queue is empty / No execution has been dead-lettered.

Click a row for the Dead letter drawer: the failing node, how many attempts were recorded, the full Error with its details, and the Input references the step was working from. Where the source run has been pruned, the drawer says Step detail is unavailable (the source execution may have been pruned) and the row shows Pruned execution instead of links.

Each entry offers:

  • Redrive — re-runs the workflow from the failed step, reusing the earlier run's upstream results, like Re-run from here in the builder, but on the version the failed run used and without pinned fixtures. It confirms with Redrive started. and offers a jump to the new run.
  • View run — on an entry that has been redriven, opens the redriven execution. The execution the entry came from is the link under Execution.
  • Delete — removes the entry from the queue.

An entry can only be redriven once. It carries a Redriven badge afterwards, and a second attempt answers This entry was already redriven.

To clear the queue in bulk, tick entries and use Delete selected (3), or Delete all. Both ask first, and both are permanent. Delete all empties the queue in every project you can edit — or only the chosen workflow's entries, when the All workflows filter is narrowed to one. Users with the viewer role see the queue but cannot redrive or delete.

The queue does not follow the editor's mode: an entry can be redriven or deleted while its workflow is in Read-only in this browser.

Fix the cause, then redrive

A redrive re-runs the same pinned version with the same inputs, so redriving before you have changed anything reproduces the same failure. Fix the credential, the endpoint or the data first.

A debugging playbook

  1. Reproduce it in the editor. Run is cheap, Run with input lets you feed the exact payload that failed, and Run to here stops before anything you don't want to send again. On a workflow you only mean to run, switch the editor to Debug first, so that nothing on the canvas can change while you look.
  2. Open the failing step and read the last attempt's error — the earlier ones are usually the same thing happening again. On a finished run, Replay shows what the rest of the graph looked like at that moment.
  3. Pin the last known-good upstream output with Pin as fixture, so the slow or expensive part of the graph stops re-running while you work. Pinning changes the draft, so it needs Edit, as does the fix itself.
  4. Fix the node. Where the problem is in the data rather than the connection, check the expression against the item the drawer is showing you.
  5. Use Re-run from here on the fixed node instead of running the whole thing again — it reuses everything upstream.
  6. Open the canvas Problems panel and clear whatever it lists. Publishing validates the version anyway and refuses one with blocking problems.
  7. Remove the fixtures, run once clean, then publish. See Publishing & versions.