Break (exit loop)

Stop the current loop and continue after the loop

The Break block behaves like Python's break: it stops the loop and jumps to the block(s) connected to the After loop output of the Loop over items block.

How Break works

  • Place the block inside the loop body (after the Loop body handle from Loop over items).
  • When Break runs, the rest of the loop body for this iteration is skipped and no further iterations run.
  • Control moves immediately to After loop on Loop over items.
  • Break has no settings — it only marks an exit point from the loop.

Example: exit on first match

  1. 1.In Loop over items, iterate a list such as user_ids.
  2. 2.In the loop body, add conditions and actions (e.g. find the first matching user).
  3. 3.After the successful action, add a Break block and connect it from the previous block.
  4. 4.After Break, the loop ends and execution continues on After loop.

Important notes

  • Break only makes sense inside a loop. Outside Loop over items it behaves like a normal step in the flow.
  • You can use multiple Break blocks in one loop — the first one reached wins.
  • Break does not affect other workflows or loops running in parallel.