Node types
A workflow is made of nodes joined by transitions. Add opens the palette. For how a workflow runs, see Workflow.
| Node | What it does | Waits for the customer |
|---|---|---|
| Start | Where every conversation begins. There is exactly one, and it cannot be deleted. | No |
| Stage | Your assistant, set up for one phase. | Yes |
| Say | An exact line, or one the assistant words. | Only with Wait for the reply |
| Tool | Always run a tool, then branch on the result. | No |
| Set variables | Store values for later steps. | No |
| Hand to a person | Hand the conversation to your team. | Yes |
| Transfer call | Transfer a phone call to a number. | Yes |
| End | End the conversation. | Yes |
- NameText
- Shown on the card. An empty name or two nodes with the same name give a warning.Limit 80 characters
- Transitions outList
- The transitions that leave this node, in the order they are tried. Move up and Move down change it.
- Delete this nodeButton
- Removes the node and its transitions. Not on Start.
The message editor
Say, a stage's first line, Hand to a person and End all use the same editor for what the customer hears.
- Exact text / GuidedChoice
- Exact text is said as written. Guided is an instruction the assistant words in the customer's language.Options
Exact textGuided - Exact textText
- For example
Welcome to the Grand Hotel!Use{{var}}for saved values.Limit 4,000 characters - TranslationsList
- The same exact text in other languages. The customer's language is picked when it matches. Translations of a Guided line are not used, and Check warns you.Limit 20 languages
- GuidedText
- For example
Welcome them warmly and ask how you can help.Limit 4,000 characters
Stage
- Add to the agent's / Replace themChoice
- Add this stage's instructions to the assistant's own, or use only this stage's instructions.Default
Add to the agent's - Added for this stageText
- With Add to the agent's: what the assistant does in this stage, for example
Help the guest choose a room. Confirm the dates before checking availability.Use{{var}}for values saved earlier.Limit 20,000 characters - This stage's own instructionsText
- With Replace them: required.Limit 50,000 characters
- AnswerChoice
- The assistant answers the customer's message in this stage.Default
Selected - Say a line firstChoice
- The First line (required, in the message editor) is the reply when the stage begins.
- Switch quietlyChoice
- Entered after a reply, the stage says nothing until the customer writes again.
- ModelChoice
- The model this stage uses. Any model from the workspace model library that can call tools.Default
The agent's model
- Use a different voice in this stageSwitch
- Picks a voice for this stage. Voice changes apply on calls only. If the voice provider cannot change voices during a call, the panel says so.Default
Off - SpeedSlider
- How fast this stage's voice speaks.Limit 0.7× to 1.2×, in steps of 0.05
- LanguageChoice
- Pins the language this stage speaks.Default
Follow the customerOptionsFollow the customerarenfrdeesitptrutrurhifazhja
- Use the agent's toolsSwitch
- Keep the assistant's tools in this stage.Default
On - Also allowList
- Adds tools for this stage, including ones set to be available only inside procedures.
- Hide in this stageList
- Removes tools for this stage. The tools for procedures, the tools for showing cards and the stage's own tool for saving details are never removed.
- Use the agent's knowledgeSwitch
- Keep the assistant's documents in this stage.
- Also use these documentsList
- Adds documents for this stage. They must be attached to the assistant.
- Procedures for this stageList
- This stage's own procedures. All procedures stay available everywhere.
- Start them when the stage beginsSwitch
- Starts them as the conversation enters the stage. At most one structured procedure can start this way. Free-form procedures started by a stage unload when the conversation leaves it.Default
On
- Variable nameText
- Lowercase letters, digits and
_, starting with a letter. Unique within the stage. - TypeChoice
- Values are checked against the type; a value in the wrong format is not saved.Options
TextNameEmailPhoneNumberYes / noDateTime - What it isText
- A short description that helps the assistant recognise the detail.Limit 300 characters
- RequiredSwitch
- The assistant is told which required details are still missing.
- Add a detail / Remove this detailButton
- Adds or removes a row.Limit 8 details per stage
The assistant saves details as the customer gives them, and Check transitions can read them. While details are missing, the stage tells the assistant which ones are still needed.
Say
- What to sayText
- Required. Exact text or Guided, in the message editor.
- Wait for the replySwitch
- The turn ends here; the customer's answer decides what comes next.
- ChoicesList
- Shown as buttons where the channel can draw them. Only useful with Wait for the reply on.Limit 2 to 10 choices, 1 to 60 characters, no repeats
Tool
- ToolChoice
- The tool to run, connected or built-in.
- Instruction (optional)Text
- Helps the assistant fill in the inputs it decides.
- InputsList
- An input name and where its value comes from. Inputs left out are filled in by the assistant; a required input that cannot be filled makes the tool fail.Options
Fixed valueFrom a variableAssistant decidesLimit 30 inputs - Save the result as (optional)Text
- The whole result, for later steps.
- Save parts of the resultList
- A variable and its Path in the result, like
data.id.Limit Paths up to 6 parts deep - Say before it runsText
- A line sent before the tool runs, such as
One moment while I check that.Callers hear it while they wait. - Show the resultSwitch
- As cards where the channel can draw them.
A Tool needs a Success transition (or Otherwise). Without a Failure transition, a failed tool hands the conversation back to the assistant, and Check warns you. A Tool node runs once each time it is entered, even if a turn is retried.
Set variables
- VariableText
- The name to store. Not a built-in variable name.
- Value modeChoice
- Read from the conversation uses one model call per variable.Options
FixedFrom a variableRead from the conversation - ValueText
- The fixed value, the variable to copy, or what to read, for example
The booking reference the customer gave. - Add a variable / Remove this variableButton
- Adds or removes a row.Limit 1 to 10 per node
Hand to a person
- Reason for your teamText
- Shown to whoever picks the conversation up.Limit 300 characters
- What to tell the customerText
- For example
I'm connecting you with our team now.Empty: the assistant's handover message from Hand over to a person, or a default line.
Transfer call
- Transfer toChoice
- A destination set up on the assistant's Voice settings. With none set up, add them there first.
- What the caller hearsText
- Leave empty and the assistant tells them in their language.
- Briefing for the person taking the callText
- Read to them on a briefed transfer. Use
{{var}}for saved values.
Off a phone call, or when the transfer fails, the Failure transition runs. A transfer that is refused or not completed within 90 seconds counts as failed.
End
- OutcomeChoice
- Counted in the analytics.Default
SuccessOptionsSuccessFailure - GoodbyeText
- For example
Thanks for calling. Goodbye!Empty: a brief, warm goodbye worded by the assistant.
Transitions
Drag from a node's bottom handle to another node to add a transition, then click it to choose When it applies. Delete this transition removes it.
- AI decidesChoice
- Checked on each customer message, in one quick call outside the assistant's prompt. Label (required, up to 80 characters, such as
Wants to book) and Condition (required, up to 1,000 characters, such asThe customer asks to book a room or check availability.). Describe it plainly; the AI follows it only when it clearly holds. - CheckChoice
- A plain check on saved values: no model call. Checks rows of a variable, an operator and a Value, matching All of them or Any of them.Limit 1 to 8 checks
- ResultChoice
- Whether the tool or the transfer worked: Success or Failure. Only out of a Tool or a Transfer call.
- OtherwiseChoice
- Taken when nothing else applies. Out of a stage, on the customer's next message.Limit One per node
| Operator | Takes a value |
|---|---|
| is, is not | Yes |
| contains | Yes (on a list: whether the list holds it) |
| is more than, is at least, is less than, is at most | Yes |
| is known, is unknown | No |
The order they are tried in
- Check and Result transitions, in the order of Transitions out.
- All AI-decided transitions together, in one call.
- Otherwise, last, wherever it sits in the list.
Rules for drawing
- Nothing leads into Start, and nothing leaves an End.
- Only a stage can loop back to itself.
- Two transitions between the same pair of nodes are not allowed, except Success and Failure out of a Tool or Transfer call.
- New transitions start as Otherwise (the first out of a node), Success then Failure (out of a Tool or Transfer call), or AI decides.
- At most 6 AI-decided transitions and one Otherwise per node.
Variables
- Set by a stage's Details to collect, a Tool's Save the result as (optional) and Save parts of the result, and Set variables.
- Built-in: the same variables as in procedures, such as
{{customer_name}},{{today}}and, while handling an app event,{{event.data.<field>}}. See Procedures. - From structured procedures: a structured procedure started by a stage keeps its answers under its key, as
{{key.variable}}, plus{{key.outcome}}. So a variable cannot share a procedure's key. - Use them as
{{name}}in any text. A variable nothing sets gives a warning and stays empty.
Workflow settings
- Prevent loopsSwitch
- In one turn, never go back to a node already passed. A stage may still loop to itself.Default
On - Most transitions in one turnNumber
- A longer chain carries on with the next message.Default
8Limit 1 to 30
What Check looks for
Errors (block publishing)
- More than 60 nodes or 150 transitions, or a workflow too large to save.
- A node name over 80 characters.
- Stage: empty or too long instructions in Replace them; no first line with Say a line first; a model not in the library or unable to call tools; an unsupported language; a tool, document or procedure that does not exist or is not attached; more than one structured procedure set to start; more than 8 details, or details with bad or repeated names; a description over 300 characters.
- Say: nothing to say; choices that break the rules.
- Tool: no tool, or one that does not exist; a fixed input without a value (
Give the fixed value.) or a variable input without a variable (Pick the variable.); bad result names or paths. - Set variables: none, more than 10, a built-in name, or Read from the conversation with nothing to read (
Say what to read from the conversation.). - Transfer call: no destination, or one not on the Voice settings.
- Transitions: into Start (
Nothing leads back to Start.); out of an End (An End has no way out.); a non-stage looping to itself (Only a stage can loop back to itself.); AI decides without a label or condition; Check with no checks, more than 8, or a missing operator or value; Result not out of a Tool or Transfer call. - Per node: more than 6 AI-decided transitions or more than one Otherwise; a Tool or Transfer call without a success path (
Add a transition for when it succeeds.); a step that leads nowhere (This step leads nowhere: add a transition.); a loop that never waits for the customer (From here the workflow never stops to wait for the customer.); Start not connected when other nodes exist (Connect Start to the first node.). - A variable named like a built-in variable or a procedure's key.
Warnings (shown only)
- Unnamed nodes, or nodes sharing a name.
- A node nothing leads to from Start (
Nothing leads here from Start.). - Duplicate transitions.
- A tool switched off for the assistant, or a stage with no tools (
This stage has no tools.). - A Guided message with translations.
- Human handoff switched off, so Hand to a person will not hand over.
- A Transfer call, which only happens on phone calls.
- A Tool with no Failure path (
Nothing happens when it fails: the assistant takes over.). - A variable nothing sets.
- Choices on a Say that does not wait for the reply.
- A Switch quietly stage reached straight from Start, which says nothing to the customer's first message.
- A Say right after Start while the voice greeting is on: callers hear two greetings.