Switch Node
Switch routes execution to one of multiple paths based on a selected payload field.
Configuration Fields
| Field | Required | Purpose |
|---|---|---|
| Property to Check | Yes | Payload field used for matching |
| Case Mapping | Yes | Value-to-output mapping table |
| Default Path | No | Fallback branch when no case matches |
Setup Steps
- Add Switch node after classification/lookup step.
- Set property path.
- Define case mappings and connect outputs.
- Add default branch for unmatched values.
Best Practices
- Keep case values normalized.
- Always include default branch in production.
- Monitor case distribution for drift.
Common Issues
- No matching branch due to case sensitivity.
- Missing default path causing dropped events.
