Skip to main content

Pathways

Pathways are the conversation flows that guide how your agents interact with users. They define the logic, branching, and actions that occur during a conversation.

What Are Pathways?

A Pathway is a visual or code-defined flow that determines:
  • What questions the agent asks
  • How it responds to user input
  • When to take actions (book appointment, transfer call)
  • When to escalate to a human

Pathway Components

Nodes

Nodes are the building blocks of pathways:

Conditions

Conditions control conversation branching:

Actions

Actions trigger external operations:
  • API Call — Send data to external systems
  • Book Appointment — Create calendar entries
  • Send SMS — Dispatch text messages
  • Update CRM — Modify customer records
  • Transfer Call — Route to human agents

Creating Pathways

Visual Builder

The visual builder provides a drag-and-drop interface:
1

Open Pathway Editor

Navigate to your Crew and select Pathways
2

Add Start Node

Every pathway begins with a Start node
3

Build Flow

Drag nodes onto the canvas and connect them
4

Configure Nodes

Set messages, conditions, and actions for each node
5

Test

Use the simulator to test your pathway

Code Definition

For complex logic, define pathways in code:

Common Patterns

Intent Classification

Route conversations based on user intent:

Information Collection

Gather required data before taking action:

Escalation Flow

Gracefully hand off to humans:

FAQ Handling

Search and respond from knowledge base:

Variables and Context

Pathways maintain conversation context:

Built-in Variables

Testing Pathways

Simulator

Test pathways without making real calls:
  1. Open the Pathway Editor
  2. Click Simulate
  3. Type responses as if you were the user
  4. Verify the agent follows expected paths

Staging Environment

Deploy pathways to a staging Crew before production:

Best Practices

Design the ideal conversation first, then add error handling.
Avoid deeply nested pathways. If a branch is complex, create a sub-pathway.
Users should always be able to reach a human or end the call.
Add catch-all nodes for unrecognized input.
Simulate real scenarios, including edge cases and mistakes.

Pathway Limits

Next Steps