Fail

Raise an explicit error to stop the workflow.

Fail the workflow with a descriptive message. Combine with if conditions to enforce preconditions or budget guards, for example abort if an estimated AI cost exceeds a threshold.

Components

Each component links to its own page with its full options and outputs.

NameDescription
failImmediately fails the workflow step, either as a failure or, given a status and a code, as a refusal.