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
- Parse CSV → Split Out → Switch.
- Connect cases by their stable IDs.
- 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
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