Building a Multi-Step Flow
Getting Started
- Go to Agents → Create → Conversation Flow
- You’ll see a canvas with a Start node
- Add nodes by clicking + or dragging from the palette
Designing Your Flow
Think of the call as a series of stages:
- Greeting — introduce the agent, verify who’s calling
- Discovery — understand what the caller needs
- Action — perform the task (schedule, look up, process)
- Confirmation — confirm what was done
- Closing — wrap up and end the call
Connecting Nodes
- Each Conversation node can have multiple exit conditions
- Define transitions: “When the user provides their name → move to Discovery”
- Use Logic Split nodes for if/then branching
Custom Functions in Flows
- Function Call nodes let you hit external APIs mid-conversation
- Example: call your CRM to check appointment availability
- The response data can be used in subsequent Conversation nodes
- Define the function signature (URL, method, parameters) in the node config
Code Nodes
- Write JavaScript that runs server-side
- Useful for data transformation, calculations, or conditional logic
- Has access to conversation variables and function results
Flex Mode
- Combines structured flow with free-form conversation
- Agent follows the flow structure but can handle off-script questions naturally
- Best of both worlds for production use