Sub-flow node
Runs another flow as a reusable component — split large automations into testable pieces and share logic across flows.
Sub-flow (sub_flow) calls another flow as a step of this one: its input goes in, its Flow Output comes back. The composition primitive for multi-agent architectures and shared logic.

Configuration
Open the node (double-click) to edit it. Key fields:
- Node ID / Name — the identifier used in variables and the display name on the canvas.
- Target flow — which flow to execute.
- Input mapping — which values to pass it.
Inputs & outputs
It receives mapped inputs and emits the target flow's output. Downstream nodes reference its output with {{node_id.field}} — see the variables reference.
Example
Chat Input → Sub-flow (validador) → Sub-flow (agente ventas) → Chat OutputSee also: Base nodes · Cookbook: multi-agent