Vettero

For In

Run the body for each key and value in an object.

Type

loop.for-in
Block Loops
Folderbasic/loops
Channels

Any

Pipe

Value

Scope

Any

For In walks the keys of an object and runs the callback body once per key. After the last key, the main path continues and the pipe holds every value the body returned.

Use For Of for a list of items. Use For for a numeric range.

Configure

SettingDescription
ObjectContext path to the object (args.*, pipe.*, named variables). Must be a plain object, not a list

The Callback outlet must be connected to a Lambda block. If it is not connected, the run fails.

Handles

HandleRole
In (target)Incoming connection
Out (source)Continues after the loop finishes (main path, same scope)
CallbackNew callback scope for each key. Connect to Lambda

Inside the body (after Lambda), use:

PathMeaning
args.indexZero-based iteration count
args.keyCurrent key (text)
args.valueValue at that key

End the body with a return. That returns from this callback, not from the whole workflow. The value is stored for this key. Continue skips the rest of this key. Break stops remaining keys. An unconnected Out ends the main path after the loop.

Pipe schema

The next block on the main path reads this on the data pipe (pipe.value).

FieldTypeDescription
ResultslistValues returned for each key, in key order

Use case

  • Map each field on a payload object (normalize, copy, or send one notification per key).
  • After an API or object-building step, walk the result keys without converting to a list first.
  • Skip a key with Continue, or stop remaining keys with Break when a key matches a condition.
Copyright © 2026