Vettero

Loops

Repeat a nested body over a range, list, object, or until a return says stop.

Loop blocks sit in the builder palette under Basic → Loops. They run a nested body once per iteration, then continue on the main out path. Shared graph rules are on Workflows; each page covers Config for that type.

Callback is a new callback scope, not the next step on the main path. Connect it to a Lambda block. Everything after Lambda runs only inside that iteration (named variables from outside plus this loop’s args.*). End the body with Return so the loop can collect a value. That return is for the callback, not for the whole workflow. While and Do While use a required condition on the block to decide whether to run again.

UseBlock
Count from a start to an endFor
Repeat while a condition matchesWhile
Run once, then while a condition matchesDo While
Walk keys and values of an objectFor In
Walk items in a listFor Of
Stop the loop from inside the bodyBreak
Skip this iteration and start the nextContinue
Start the nested body (callback scope)Lambda
Finish the body and collect a valueReturn

7

For
Count from start to end and run the body each time.
While
Run the body while a condition matches, up to a max count.
Do While
Run the body at least once, then continue while a condition matches.
For In
Run the body for each key and value in an object.
For Of
Run the body for each item in a list.
Break
Stop the nearest loop from inside its body.
Continue
Skip the rest of this iteration and start the next.
Copyright © 2026