For the complete documentation index, see llms.txt. This page is also available as Markdown.

Switch Node

The Switch Node evaluates conditions and chooses the Workflow branch that should continue.

Branch selection

  • Zaia evaluates the configured branches and follows the branch whose condition is satisfied.

  • When no condition is satisfied and a fallback exists, Zaia follows the fallback branch.

  • When no condition is satisfied and no fallback exists, the node has no valid output.

Test a Switch Node

When you test the node, the result preview identifies the branch that was actually selected.

This includes:

  • A matched condition branch.

  • The fallback branch.

  • A clear no-output result when there is no match and no fallback.

The branch shown in the preview is the same branch used by Workflow execution. Use this result to continue testing the next node on the selected path without guessing which route was taken.