Diska
Flow Builder

Flow variables

System variables, pre-call variables, variables collected in the conversation and action results.

Variables keep information during the call so it can be used in instructions, messages, conditions and actions. The Variáveis (Variables) panel — in the agent toolbar or the canvas controls — lists them in four groups.

System variables

Available in every flow:

NameTypeDescription
call_idtextUnique identifier of the call.
user_phone_numberphoneThe caller's number.
from_phone_numberphoneOriginating number.
to_phone_numberphoneDestination number.

Pre-call variables

Values the agent receives when the call starts — for example, the customer's name in a campaign.

  1. Open the Variáveis panel.
  2. Under Variáveis pré-chamada (Pre-call variables), type the name (variable_name; spaces become _), choose the type (Texto, Número, Telefone, Email, Data or Boolean — text, number, phone, email, date or boolean) and, optionally, a description.
  3. Click Adicionar (Add).

In the test panel, each pre-call variable has a Variável: … field to fill in before the web or phone call.

Conversation variables

Collected by the agent in a Conversação (Conversation) node, under Recolher variáveis → Adicionar (Collect variables → Add):

FieldDescription
Nome (Name)Technical identifier: letters, numbers and _, not starting with a number (e.g. customer_email).
Tipo (Type)String, Number, Integer, Boolean, List, Email or Phone number. Number and Integer accept an optional Mínimo and Máximo (minimum and maximum).
Pergunta / instruções para recolher a variável (Question / instructions)How the agent should ask for the information.
Obrigatório (Required)Whether the step is only complete once this variable is collected.

An invalid name is a validation error and blocks publishing.

Action results

Action nodes store their result in a variable:

NodeVariable
Acção personalizada (Custom action)The one set in Guardar resultado em (Store result in — e.g. crm_result).
Agendamento (Booking)booking_result_<node id>
Transferência (Transfer)transfer_result_<node id>
Disparar subfluxo (Trigger subflow)subflow_result_<node id>

Using variables

  • In text (instructions, messages, greeting, farewell): use the { Variáveis button to insert {{variable_name}}.
  • In conditions: in a Regra determinística (Deterministic rule), choose the variable, operator and value — see Conditions and paths.
  • In actions: in an action's input mapping (for example, the SMS during the call).
If a text or condition uses a variable that is never collected or set, the Checklist shows a warning. Check the name — it is case-sensitive and accepts no accents or spaces.
Copyright © 2026