Skip to main content

Overview

A multi-prompt agent breaks your conversation into states. Each state has its own prompt, available functions, and transition logic. This gives you precise control over what the agent can do and say at each point in the conversation.

Structuring Conversation Flow

Design your agent as a sequence of states. Each state should have a single, focused purpose.
Keep each state’s prompt short and specific. Avoid putting all instructions in one state.

State Transitions

Use conditional logic to move between states based on what the caller says.
Transitions happen when the agent detects a condition is met. Define these explicitly so the agent doesn’t guess.

Function Integration

Each state can have its own set of functions. Only expose functions relevant to that state.
Do not expose booking or sensitive functions in early states (e.g. qualification). Only enable them in the state where they are needed.

Example — Lead Qualification Agent

1

State 1: Qualify the Lead

Gather basic information. No booking tools available.
2

State 2: Schedule the Demo

Booking tools are now available. Context from State 1 is carried over.
Start from the Lead Qualification template in your UponAI Dashboard to see this pattern pre-built and ready to customize.