Sub-flows in the flow builder

December 4, 2026 · release

A flow that collects an address in three different branches used to mean three copies of the same nodes. Flows can now hold sub-flows: small flows saved in the same voicethere.flow.json that the main flow calls.

Open Project → Flow and use the bar above the canvas. New sub-flow adds one, and each tab shows its own error count. Build the steps, finish with a Return node, then add a Sub-flow node to the main flow and pick it. When the sub-flow returns, the call carries on from the next node.

A sub-flow sees only the inputs you map in and hands back only the outputs you list, so a change inside it cannot overwrite a variable in the caller by accident. If you would rather share everything, switch on Share all caller variables.

Two related additions:

In the simulator and in traces, a step inside a sub-flow reads hello › say, and clicking it opens that sub-flow on the canvas. Mock cases for those nodes are saved under the hello/say key.

Saving also changed: you can save a flow that still has errors. Test and Publish stay off until they are fixed.

Existing flows open and run unchanged. A flow that uses sub-flows needs @voicethere/agent 0.39.0 or newer, and the editor raises the project's agent range when you save one.

Try it

Similar posts

← All posts