Shapes

Control the run

Break / continue

Inside a Loop body: Continue skips the rest of this iteration; Break also ends the loop.

Nodes › LogicOpen in Neblex
Good for
Controlling a loop
Role
Works on the records in a flow
Find it in
Nodes › Logic

When to use it

  • A loop should stop as soon as it has found what it needs.
  • Some iterations should skip the rest of the body.
  • Paging should end when a page comes back empty.

Reach for something else when

Example

Page through an API inside a Loop and Break when a page comes back empty.

  1. Loop
  2. HTTP request
  3. Break / continue

How it works

This shape has no settings.

More in the guide

Add it to a flow

  1. Open the flow from Build › Workflows.
  2. Open Nodes and find Break / continue under Logic, or search for it. Click it or drag it onto the canvas.
  3. Drag from the previous step's output handle to its input, then open its settings with ✎ Edit.
  4. Run the flow and click the step to see the records it received and produced.