Fail the run
Fail the run turns a detected problem into a loud one. It evaluates a condition; when the condition is true, the run stops immediately and is recorded as failed, which alerts the workspace owners instead of filing the run quietly as complete. You find it on the node picker’s Control flow shelf.


| Field | Type | Default | Description |
|---|---|---|---|
When (when) | boolean ✦ (required) | — | When this resolves to true, the run stops and is recorded as failed. |
Message (message) | string ✦ (optional) | The flow failed at a Fail node. |
What the failure says. This is what a person reads first, so name the thing that went wrong. |
Fields marked ✦ accept expressions.
Try this node — run it once against your own workspace, with your credentials, without building a flow first.
If the flow has an error branch behind Start, a Fail node is a failure like any other: the branch takes it and the run ends as Handled, not Failed. See Handling errors.
The condition is a bare boolean expression, like the one on Conditional Exit:
$prev->status >= 400Write the message for the person who reads the alert: name the thing that
went wrong, and include the values that decided it. The field is
expression-capable:
Payment sync returned status {{ $prev->status }} for order {{ $start->orderId }}Failing versus exiting
Section titled “Failing versus exiting”Conditional Exit stops a branch cleanly: the run completes, nobody is alerted, and that is the right outcome for “there was nothing to do”. Fail the run is for the other case: the flow reached a state that is wrong, and somebody should know. A failed run shows as failed in Runs, and workspace owners are notified in the panel (the bell) and by mail. Alerts are throttled to one per flow per hour, so a flow failing every five minutes does not flood anyone’s inbox.
The failure is not retried: the condition was evaluated against data the run already has, so retrying would read the same values and fail again.
Output
Section titled “Output”When the condition is false, the upstream output passes through untouched, so wiring the node in changes nothing about the data reaching later nodes. When the condition is true, the run stops at this node with the configured message and nothing downstream runs.
Wire it in switched off
Section titled “Wire it in switched off”Leave when literally false to add the node without arming it. The flow
then shows that the check exists, which a node somebody has to remember to
add later does not, and turning it on is one boolean.
Limitations
Section titled “Limitations”- Failing is whole-run, not per-branch. Inside a Parallel split or a pager’s child flow, the failure cascades up and fails the run, where a Conditional Exit would end only that child.
Related
Section titled “Related”- Conditional Exit stops a branch as a success.
- Switch routes between branches instead of stopping.
- Runs & debugging shows failed runs and their messages.