Diska
Flow Builder

Flow variables

System variables and variables collected during conversation.

Variables allow the agent to remember information between steps and use it in conditions, messages, actions and transfers.

System variables

Available in any flow, with source system:

NameTypeDescription
call_idtextUnique identifier for the call.
user_phone_numberphoneThe customer's number.
from_phone_numberphoneOriginating phone number of the call.
to_phone_numberphoneDestination phone number of the call.

Conversation variables

In the Conversation node you can collect one or more variables:

  • name: technical identifier (letters, numbers and _ only; cannot start with a number).
  • type: String, Number, Integer, Boolean, List, Email or Phone number (Number/Integer accept a minimum/maximum range).
  • question: the prompt the agent asks the customer.
  • required: whether it is mandatory.

Action variables

Nodes that perform an operation can return a result:

  • custom_action → outputVariable
  • booking → booking_result_<id>
  • transfer → transfer_result_<id>
  • trigger_subflow → subflow_result_<id>

Using variables

In branch conditions, choose the variable, the operator and the value. For example:

confirmed == true
plan contains "premium"

Supported operators are: equals, not_equals, contains, greater_than, less_than, is_empty, is_not_empty, is_true, is_false.

Variable names must follow the pattern [a-zA-Z_][a-zA-Z0-9_]*. Do not use accents or spaces.
Copyright © 2026