ForEach Iteration Pattern
Canonical ForEach usage: pass a list into ForEach, process each item through a sub-chain, collect results with Collect node, and output the aggregated list.
Graph Preview
Execution Flow
Pass list to ForEach node
ForEach emits one item per iteration
Process each item in sub-chain
Collect results back into list
Output aggregated results
Node Breakdown
Tags
Source
workflows/for_each.json
General workflow demonstrating core patterns
Related Examples
Browse all →If/Else Branching
beginnerRoute execution through one of two branches based on a boolean condition. The canonical conditional pattern in Vibrante-Node exec-flow graphs.
While Loop with Break
intermediateRun a loop until a condition is met or a max iteration count is reached. Demonstrates WhileLoop with BreakLoop and continue/stop exec pins.
Conditional with Variables
intermediateUse SetVariable and GetVariable to share state between branches in an If/Else workflow — a realistic pattern for pipeline decision logic that needs cross-branch data.