Runs & execution
A run is one execution instance of a workflow. This page covers what happens after it starts: the statuses a run moves through, how to pause, stop, cancel, or reactivate it, how signals and approvals hold back the steps after them, how to re-run a step, and how to read the run panel.
What a run is
Every execution belongs to a run, identified by a run id and listed in the workflow's run history. Because every trigger type is reusable, a run usually lives for a long time: each time a trigger fires, the same run executes the graph again. The app numbers each of these fires and shows it as Run 3, for example, with All runs to see them together (the API and the agent tools call a fire an epoch). The run's start time is when it was created; each fire has its own start time, and the most recent one is the run's last fire.
Which run a fire lands in
| Fire | Run it lands in |
|---|---|
| From the editor | The live run of the same version, when it exists and is compatible. A new run is created only for a new version or when no live run exists. |
| From production (webhook, schedule, table, chain, public chat or form) | The production run of the pinned version. See Triggers. |
| Error trigger | The handler workflow’s newest live run. |
Run statuses
A run is always in exactly one of 11 statuses: 5 non-terminal (active or idle) and 6 terminal (finished).
| Status | Terminal? | Meaning |
|---|---|---|
| PENDING | No | Created, not started yet. |
| RUNNING | No | Actively executing. |
| PAUSED | No | Paused by a user. The only status that can be resumed. |
| AWAITING_SIGNAL | No | A node is waiting on a signal, such as an approval (see below). |
| WAITING_TRIGGER | No | Idle between two fires of a reusable trigger. |
| COMPLETED | Yes | Finished successfully. The only status counted as a success. |
| PARTIAL_SUCCESS | Yes | A node verdict (some items failed). Runs no longer end with it; older runs may still carry it. |
| SKIPPED | Yes | Finished with the relevant path skipped. |
| FAILED | Yes | Finished with a failure. |
| CANCELLED | Yes | Stopped permanently by a user or an agent. |
| TIMEOUT | Yes | Ended on a time limit. Counted as a failure. |
Only COMPLETED counts as a success, and only FAILED, CANCELLED, and TIMEOUT count as a failure. PARTIAL_SUCCESS and SKIPPED are terminal but count as neither.
A fire that stalls
A run that stays executing with no progress for about two hours (a step cut off by a server restart, for example) is stopped by the platform. A production run, or the run of an application, is never ended that way: its stalled fire is closed and counted as failed (the notification bell and any Error trigger hear about it), and the run goes back to WAITING_TRIGGER, so its schedules, webhooks and forms fire again on their next call. Any other run is marked FAILED.
Fires and spawns
Two different things can make part of a run happen again, and they are tracked separately:
- Fire: a new trigger fire, shown in the app as Run N. The number starts at 0 (before the first fire) and goes up by one on each fire. Each fire's results stay browsable on their own.
- Spawn: a re-execution within a fire, produced by re-running a step (see below). Re-running raises the spawn, never the fire number.
Node counts shown for the whole run (All runs) are cumulative across every fire and every spawn: re-running a step never lowers what already happened.
Execution modes
| Mode | How it runs |
|---|---|
| Automatic (default) | Every ready node executes as soon as its predecessors are resolved. |
| Step-by-step | Execution stops after each node. You advance every node by hand, including control nodes like Decision. |
In Step-by-step mode, triggers are never executed for you: they still fire on their own. After a re-run in Step-by-step mode, the run goes back to PAUSED if non-trigger nodes are still ready, or to WAITING_TRIGGER if only triggers remain. For how nodes, ports, and branching behave, see Workflows.
Run controls
Five actions control a run's lifecycle. They act on runs in your current workspace: in an organization, members can act on the organization's runs.
| Action | What it does | Works from | Resulting status |
|---|---|---|---|
| Pause | Stops execution where it stands and suspends the workflow’s schedules. | An active run | PAUSED |
| Resume | Continues from where the run paused. Completes the run if every step has already settled. Does not turn back on the schedules Pause suspended. | PAUSED only | RUNNING, then a terminal status once finished |
| Stop | A graceful stop: closes the running fire, cancels its pending signals, and returns the run to idle. Triggers stay armed. | RUNNING, PAUSED | WAITING_TRIGGER |
| Cancel | A hard, terminal stop: cancels active signals, closes every open fire for good, and suspends the workflow’s schedules. | RUNNING, PAUSED, WAITING_TRIGGER, AWAITING_SIGNAL | CANCELLED |
| Reactivate | Revives a finished run so its triggers can fire again, and re-enables the schedules a cancel or pause suspended (while the workflow is pinned). | Any terminal status | WAITING_TRIGGER |
- Stop is refused on a run that is
PENDING,WAITING_TRIGGER, orAWAITING_SIGNAL. On a run that already finished it only cleans up, with no status change and no error. - Cancel is the one action that reaches a run parked on a signal. Cancelling a run that is already cancelled does nothing.
- Reactivate works from every terminal status, including a failed or timed-out run.
A Stop or Cancel records who stopped the run and why. An agent can stop a run too: a graceful stop only closes the running fire, while a cancel is terminal and suspends the schedules, exactly like the buttons.
Signals and waiting nodes
A node can wait by yielding a signal. Only the nodes after it wait with it: the branches that do not depend on it keep running, and the run finishes once every branch is done. There are six signal types:
| Signal | Holds back the nodes after it? | Resolved by |
|---|---|---|
| WAIT_TIMER | Yes | Time passing (a Wait node’s duration expiring). See the note below. |
| USER_APPROVAL | Yes | A person approving or rejecting, or the approval timing out. |
| WEBHOOK_WAIT | Yes | An external HTTP callback arriving. |
| INTERFACE_SIGNAL | Only when its action is set to advance the run | A user action on an interface page. Otherwise the page displays without holding anything. |
| AGENT_EXECUTION | Yes (internal) | An agent step running in the background finishing on its own. Not a user-facing pause. |
| BROWSER_USER_TAKEOVER | Yes | A person taking over a live browser session. |
Resolving approvals
A USER_APPROVAL signal is resolved one at a time or in bulk. When the node has a context template, the approver sees the rendered context next to the request.
| Action | What it does |
|---|---|
| Resolve one | Sets one pending approval to approved, rejected, timeout, or cancelled, with an optional comment and extra data. When a node has several pending signals (for example one per item inside a Split), you can target an exact item; otherwise the latest fire’s signal is resolved, so you never resolve a stale one by accident. |
| Resolve all | Resolves every pending approval of a node at once with the resolution you choose (approved or rejected), either within one fire or across every fire. |
| Cancel | Cancels every pending signal on that node across the whole run. |
Approvals can also be answered from a linked chat channel (Slack, Microsoft Teams, Discord, Telegram, or WhatsApp). See Chat channels.
An approval from another version
A run keeps waiting on its approvals after production moves to another version, and approving one resumes that run's own plan, not the production one. So when the run is not on the version in production, every place that asks for the decision says so: the approval rows of the notification bell and of Needs you, the review window (opened from them, a board card, the run panel or the workflow page), the review bar and the approval node on the canvas, the application's action bar, chat run cards, and the message sent to a chat channel, which starts with it. It reads, for example, “This request comes from v3. Production is now on v6.” (in short, From v3, production on v6).
A test is never flagged: a run started from the editor, or a replay, on a version newer than production. A replay of an older version is flagged like any other run. When you no longer want an old request, reject it, or cancel its run. Messages already sent to a chat channel before production moved are not edited.
Re-running a step
You can re-run a step that completed, failed, is awaiting a signal, or is ready, optionally editing its configuration first. On the canvas, use Re-run from this step (Step-by-step) or Restart from this step (the rest runs again automatically) (Automatic). Re-running:
- Raises the fire's spawn, not the fire number.
- Resets that step and everything downstream of it, then makes them ready again.
- In Automatic mode, lets the ready steps continue on their own (like a normal run, the replay goes past a step that waits, such as an approval: only the steps after it wait for it); in Step-by-step mode, returns the run to
PAUSED(orWAITING_TRIGGERif the fire is done) for you to advance.
Re-running an older fire
By default the most recent fire is replayed. When an older one is on screen in the canvas (Run 3, for example), the re-run replays that fire instead, and its new spawn starts above that fire's own highest spawn. Replaying a chosen fire is not available on a Step-by-step run, and it is refused while other fires of the same trigger are still executing.
When a re-run is refused
- The step is still executing on an Automatic run. Wait for it to settle, or stop the run.
- The run was
CANCELLEDor endedTIMEOUT. Fire the workflow again instead. - The edit changes the graph's topology (adding or removing nodes, rewiring edges). Edits at re-run time are limited to parameters, prompts, and configuration.
- The step's branch was not taken in the chosen fire, so there is nothing to redo.
Every attempt at a step is kept, with its fire number, status, start and end time, and error, so you can compare re-runs.
The run panel
A workflow's runs are listed in a paged history, most recent first. The pinned production run is always pulled to the top. Each row shows:
- the status, as an icon and a label;
- the version it ran, and a Production marker (pin icon) on the production run only: the run the schedule and the other production triggers fire. Another run of the same version is a test run;
- the current fire number (calendar icon), once the run has fired at least once;
- a Step-by-step marker, and a flask marker for a Mock run (a dry run with mocked integrations);
- when it last fired, as a relative time;
- how long its last execution took, measured from the first node start to the last node end of the latest fire, so the idle time between fires is not counted.
Hover a row to see its run id, creation time, and last fire time. Inside a run, the version chip (v3) of the Details, Analysis and Logs views opens this history in one click, to switch to a run of another version. Each fire records the version it ran, shown when you hover it in the fire picker and in the Agenda.
| Status | Color |
|---|---|
| Completed | Emerald |
| Running | Blue, with a pulse |
| Failed | Red |
| Waiting for trigger, Paused, Pending, Partial Success | Amber |
| Awaiting signal | Violet |
| Timeout | Orange |
| Cancelled, Stopped, Skipped | Gray |
Last-cycle result
Between fires, a reusable run sits at WAITING_TRIGGER, but the history shows something more useful: the outcome of its last cycle.
| The last fire had | The row shows |
|---|---|
| A failed step (even with other steps completed) | failed |
| Every step completed | completed |
| No steps that cycle | the idle status |
Cancelling a run clears this result, so a cancelled run always shows Cancelled.
The run bar and its fire timeline
In runs mode, the bar at the top of the canvas, next to the Edition / Runs toggle, shows the run on screen: its status, version and step counts, its controls, and the fire on screen. Its arrows (Previous run, Next run) step to the previous or next fire of this run. Its fire chip unfolds a timeline (open by default from 2 fires):
- The timeline shows the latest 30 fires, one bar each, sized by how long the fire took and coloured by its outcome. Hover, drag across, or step with the arrow keys over a bar to see the fire's number, outcome, start, end and duration; click it to open that fire. Next failed run jumps to the next fire that failed.
- A run with more fires adds an overview strip of the whole run, with a frame for the 30 fires shown. Drag the frame, click outside it to move there, or use the mouse wheel or the keyboard. It follows the latest fires until you move it. Each block of the overview takes the outcome most of its fires had, with a red mark sized by its failures.
Steps, timeline, and cost
Opening a run shows its graph in run mode, each node and edge colored by its status, with a picker of its fires: view one past fire frozen in time (Run 3), or switch back to All runs. The steps panel lists every step and switches between List view and Timeline view, which draws one bar per step sized by how long it took. Its status filter keeps All, completed, failed, running, awaiting signal, or skipped steps.
On All runs, the counts for finished steps (completed, failed, skipped) are cumulative, so a re-run never makes them go backwards, while running and awaiting-signal counts stay live.
The panel also shows the run's agent cost, for the selected fire or, on All runs, across every fire. That figure is what its agents' models used (sub-agents and browser agents included): tool fees, paid integrations and generation are billed separately and are not in it. When the workflow has a spending cap, which counts that same agent spend, a gauge shows what it has spent toward it (this period, or in total for a cap that never resets). Once the cap is reached, the run shows Budget reached, no new run will start: the run stays in WAITING_TRIGGER and runs no new fire until the allowance starts again (or until you raise the cap, for a cap that never resets). Test fires from the builder are not counted; runs of an application are. When the application and the builder share one run, it counts while the application was the last to open it, and becomes a free test run again once you press Run in the builder. A fire already in progress is never interrupted by the cap. Once the spend recorded so far reaches it, no new agent, classify or guardrail node starts in that fire, an agent still waiting in the queue included. A browser agent node is not checked: it still starts, and its spend still counts. The spend of an agent is recorded when it finishes, so agents that started before that point (for example the other items of a split) still run, and the total can end above the cap. See Plans & billing.
Beside it, Total is everything the run cost, for the same scope: the AI models (an agent on your own provider key is counted at the fee debited from your balance, not at what its model used, which your provider bills you directly; the agent cost beside it, and the spending cap, still count that model use, so on such a run the Total can be lower than the agent cost), the fee of each step that ran, paid integrations, generations (what the run's Generate steps produced; a generation an agent makes with its own tool is counted with paid integrations) and the tools its agents called (web search, web fetch, sandbox). Its i lists those parts; paid calls reserved and not settled yet are shown apart and are not in the total. Each step of the list shows its own cost on its row, with an i when its agent ran on your own key. A sub-workflow is counted on its own run, not on the run that started it. When another fire of the same run overlapped the one selected, the figure reads ≈: a paid integration call records no fire, so it is placed by time. Beside the total, Est. is what one run of the version the fire ran is expected to cost (the latest fire's version when no fire is selected), as that version is saved now (one pass of its steps at today's prices; viewed by someone other than the workflow's owner, AI turns at the platform's price); its i says what the estimate leaves out. On a self-hosted install, where credits are not metered, there is no Total: the agent cost stays, and each step shows what its AI models used.
The workflow and application cards show what the workflow has cost since it was created: every run, test fires included, with the same parts as Total, never reset. It is abbreviated (2.5K, 2.5M) and its i gives the exact figure. It is usually counted within half an hour of the spend. When a spending cap is set, its gauge follows, for the period the cap counts. On a self-hosted install, which meters no step fee nor paid integration, it is what the AI models cost.
Analysis
The run panel's Run entry has three views: Details (the steps above), Analysis (trends, failures and comparison of runs) and Logs (inputs and outputs of each node). Analysis reads the latest fires of the run, 60 by default (Last 30, Last 60 or Last 200):
- Key figures: how many Runs, the Success rate, the Average duration (with the longest), and the Cost per run: everything each fire cost, as Total counts it (AI models, step fees, paid integrations, generations, agent tools). While that figure cannot be read, what the agents' models used is shown instead, named Agent cost.
- Findings in plain words, such as a node that failed in 4 of 30 runs with its last error, or a node that got slower from a given run.
- Duration and cost per run: a chart with one bar per fire; hover a bar for its dates, duration and cost (≈ when another fire ran at the same time, as on the Total).
- Cost per step: what each step actually cost over the fires shown, largest first, with their total. Past the twelfth step the rest is summed on one line, and what no single step can claim (a paid integration several steps share) is listed apart.
- Nodes by run: a grid of every node against every fire, coloured by status or by duration (Color by).
- Compare two runs: pick a reference run and a compared run (click a bar or a cell, or choose both in the table header) to see each node side by side. Click a node's label to select it on the canvas.
Logs
Logs lists every time a node ran, with what went in and what came out. The Simple view reads one pass at a time; the Table view puts every pass of the node in one table, filtered by fire (Run 3, or All runs) and status. Click an input or an output cell to open that field as a table: it lists the field for every pass loaded in the table, one row per element. Use the breadcrumb to come back.
These are the logs of one run. Who created, changed or deleted a workflow, a table or another resource of the workspace is on another page: see Workspace logs.
The ID comes first and already says where a row comes from. The status, input, and output follow, then Run (the fire number), Spawn, and Iteration one per column, to filter and sort on. They stay visible inside an opened field too: each element keeps the coordinates of the pass it came from, so a value you drilled into never loses its origin.
The ID is those coordinates written together, run.spawn.iteration.item, with trailing zeros left out. Each number is the value of its own column, and they all count from 0. Because it describes the row itself, the ID never changes when you filter, scroll to older rows, or when new passes arrive. Hover or tap the info icon next to the ID header for a reminder.
| ID | Means |
|---|---|
21 | Run 21, first pass. |
20.1 | Run 20, spawn 1: the step was re-run. |
20.0.2 | Run 20, loop iteration 2. |
20.0.0.3 | Run 20, the item at index 3 of a Split. |
21:3 | Inside an opened field: the element at index 3 of the list from row 21. |
An ID is not unique. A node that waits and then completes writes two rows at the same coordinates, and a node reached from two different triggers can show the same ID for both. Use the status and the times to tell them apart. An element that carries its own id field (a table row, for example) shows that value instead, and an opened field that is a single value (not a list) shows the ID of its pass.
A node's run data in the inspector
In runs mode, clicking a node opens its inspector on what it received and produced in the fire on screen. A value can be read as Tree, Raw JSON or Table, copied, or, for a file, viewed and downloaded. A value marked Unresolved is an expression that reached the node without being replaced: hover the mark to see why. While the node runs or waits on a signal, the inspector says so and shows the values it was launched with.
A node that ran several times in the fire (once per Split item, once per loop pass) has arrows to move between its items and a filter that carries the counts: Items (N) by default (skipped items hidden), All, skipped included (N), then one entry per status with its count.
Troubleshooting
| Symptom | What to check |
|---|---|
| Stop is refused | The run is idle or waiting on a signal. Use Cancel to end a run parked on a signal. |
| Schedules stopped after I cancelled a run | Cancel suspends schedules. Reactivate the run to re-enable them. |
| My schedule stopped after Pause then Resume | Pause suspends the workflow’s schedules and Resume does not turn them back on. Reactivate works only on a finished run, so set the version as production again (remove it from production, then set it again), or Cancel the run and Reactivate it. |
| Re-run is refused | The step is still executing, the run was cancelled or timed out, or the edit changes the topology. |
| The duration looks short for a run that lives for days | It is the last execution’s working time, not the run’s lifetime. |
| A trigger fires but no new run appears | Look for a reached spending cap on the run, or CREDIT_EXHAUSTED on the trigger node. |
| Two rows in Logs have the same ID | Expected: a wait and its completion, or two triggers, can share coordinates. Compare the status and the times. |
| An approval says it comes from another version | The run started on that version before production moved (back or forward). Approving resumes the old plan; reject the request, or cancel the run, if you no longer want it. |
| A production run shows a failed fire nobody stopped | The fire stalled for about two hours and was closed by the platform. The run went back to waiting, so the next fire runs normally. |