Explicitly terminates the workflow run with a specified status โ completed or failed. Use at the end of conditional branches to signal definitive outcomes clearly.
stopWhen a workflow reaches a Stop node, execution ends immediately. No further steps are executed regardless of what comes after it in the graph or the linear sequence. The run is recorded in the run history with the status and message you specify.
While a workflow that simply "runs out of steps" also finishes, the Stop node makes the intention explicit. This is especially important at the end of conditional branches, where you want to be clear about whether the branch represents a successful outcome, a deliberate early exit, or an error condition.
Stop is most commonly placed at the end of the false branch of a Logic Gate, at the end of each arm of a Switch, and anywhere you detect an unrecoverable error and want to surface a clear failure message in the run log.
| Field | Status | Description |
|---|---|---|
| Status | Required |
completed โ the run finishes and is marked as successful. Use this for intentional early exits where everything went as expected.failed โ the run finishes and is marked as failed. Use this for error conditions or business rule violations that should be visible as failures in the run history.
|
| Message | Optional | A human-readable explanation logged alongside the run result. Visible in the run detail view. Supports {{ variable }} references. Keep it short and informative โ this is what you will read when reviewing run history. |
None. The Stop node terminates execution. It does not produce any output variables.
An approval workflow checks whether a reviewer has approved a request. If they have rejected it, the workflow should stop and record a clear failure message.
Before processing an order, verify that the required fields are present. If critical data is missing, stop cleanly rather than allowing downstream steps to fail with cryptic errors.
failed status for business rule violations. A
failed status makes the run stand out in run history and can trigger
alerting integrations. Reserve it for conditions that genuinely need attention.
completed for deliberate early exits. If you intentionally
skip the rest of the workflow because nothing needs to happen (for example, "no orders to
process today"), mark it as completed so it does not appear as an error.
{{ variable }} references to embed dynamic values.
completed.