When to use Pathways
Use Pathways when a Single Prompt would get too complicated to manage as a single block of instructions — for example, a call that must collect information in a specific order, branch based on the caller’s answers, or hand off to a human at a specific point.Node types
| Node | Purpose |
|---|---|
| Begin | The entry point of the pathway. Every pathway has exactly one. |
| Conversation | A step where the agent talks with the caller. Holds its own prompt, available tools, state captures, and transitions to other nodes. |
| Action | Performs an action instead of talking — transfer the call (transferCall), or hand off over SIP (sipColdTransfer for a cold transfer, sipWarmTransfer for a warm transfer). |
| End call | Ends the call. |
| Return | Resumes the most recent conversation node — useful as a fallback destination after a Global node interrupts the flow. |
| Global | Can be triggered from any conversation node, based on a natural-language condition you describe rather than a fixed transition. |
Build a pathway
Open the Pathways editor
Create a new agent and choose Pathways as the script type, or open an existing Pathways agent.
Add your begin node
Every pathway starts with a single Begin node — it’s added automatically as the starting point.
Add conversation nodes
Add a Conversation node for each step of the call. Write the prompt for that step, and add any tools or state captures it needs.
Wire up transitions
Connect nodes with edges to define how the conversation moves from one step to the next.
Add action, end, and global nodes as needed
Add Action nodes for transfers, End call nodes to close out the conversation, and Global nodes for conditions that should be reachable from anywhere in the flow.