Steps
Which step to use for each moment of a conversation, and what each one can do.
A step (the canvas calls it a node) is one part of a conversation. You add steps by right-clicking the canvas and picking a type from the Add node menu. The list of types is fixed. You can add as many steps as you like, but not new types.
| Group in the menu | Types |
|---|---|
| Agent Nodes | Agent, Global step, End, Collect Digits, Menu |
| Persona | Persona |
| Integrations | Webhook, After-call action |
Every agent also has exactly one Start step. It comes with the agent and is not in the menu.
Conversation steps
Start
The one entry point. It can't be deleted, and no arrow can point into it. It's fine for a Start step to have no arrow out, so you can test a brand-new agent straight away.
- Greeting: Greeting Type chooses Spoken text (the Greeting Text, read in the agent's voice) or Recording (an audio file you uploaded). Leave the text empty to skip the greeting. Delayed Start keeps the agent quiet for Delay Duration (seconds) after the call connects, for lines where the audio starts before the person has the phone to their ear.
- Behaviour: the Prompt says what the agent does right after the greeting. Allow Interruption is off by default here.
- Contact lookup: Look up the contact first runs one or more of your tools before the call
is picked up, with the contact's phone number. Their replies can be used in the greeting and
every step, for example
{{gathered_context.tool_outputs.find_customer.first_name | there}}. Run on picks incoming calls, outgoing calls or both. Wait up to (seconds) (1 to 10, default 3) caps the wait, and incoming calls never wait more than 5 seconds. Retries is 0 to 2, default 1. If a lookup fails, the call goes ahead.
It also has the same Variables, Tools & documents and Chat sections as an Agent step.
Agent
The workhorse. Each Agent step has one focused Prompt for one part of the conversation.
- Tools lets the agent act during the conversation, such as checking a calendar. See Tools.
- Knowledge Base Documents lets it answer from your documents. See Knowledge.
- Variables to Extract turns what the person said into data. Give each variable a Variable Name, a Type and an Extraction Hint. A step with variables extracts them; a step without any does not. Extraction model picks the model that does it, with Default using the agent's extraction model.
- Allow Interruption (on by default) lets the person talk over the agent. Turn it off only for something that must be heard in full, such as a legal notice.
- Can book a call back lets the agent book a call back at the day and time the person agrees, inside your calling hours. Chat and browser calls have no number to call back, so nothing is booked there.
Keep steps small. A prompt that covers four goals gives you an agent that drifts between them.
Global step
A step the conversation can jump to from any other step, when the person says what its When line describes. Use it for things that can come up at any time: asking for a person, asking to be called back, an emergency, asking who is calling.
- When: one specific sentence about what the person says, at most 300 characters. For example, The caller asks to speak to a person, and nobody is hurt or in danger. A loose line fires on ordinary questions.
- After this step:
- Go back to where the call was returns to the step the conversation was on, keeping what was collected. Suits a transfer to a person: attach your transfer tool, and if the transfer does not go through, the call carries on where it was.
- Follow this step's arrows carries on from here. It needs at least one arrow out.
- End the call lets the agent end the call once this step's job is done. It must have no arrows out. A call me back later step uses this with Can book a call back on.
No arrow can point into a Global step. An agent can have at most 4 of them, because each one adds a choice to every step. Keypad steps never jump to one. A Global step works in chat as well as on calls.
End
Closes the conversation and, on a call, hangs up. It takes a Prompt for the closing line and can extract variables, which is the place to capture the outcome.
Disposition is the outcome this ending records, such as booked or not_interested. Give
each End step its own value: reports, filters and success counts read it. An agent may have
several End steps.
Persona
Not a step the conversation visits, and no arrow touches it. Its Global Prompt holds tone, persona and standing rules, and is added to every Agent and Global step. Put facts any step may need here too, such as opening hours, fees or the address. See Prompts.
How a conversation ends
A call ends in one of these ways:
- It reaches an End step.
- A Global step set to End the call finishes its job.
- The agent hangs up on its own, if you allow it. Open the agent's settings (the Workflow settings button on its card on the Workflow page), go to Call Handling > Ending the call and turn on Let the agent hang up on its own. It covers endings no path reaches, such as a goodbye three steps deep, and its reason becomes the call's disposition.
- The person hangs up, or a chat goes quiet past its idle timeout (see Chat).
On the same card, Questions the agent may still answer after saying goodbye (0 to 3) keeps the call open when the closing line asks something, and Stay on topic (on by default) keeps the agent to your business.
Keypad steps
Speech recognition struggles with long strings of digits, so use the keypad for things like account numbers. Keypad steps work on phone calls only, not in chat or browser calls. Some carriers don't pass key presses through; the builder warns you when a number or campaign this agent uses is on one.
Collect Digits
Collects digits and saves them under Store As, the name later steps and webhooks read.
- Expected Length completes the capture without waiting, when the length is fixed.
- Termination Key (typically
#) lets the person say they are done when the length varies. - Inter-digit Timeout (seconds) is how long to wait between presses.
- Max Retries caps how often it asks again.
Menu
The classic press 1 for sales. Menu Prompt reads the options, and each option is an arrow with a Keypad digit set on it, so a key press routes straight to that arrow. Draw at least two. Invalid / No-input Reprompt is what the person hears after a wrong key or silence, No-input Timeout (seconds) sets how long silence lasts first, and Max Retries caps the re-asks.
After-the-conversation steps
These run once the conversation is over, never during it, so the person never waits for them. For something the agent needs mid-conversation, attach a tool to a step.
Webhook
Sends the call details to a web address of yours after the conversation. The Basics tab holds the
Endpoint URL and Enabled. Payload holds the Payload Template, which can use values
such as {{workflow_run_id}}, {{initial_context.first_name}}, {{gathered_context.rsvp}},
{{recording_url}} and {{transcript_url}}. Sign-in and headers holds Authentication (a
saved credential) and Custom Headers.
After-call action
Runs one action on a connected app after the conversation, such as adding a row to a sheet. Pick the tool and map its fields from the conversation. It runs once, with retries. Prefer it over a Webhook when the app is in the integrations catalogue.
Arrows between steps
Steps are joined by arrows, which the editor calls pathways. Open one to set its Pathway name and its Condition, a sentence describing when the agent should take it, for example The contact asks about billing or an invoice. Optional Transition speech is a short line the agent says while it moves on. A Keypad digit binds the pathway to one key on a Menu step instead. When a step shows choices as buttons in chat, each pathway also gets Button text (see Chat).
The steps and arrows you see on the canvas are the conversation that runs.
Next
Write what a step says in Prompts, put steps together in the Builder, give a step something to do with Tools, or set up its chat side in Chat.
Common questions
Which step should I use for what?
Use Agent steps for each focused job, a Global step for things that can come up anywhere, like asking for a person, an End step to close the conversation, and Collect Digits or Menu when the contact should use the keypad.
What is a Global step?
A step the conversation can jump to from any other step when the contact says what its When line describes. An agent can have up to four.
How does a conversation end?
It reaches an End step, a Global step set to End the call finishes, the agent hangs up on its own if you allow it, or the contact hangs up.
What is the difference between a Webhook and an After-call action?
Both run after the conversation. A Webhook sends the call details to a web address of yours. An After-call action runs one action in a connected app, like adding a row to a sheet.
Do keypad steps work in chat?
No. Collect Digits and Menu need a phone keypad, so they only work on phone calls.