For Loop
The For Loop node iterates over a collection of items or repeats a sub-graph N times. Nodes placed inside the loop body execute once per item or iteration.
Use Cases
- Process each record from an Airtable query individually
- Send a personalized Slack message to each user in a list
- Call an AI Agent once for each item in an array
- Retry an operation a fixed number of times
Node Reference
Parameters
Loop Modes
Execution Modes
Error Handling
Loop Variables
Within the loop body, use these built-in expressions:Example: Process an Array of Records
Configuration:{{ $item.fields.Name }} refers to the current record’s Name field.
Output Data
After the loop completes, the node outputs an array containing the results from each iteration:Related Nodes
- Airtable — Retrieve a list of records to iterate over
- Conditions — Branch within a loop based on per-item values
- Wait — Add a delay between iterations