Skip to main content
Node type: switch · Version: 1 · Category: Logic Route items through stable named cases. This node is not marked with the catalogue’s generic side-effect flag. That classification is not a guarantee that every configured operation is read-only; review the concrete action and its destination.

When to use this node

  • Route records through more than two named outcomes.
  • Copy one item to every matching case when all-match behavior is deliberate.

Example: Route CSV rows by status

Send parsed and split rows through stable named status cases and a fallback.
Example settings
This shows the important settings, not a complete exported node. Local paths must be selected, mapped from a trusted path, or covered by the runner’s approved boundary.
  1. Parse CSV → Split Out → Switch.
  2. Connect cases by their stable IDs.
  3. Converge branches through Merge rather than ordinary multi-input nodes.

Configuration

Workflow JSON

The editor stores this node with the following implemented default configuration:
Default node configuration
Values may be entered literally or mapped from an earlier compatible output when the inspector exposes a mapping control. See Variables and data mapping.

Inputs

Outputs

Execution behavior

  • First match selects the first case in configured order; all matches preserves a shared origin ID across copies.
  • Unmatched items enter the fallback collection and empty branches remain visible in evidence.
  • The editor catalogue declares fallback (array) for mapping. The execution inspector can contain additional evidence fields; inspect a real result before selecting nested paths from object or any outputs.

Common issues

  • Renaming and reordering preserve case IDs; deleting a connected case requires confirmation.
  • Do not use arrival timing to choose a branch.

Where it can run

  • Desktop local runner
  • Paired self-hosted runner
  • Hosted runner

Test and inspect

Use Test node in the editor to preview this step with the current configuration. A full run records resolved inputs, outputs, logs, duration, and any artifacts in the execution inspector. Side-effecting or destructive nodes can require an additional confirmation or approved workflow permission.