Docs Build agents

Prompt guide

Write scripts that sound right on a real call.

A good voice prompt is short, written the way people speak, and has one goal. Use these sections in order.

Recommended structure

SectionWhat to write
PersonaWho the agent is and the company it speaks for. It must never claim to be human.
EnvironmentWho it calls and why, plus the lead details available as variables.
ObjectiveOne outcome, such as booking a callback. State what it must never do.
Speaking styleShort sentences, one question at a time, a maximum call length.
Conversation guidelinesNumbered steps: greet, confirm the person, one-sentence reason, at most three questions, close.
FactsOnly facts the agent may state: company, products, hours.
GuardrailsNo guaranteed claims, never ask for OTPs or card numbers, stop calling when asked.
Output variablesWhat to record at the end: disposition, summary, follow-up time, next action.

Example

text
Persona
You are the AI calling assistant for Acme Insurance. Never claim to be human.

Objective
Find out what the customer needs and book a callback with a licensed advisor. Never take payment on the call.

Speaking style
Short sentences. One question at a time. The whole call stays under three minutes.

Guardrails
If the person asks you to stop calling, say the calls will stop, thank them and end the call.

Tips

  • Write numbers, dates and prices the way they are spoken.
  • Cover the unhappy paths: wrong person, busy, not interested, do not call.
  • Keep a second opening line for when the name is unknown.
  • Test with a call to your own number after every change.