Variables & Logic
Variables & Logic
To make phone logic dynamic, AppFlow Studio integrates direct conditional branch evaluation tools.
Routing Condition Execution Map
The flowchart below illustrates how runtime parameters branch active customer call paths:
graph LR
%% Origin
subgraph LogicTrigger["Evaluation Point"]
NodeSwitch["Switch Logic block<br/>(Rule: ActiveTime == OpenHours)"]
end
%% Checks
subgraph SystemState["Platform Telemetry"]
DbStore[("Global Schedules DB<br/>(Defines Open Hours: 9 AM - 5 PM)")]
end
%% Escapes
subgraph EscapesTier["Routing Paths"]
PathTrue["Condition Matches<br/>(Ring Corporate Offices)"]
PathFalse["Condition Offline<br/>(Stream Voicemail prompt)"]
end
%% Links
NodeSwitch <-->|"Check Calendar State"| SystemState
NodeSwitch ==>|"True Evaluation"| PathTrue
NodeSwitch -->|"False Evaluation"| PathFalse
%% Harmonious Deep-Color Array
classDef trigToken fill:#0f172a,stroke:#38bdf8,stroke-width:2px,color:#fff,rx:6px,ry:6px;
classDef stateToken fill:#312e81,stroke:#ec4899,stroke-width:2px,color:#fff,rx:6px,ry:6px;
classDef escToken fill:#1e293b,stroke:#a855f7,stroke-width:2px,color:#fff,rx:6px,ry:6px;
class LogicTrigger,NodeSwitch trigToken;
class SystemState,DbStore stateToken;
class EscapesTier,PathTrue,PathFalse escToken;
Logic Block Guidelines
1. Scheduling Rules
Drag the TimeCondition element onto your workspace to split execution paths instantly based on standard organizational calendars.
2. Dynamic CallerID Filters
Compare caller identity fields directly against internal account records to push premium tiers down immediate VIP transfer queues automatically.