Inputs
Output
Type:Dict | Any
The default output is the entire item being processed in the loop. When ‘include_index’ is enabled, returns a dict with ‘item’ and ‘index’ keys.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Iterate through a list of items, executing different actions for each item or after completion
| App | Flow Control |
| Operation ID | flow_control_loop |
| Type | Action |
| Connection | None |
| Credits per run | Free |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
list | array (also accepts a comma-separated string) | No | - | The list to iterate over. This will be mainly the output of upstream nodes in the workflow. Don’t worry about data conversion, it will be handled automatically based on the list type. |
include_index | boolean | No | - | When enabled, downstream nodes can reference index outputs. and data becomes two keys: item and index. for example, {{loopNodeId__data.item}} and {{loopNodeId__data.index}}, when disabled, downstream nodes can only reference {{loopNodeId__data}} which is the entire item. |
Dict | Any
The default output is the entire item being processed in the loop. When ‘include_index’ is enabled, returns a dict with ‘item’ and ‘index’ keys.