Runs & debugging
Every time a flow is triggered (manually, by a cron tick, or by a webhook) Publicus records the run: which nodes executed, what each one received and produced, and any errors along the way. The run report is a structured render of that record, and while a run is still going it updates live.
Where to find a run
Section titled “Where to find a run”There are two places to find a run:
-
Per flow — open a flow and show its Runs panel beside the canvas, which lists that flow’s 20 latest runs, newest first, with each run’s status, the node it reached, what started it and which version it ran. All runs at the top of the panel opens Runs narrowed to that flow, and so does the count in a flow’s Runs column on the flows list.
-
Globally — Runs, under Operations in the sidebar, shows every run across every flow, with filters for status, flow, date range, and free-text search.


An agent’s reply to a chat message is a run too. Its Triggered by says
where the message was written (Slack, Telegram, Chat for the chat in
Publicus, Portal for a portal’s chat block) and the title of its
conversation, or the agent’s name when the conversation has no title. Each
message on a conversation’s page links back to its
run.
A run you start yourself, from Run by hand or by clicking the Start node on the canvas, says By hand under Triggered by.
Clicking a row opens the run report.
In Runs, a run that is still going has a red Stop icon at the end of its row. Stopping halts the run and every run it started (connector pages, branches, sub-flows). Nodes that already finished stay done, and the run shows as Stopped rather than failed. The Stopped by hand filter lists those runs.


The run report
Section titled “The run report”A run has no number of its own, so its report is titled by its flow and when it started, for example Inbound shipment intake, 10 Nov 14:02. The time is in your workspace’s time zone (see Set the time zone), so everyone in the workspace reads the same title, and the year shows only when it is not this year. A run whose flow has been deleted reads Run, 10 Nov 14:02.
The report reads top to bottom: a verdict summary, a per-node timeline, collapsible Final output and Start data sections, and the flow canvas at the bottom. Header actions sit above it:
- Stop run — while the run is still going.
- Open flow — jump to the flow in the editor.
- Fix with AI — on a failed run, open the builder with the run, the flow, and the failure already filled in. A failed run of a flow Publicus manages offers Explain this error in its place. See Build with AI.
- Re-run — start a fresh run of the same flow with the same start data. Its confirmation says which version runs, and when your draft differs from the live version it lets you choose. See Re-run a run. On a run that rehearsed a failure, Re-run repeats the rehearsal instead: the same node is made to fail again on your draft, with nothing called there and Let the run act for real off. See Rehearse a failure.


The verdict summary
Section titled “The verdict summary”The summary answers “what happened” at a glance: the run’s status, the flow it belongs to, which version ran (Ran v3, or Ran your draft for a run of the draft), what started it, start time and duration, and (for agent runs) total input and output tokens. If the run is waiting on a human decision, a pending-approvals badge appears, and the decision is listed in Needs you too.
If the run failed, the failure comes first: the node it failed at, the reason in one line, and Open this node, which opens that node’s settings on the flow with this run’s data as the input data. Details under it holds the error’s type and its whole message.
A run someone stopped did not fail, so it reads Stopped by that person at the node it stopped at, in gray, with Open the node it stopped at and no Fix with AI.
The Run ID and Engine ID are under Details too, for a support question or a search of the logs.
The timeline
Section titled “The timeline”One entry per node visit, in execution order. Each entry says in a word where its node stands:
| Status | What it means |
|---|---|
| Failed | The node stopped with an error, which the entry carries. |
| Waiting on a person | The node waits for an approval or for an answer to its Form. |
| Retrying | The node failed and another attempt is coming. The entry says when. The run goes on. |
| Handled | The node failed for good and its error path took over. The entry says where it went. |
| Running | The node is still working. |
| Stopped by a condition | A Conditional Exit whose condition held ended its branch here. |
| Skipped | The run ended before this node started. |
| Done | The node finished. |
Each entry also shows its duration, plus:
-
Key values — the literal values the node actually used, after expression resolution, with drill-down links to every resource the node touched (a table store it wrote to, a chat thread it replied on, and so on).
-
Output — the node’s result. Small payloads are pretty-printed inline; large ones render as a collapsed viewer that fetches the full payload on demand, so heavy outputs never slow the page down.


-
Sent: the mail an Email node sent, the mail an agent or a Form sent through an Email node, and the mail a Form sent to its recipient with its link. Each mail shows its subject, who it went to and whether it was Sent, Saved as a draft or Not sent, with the reason. Open it to read Cc, Bcc, From and the body as the person received it. A body older than the content window says it was archived. A mail from a test the AI builder ran in its chat went to the member who asked instead of its recipients, and says so under its status, for example “Sent to you; it would have gone to klant@example.com.”. A colleague reading the run sees that member’s address in place of “you”. An entry lists five mails; and N more and Open in Traffic open Traffic narrowed to this run. On a run an agent answered in a chat app, the agent’s entry also lists what the bot posted there, such as Answer posted to Slack or Approval request posted to Telegram. Open one to see the call it was.
-
Waiting for an answer: a Form still waiting says when its link expires, whether it reached the person, whom it was mailed to, and which node on its Send via handle sent it. Send a new link sends the person a fresh one.
-
External calls: the HTTP calls the node made, each one opened to its headers and bodies. A message the node posted to Telegram, Slack, Discord, WhatsApp or Teams reads as Posted to Slack with the text the person saw, above the call. A message too long to keep whole, or past the content window, says so instead of showing part of it.
-
Errors — a failed entry carries the error message inline and a lazy viewer for the full trace.
-
Nesting — connector iterations appear as child timelines under the connector, one child per split item or per page. Click into a child to see its own entries.


