Condition Node (Realtime)

A Condition Node validates input values using JavaScript syntax. In a Realtime architecture, this is the paramount node used to route live audio logic without having to execute extremely expensive database retrieval logic on every spoken word.
Realtime Audio Routing
When dealing with a live phone call or spoken dialog, you frequently need to trap specific intents (like "Yes", "No", or "Connect me to an operator").
By configuring a Condition Node directly behind your Start block or LLM parsing phase, the Realtime pipeline calculates the JavaScript expression instantly.
Common Example: Human Handoff
If the Condition Node detects that the caller has repeated themselves or sentiment drops, you can route the "False" path straight into an Execute Flow block or force the Agent Node to trigger a TransferCallCommand.
[!TIP] Keep your Condition statements strictly bounded to simple JS comparative strings (e.g.,
"${$question}" === "OPERATOR"). Heavy compute should not occur here, as it interrupts the continuous voice stream buffer.