Conditions and paths
A condition splits the conversation into paths. Paths are evaluated in order and the conversation follows the first one that matches; if none matches, it follows the Caso contrário (Otherwise) path.
Where conditions appear
- After every Conversation — the Flow Builder automatically adds a Condição (Condition) with a single Continuar (Continue) path that acts as the otherwise path. Add paths to react to what the caller said (e.g. "wants to speak to a person").
- In the Dividir o caminho node (Split the path) — insert it after a Message, a Jump to, a Trigger subflow or an action's exit, to decide based on variables or context.
See Split the path.
Configure a path
Click a path of the condition to open the Condição panel:
- Nome (Name) — a short name shown on the canvas.
- Tipo de condição (Condition type) — Prompt LLM or Regra determinística (Deterministic rule).
- The condition itself (see below).
- The destination — connect the path's + to a next step.
In the Dividir o caminho node panel, Adicionar caminho (Add path) creates more paths and Adicionar caso contrário (Add otherwise) creates the default path (the button changes to Alternativa activa, Alternative active, once it exists).
LLM prompt
Under Seguir este caminho se (Follow this path if), describe in plain language when to take the path. The model decides from the conversation. You can insert variables with { Variáveis.
The caller asked to speak to a person or said the matter is urgent.
Deterministic rule
Compares variables with values. Under Seguir este caminho se Qualquer | Todas das seguintes regras corresponderem (Follow this path if any | all of the following rules match), add one or more Regras (Rules), each with a Variável (Variable), Operador (Operator) and Valor de comparação (Comparison value):
| Operator | Needs a value |
|---|---|
| É igual a (equals) | Yes |
| É diferente de (does not equal) | Yes |
| Contém (contains) | Yes |
| Maior que (greater than) | Yes |
| Menor que (less than) | Yes |
| Está vazio (is empty) | No |
| Não está vazio (is not empty) | No |
| É verdadeiro (is true) | No |
| É falso (is false) | No |
With Qualquer (any), one rule being true is enough; with Todas (all), every rule must be true.
Validation
| Problem | Severity |
|---|---|
| A condition without a Caso contrário path | Error |
| More than one Caso contrário path | Error |
| An LLM prompt path without a description | Error |
| A rule without a variable or operator | Error |
| A path with no connected destination | Warning |
| A path that repeats another path's condition (it will never be chosen) | Warning |
| A rule using a variable that is never collected or set | Warning |

