Skip to content

Ending Block

The Ending block explicitly terminates a running workflow at a specific point. While workflows automatically stop after the last node, the Ending block is useful when you need to halt execution earlier — for example, inside a conditional branch.

When to Use the Ending Block

  • Conditional exits — Stop the workflow when a specific condition is met (e.g., an error is detected or a task is already complete).
  • Multiple exit points — In complex workflows with branching logic, use Ending blocks to clearly mark where each branch terminates.
  • Clarity — Adding an explicit Ending block makes your workflow's intent easier to understand for other team members.

Tips

  • You do not need to add an Ending block at the very end of a linear workflow — the workflow stops automatically after the last node.
  • When using the Ending block inside a loop, it stops the entire workflow, not just the current iteration. Use Loop Breakpoint if you only want to exit the loop.