Switch Node

Switch Node

The Switch logic element routes phone pathways down distinct branching channels based on variable evaluation comparisons.


String Evaluation Branching Map

graph LR
    EvalVar["Read Session Value<br/>(e.g., Target Edge: 'VIP')"] ==>|"Match Attributes"| CompareMatrix["Switch Evaluation Engine"]
    CompareMatrix ==>|"Value == 'True'"| PathTrue["Route Edge: Nominal Service"]
    CompareMatrix -->|"Value == 'False'"| PathFalse["Route Edge: Standard Support"]

    classDef coreToken fill:#0f172a,stroke:#38bdf8,stroke-width:2px,color:#fff,rx:6px,ry:6px;
    classDef pathToken fill:#312e81,stroke:#ec4899,stroke-width:2px,color:#fff,rx:6px,ry:6px;

    class EvalVar,CompareMatrix coreToken;
    class PathTrue,PathFalse pathToken;

Comparison modes

1. Direct Equal Matches

Type explicit target validation strings directly inside the property inspector tab to route incoming calls instantly if internal keys map exactly.

2. Default Fallback Routing

Always connect the Default output target circle to a standard workflow path to ensure calls do not terminate if non-expected input fields arrive.