-
Open this node opens the entry’s node on the flow, with its settings open on this run’s data. An entry has no link when its node is no longer in the flow.
A run that got past a failure completed, so it reads Handled in the runs list and the rail: a node’s error path took its failure, or a Subflow or a Parallel set to continue went on past a flow or an item that failed inside it. A run that rehearsed a failure says so in a line at the top: “A rehearsal: … was made to fail. Nothing was called at that node.”, or that the run ended before it reached that node. Its row on the rail and in the runs list is marked rehearsal. Handled is also a view of Runs, beside Failed. How to build and rehearse an error path is in Handling errors.
The run timeline
Section titled “The run timeline”Under the flow’s canvas, and on a run’s page, a strip draws the run against the clock: a lane per node, a bar per attempt, the waits between attempts with a countdown to the next one, waits for a person in a hatch, and the time a node waited for a worker. A failure that ended the run ends its lane in a red cap. A failure an error path took ends in the Handled sign, and the error branch’s first lane has a heading, “When “Fetch statuses” failed” or “The flow’s error branch”. Long idle stretches fold into a labelled break so the work stays visible. A run that finished cleanly with nothing to see keeps the strip closed to one line.
Drag the playhead, press Play the run, or use the arrow keys on Scrub the run (Home and End go to the start and the present), and the canvas shows the run as it stood at that moment: each node’s state, and the water on the edges. Play runs at 0.5×, 1× or 2×, and Pause holds a live run where it is while it goes on. Jump to now returns to the present. Replaying only redraws: it runs nothing again, and the strip says so while you are away from the present.
Agent runs
Section titled “Agent runs”When the flow contains an agent, the agent’s timeline entry expands into per-turn detail: each turn shows the model’s text, its tool calls with their arguments, tool results with a preview and a lazy full-result viewer, and token counts. While the run is still active, the agent’s response streams into the report token by token.


Agent entries also carry two governance surfaces:
-
Approvals — when a tool call needs human sign-off, the run suspends durably and the pending request renders directly on the report with Approve and Deny buttons (denying asks for a reason). Deciding resumes the run automatically; you never need to re-run it. The buttons are only visible to users allowed to decide approvals, and an auto-approve mode exists for workspaces that want an audit trail without the pause. See adding human approval.


-
Memory — a panel summarising what the agent remembered: how many prior messages were recalled, which graded memory items were recalled (each with its relevance score and grade and review badges), and which episodes were recorded. You can Promote or Reject a recalled or freshly recorded item inline, and Curate now distills a run’s pending episodes into graded memories without waiting for the batch. See memory.


The flow canvas
Section titled “The flow canvas”The canvas at the bottom of the report draws the flow’s draft with this run’s results on it, so you can read each timeline entry in the context of the graph. Each node the run reached says how it went there, in the timeline’s words (Done, Failed, Running and the rest), and once the run is over a node it never reached says Skipped. Click a node on the canvas to jump to its first entry. A node the run never reached has no entry.
The canvas here is for reading: you can zoom and pan, but not move nodes or change edges. To change a node, use Open this node on its entry in the timeline.
From the keyboard, Tab to a node on the canvas: an arrow key goes to the nearest node joined to it by an edge in that direction, and Enter jumps to the node’s first entry. With focus anywhere on the canvas, f fits the whole flow to the screen.


Debugging a failed run
Section titled “Debugging a failed run”The fastest path is almost always:
-
Start at the verdict summary. The failure comes first, with the node it failed at and the reason in one line.


-
Open the node. Open this node opens its settings on the flow, on this run: a banner says the run failed at this node, and the input data is what reached it in this run. See the input data. Once you have fixed the node, Save and re-run beside Save saves it and asks to re-run this run, with your draft selected.
-
Open the failed timeline entry. Its key values show what the node actually used after expression resolution. For example, you see
"https://api.example.com/orders/"with no id appended when{{ $prev->order->id }}resolves to an empty value. The error block carries the full message and a viewer for the complete trace. -
Tell configuration errors from upstream errors. Configuration errors (a bad expression, invalid instructions) fail immediately without burning retries — fix the flow. Network and service errors surface the upstream failure — inspect the target service.
-
Re-run if transient, or after a fix. Use the Re-run action on the report to start a new run with the same start payload. If you fixed the draft after the run started, the confirmation selects your draft, so the re-run tries your fix before you publish it.
Retries and resilience
Section titled “Retries and resilience”-
A node that fails for good can send the run down an error path instead of ending it. See Handling errors.
-
Node runs that fail with transient errors are re-queued with exponential back-off. Configuration errors skip that logic and fail the run at once.
-
HTTP nodes (REST and OpenAPI operations) accept per-node overrides: a request timeout in seconds, and an on-error policy. The default policy fails the run on an upstream error; set it to continue and the node instead completes with a structured error envelope (including the upstream status and message) as its output, so a downstream node can branch on the failure rather than the whole run stopping.


-
Outbound HTTP requests get a bounded number of automatic retries, and every destination host sits behind a circuit breaker: a host that keeps failing is short-circuited for a cooldown so requests fail fast instead of stacking up retries against a service that is down.
-
Schedule, Webhook, Chat and Email triggers honour the
withoutOverlappingflag on their Instructions. When set, a new tick or inbound request is skipped, not queued, if a previous run is still going. See Overlap protection.
What stays and what ages out
Section titled “What stays and what ages out”- Finished runs, completed or failed, are kept with their per-node records for 90 days, then pruned by a scheduled job. The window is the same for every workspace; it is not a workspace setting. A run that is still waiting is not pruned.
- Inputs / outputs above the configured payload size are truncated in the UI but stored in full until pruning runs, so a re-run still has the complete payload.
- Secret values resolved through expressions are masked everywhere in the UI.