Skip to main content
Iterate through a list of items, executing different actions for each item or after completion. Has two output handles: ‘loop’ handle executes nodes FOR EACH item (nodes can access current item via {{loopNode.data}}) - only connect nodes that should process individual items here, ‘done’ handle executes nodes ONCE after loop completes - use this to continue to next workflow steps. IMPORTANT: Nodes connected to ‘loop’ handle should only connect to other nodes also connected to the same ‘loop’ handle. Never connect loop nodes to non-loop nodes. CRITICAL: Nested loops are NOT supported

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.