Multi State Agent Prompt
Learn how to build structured, consistent AI conversations using Multi State Agents.
Building and Using Multi State Agents
Multi State Agents are designed for structured, consistent conversations. They break a call into clearly defined stages (states) with specific prompts, allowed behaviors, and transitions. This approach is best when you need predictable, repeatable outcomes and adherence to required or compliant messaging.
Single State Agents remain the better choice for adaptive conversations, where one prompt can guide the interaction without strict stage boundaries.
When to Use Single State vs. Multi State
Use a Single State agent when:
- The conversation can be handled with one prompt and general guardrails.
- You want the model to adapt freely without predefined checkpoints.
- Branching is light and strict stage control isn’t required.
Use a Multi State agent when:
- You need a highly repeatable script with required language and checkpoints.
- Each phase has clear entry and exit criteria.
- Compliance or consistency requires explicit transitions.
- Actions must occur at specific, defined points in the flow.
Examples suited to Multi State (structured and consistent):
- Identity verification → required disclosures → qualification → transfer.
- Claims intake with required fields, confirmation read-back, and attestation.
- Regulated sales workflow with scripted consent, eligibility checks, and disclosures.
- Retention or cancellation process with defined stages and outcomes.
Building a Multi State Agent
When you create a new agent, choose Single State or Multi State. You can update configurations later, but you cannot switch the build mode between single and multi after creation.
A Multi State Agent has three main components:
- Agent details
- Multi State canvas (includes conversation start, prompt nodes, and action nodes)
- Prompt transitions
Agent Details
The Agent Details page defines settings that apply across every node:
- Agent name and description
- Voice and language
- Global prompt and guardrails
- Common objection/question handling
- Call settings (Reminders, End Call on Silence, Max Call Length)
- Global knowledge bases
How the AI uses context
- The AI has access to the conversation transcript, including previous actions.
- It uses both global settings and the current node’s prompt/configuration at any given time.
- Node prompts are appended to the global prompt on each node; prompts from other nodes aren’t active.
Multi State Canvas
The Multi State Canvas is the visual builder where you design your agent’s conversation flow.
It contains the conversation start, all prompt and action nodes, and the connections (transitions) between them.

Within the canvas you can:
- Set the conversation start, choosing who begins the call and how:
- Agent (Dynamic Message): The agent opens with a generated message based on context.
- Agent (Static Message): The agent opens with a scripted, fixed message (best for disclosures).
- Contact: The agent waits for the contact to speak first. If the contact remains silent, the call ends after the configured End Call on Silence timeout.
- Add and organize nodes to represent each stage of the conversation.
- Draw connections between nodes to define transitions and outcomes.
- Rename nodes, view node types, and navigate across stages visually.
- Test flows by following how the AI moves through nodes during simulation.
The canvas gives you an at-a-glance view of your agent’s structure, ensuring your flow is clear, consistent, and easy to maintain.
Prompt Nodes
Prompt nodes define scripted or constrained behavior within a stage.

In a prompt node, you can:
- Name the node.
- Choose a prompt style:
- Prompt — Provide instructions for how the agent should behave in this stage.
- Say exactly — The agent says the text exactly as written (useful for required disclosures).
- Insert contact attributes for personalization.
- Block interruptions for compliance or required statements.
- Define transition conditions to control when the agent should move on.
Important:
- No actions can be triggered in a prompt node. Actions must occur in separate action nodes.
- If no prompt transitions are defined, the agent automatically moves to the next node once it completes its turn in the current node.
Common uses include:
- Delivering a required disclosure verbatim, then checking acknowledgment.
- Conducting a scripted Q&A before progressing.
- Providing a fixed summary or next-step explanation.
Action Nodes
Action nodes execute specific operations at defined points in the flow. Each action must be its own node.

In an action node, you can:
- Select or create the action (setup mirrors the standalone action documentation).
- Block interruptions when the action must complete uninterrupted.
- Define transition conditions to move to the correct next node based on outcomes.
Common uses:
- Triggering a warm transfer after eligibility checks and disclosures.
- Writing data to a system of record, then transitioning based on success or failure.
- Sending follow-ups or confirmation messages after a scripted stage.
How Prompt Transitions Work
Prompt transitions determine when and how the agent advances from one node to another.
- Transition prompts are evaluated after each turn.
- The AI checks each transition condition to decide the next node.
- If no condition is met, the agent remains in the current node.
- If no transitions are defined, the agent automatically continues to the next node after completing its message or task.
- Transition logic can depend on contact responses, variable values, or action results.
In the Test UI, you can view both the transition path and the LLM rationale explaining why a particular transition occurred.
Testing and Behavior
- Transition evaluation occurs after every AI turn.
- The AI uses the conversation history plus the current node’s context.
- Node prompts are appended to the global prompt.
- Contact and task attributes behave the same as in Single State agents.
- For the “Contact” start mode, the agent waits until End Call on Silence if the contact does not speak.
Best Practices for Structured Flows
- Design the conversation as stages with clear entry and exit criteria before building.
- Use Say exactly for required or compliance language, and block interruptions as needed.
- Keep each node focused on a single purpose (e.g., verify identity, read disclosure, capture consent).
- Place every operation (transfer, API call) in its own action node.
- Name nodes clearly (“ID Verification,” “Disclosure A,” “Qualification,” “Outcome Summary”).
- Use Multi State when you need repeatable, consistent steps; use Single State when flexibility is more important.
Summary
Multi State Agents enforce structure and consistency through defined nodes, transitions, and a clear visual canvas. They’re ideal for scripted, compliant, and predictable conversations. Single State Agents are best for adaptive interactions where a single prompt and flexible context are sufficient.
Updated 5 days ago