Open in
Prompting guide
How to write a voice agent
Write the prompt the way you would brief a new receptionist: who they are and who they work for, how a call goes from the first line to the last, and the facts they may give out, in plain language and in any language. A caller hears the agent once, at speaking pace, and the agent reads the prompt on every turn and copies its wording closely. This page shows how to write for both, and gives three complete templates to start from.
The prompt style guide has every guideline in one place, with the ids (P1, W2 and so on) that prompt review cites when it checks a prompt.
Write the call in the order it happens
A short opening says who the agent is and how it talks. The call then follows in the order it happens: how it opens, what to find out, what to confirm, how it ends. Each rule sits in the step where it applies, not in a list of rules at the end. Plain headings help:
# Who you are
Your name, the business you represent, and in a few words how you talk:
short turns, warm, plain words.
# The call
How you open, what you find out and in what order, what you confirm, and
how the call ends. Each rule goes in the step where it comes up.
# Facts
What you may tell callers: hours, location, services, prices, policies.
# Handing off
When a person should take over, which transfer number to use, and what to
offer when nobody can.Lists are fine for facts the agent looks things up in, such as hours or prices. For behavior, write prose: a numbered list of rules, code-like headings or "see section 4" make the prompt harder to follow and to edit.
The prompt lives under the agent's Instructions; ask Zeus to review it against this guide. The old view's prompt editor shows estimated tokens and flags common problems — an empty prompt, placeholders that won't be filled in, or no way to hand a caller off. Longer prompts cost more per minute, because the agent reads the prompt on every reply; see pricing.
Tactics that matter on a phone call
Specific beats general
Vague instructions produce vague agents. Name the behavior you want:
| Instead of | Write |
|---|---|
| "Be careful with orders." | "Read the order number back and ask the caller to confirm it before you change anything." |
| "Be professional." | "Use the caller's name once you have it, and keep each turn to a sentence or two." |
| "Help with scheduling." | "Offer the two earliest open times, then ask which works." |
Write for the ear, not the eye
Callers hear the agent and can't skim or re-read. Ask for short turns and one question at a time, with the question as the last thing the agent says: anything after it talks over the caller's answer.
Short means few words, not clipped ones. Ask for complete sentences in the first person, the way a good receptionist talks on the phone: "I'll book that for you now" sounds natural, while a note-style "Booking that for you." sounds curt and email phrasing such as "Kindly hold" or "I hope this helps" sounds read out.
Keep each turn to one or two short sentences unless the caller asks for
more, and talk in the first person, the way a receptionist would on the
phone. Ask one question at a time, and make it the last thing you say.Keep symbols out of anything the agent will say: slashes, ampersands, "@", ".com" and phone numbers written without spaces come out oddly in speech. Spell out how an unusual name or acronym is said, and listen to new terms in the agent's voice with Talk before you keep them.
Confirm what would be costly to get wrong
Speech recognition mishears names, digits and addresses. Say in the flow what to confirm, at the step where the agent collects it:
Once you have the callback number, read it back and ask the caller to
confirm it before you book the appointment.Ask for the read-back in the form the value was given — an email address letter by letter, a phone number digit by digit. A summary read-back ("so that's your Gmail") confirms nothing. How fast the agent reads it back is the platform's job, so the prompt only says what to confirm.
Pick Plus hearing when the call turns on a spelled-out string
Phone calls are hard on spelled-out details. Emails, surnames, confirmation codes, and policy numbers are what gets misheard: "M" and "N" are close, the caller's "dot" survives as a word, and the domain comes back one letter off.
Plus hearing takes extra care on hard moments and is markedly better on spelled-out strings than Lite and Standard. If a call is only useful when the email or the reference number is exactly right, that difference is worth more than the price gap — see hearing.
Then put the check somewhere the prompt can't skip: declare
"format": "email" on the tool parameter that receives the address.
ThunderPhone repairs the usual transcript artifacts, and rejects what
it can't repair before your endpoint runs, so the agent re-asks
instead of writing a bad address into your system. See
Build a tool integration.
Describe the hard moments, not the words
The happy path writes itself; calls are won and lost everywhere else. For each situation you can foresee — a question the prompt doesn't cover, an upset caller, a wrong number — say what the agent should achieve and what it may offer, in the step where it comes up. Leave out "if the caller says X, say Y" lines: the agent repeats a scripted line word for word, so it sounds canned, and a list of branches leaves out the cases between them.
When a caller asks something these instructions don't cover, offer to have
a teammate call them back, and take their name and number.
When a caller is upset, acknowledge it once and keep to what you can do
for them. If they would rather talk to a person, transfer them to Front
desk.The opening greeting is the one line to write out word for word. When an example of wording helps elsewhere, give a few varied, full sentences and introduce them as examples ("For example, you might say ..."); clipped tags like "Still accurate?" sound terse once spoken.
Give every call somewhere to go
Every agent needs a way to hand off — a transfer number, a callback promise, or both. The prompt editor warns when it can't find one.
Describe call actions in the flow
Transfers, keypad presses, hold, and hang-ups need no separate tool — describe them in the step where they happen. Transfers go to the transfer numbers saved on the agent, by name; the agent sees only the names.
When the caller asks for a person, transfer them to Front desk.
When the phone menu asks for a department, press 2.
If you reach the billing menu, wait on hold until a person answers.
Once the caller has nothing else, say goodbye and end the call.For routing rules, screened handoffs, and failure fallbacks, see Transfer calls. For all other platform actions, see Built-in tools.
Leave settings to the settings
Some things are agent settings, and prompt text about them is ignored or conflicts with them: what the agent says while a tool runs, filler phrases, silence check-ins and what happens after a long silence, how a read-back is paced, the language-switching style, the recording notice, and whether the agent or the caller speaks first. Set those in agent settings, and keep the prompt on the outcome ("confirm the email address before you save it"). The opening greeting itself is written in the prompt.
Facts belong in knowledge, behavior in the prompt
Don't paste your website into the prompt. Attach a knowledge base and the agent searches it mid-call — the prompt stays short, and updating a policy doesn't mean re-editing the prompt. Keep the prompt for who the agent is, how the call runs and the few facts every call needs; put catalogs, FAQs, and long policy text in knowledge. The agent may say only facts it was given.
Personalize per call with variables or dynamic config
A placeholder such as {{customer_name}} in the prompt is filled from the
variables you send when a call starts; see
per-call variables. A placeholder with no value
on a call becomes empty text. Instructions lists the prompt's placeholders
as a reminder that nothing fills them unless the call sends variables,
test calls included. To change more of the prompt per caller (VIP routing,
logged-in user context), rewrite it at call time with
dynamic call config.
Write in the language you want to hear
The prompt can be written in any language, and the agent follows it. Which language the agent speaks is set separately — the primary language starts the call, and the agent can switch to any of its additional languages when the caller uses one, asking first unless you set it to follow the caller (see Switching language).
When a call goes wrong
Fix the cause with the smallest general change:
- Check the configuration first. Mishearing spelled letters is an audio limit (try Plus hearing); a slow reply may be the intelligence tier, the hearing tier or the reply speed setting.
- Add the principle, not a patch. State the general rule or the missing fact the agent needed. The failing call's names, numbers and exact words stay out of the prompt.
- Take away before you add. When an existing rule is too specific, too broad or in the wrong place, change or remove it rather than adding a counter-rule next to it.
- Make an ignored instruction clearer, not louder. Capitals, "IMPORTANT" and stacked "never"s draw the model to one rule and make it worse at the rest of the call. Make the instruction more specific, or move it to the step where it applies.
Prompts that have collected many small fixes drift: rules repeat, conflict,
or sit far from the step they govern. Prompt review reports
refactor_suggested when that happens, and a refactor rewrites the prompt
into this shape while keeping every behavior it asks for.
Templates
Three complete prompts to copy, then make yours: swap in your business facts, transfer numbers, and policies.
Front-desk receptionist (inbound)
Save Emergency line and Office manager as transfer numbers on the agent.
# Who you are
You are June, the receptionist for Lakeview Dental in Portland. You sound
warm and unhurried, keep each turn to a sentence or two, and ask one
question at a time.
# The call
Open with: "Thanks for calling Lakeview Dental, this is June. How can I
help?"
Find out what the caller needs. If they are in pain or say it's an
emergency, transfer them to Emergency line right away.
For an appointment, ask what it's for, then offer the two earliest open
times and ask which works. Once they pick one, take their full name and a
callback number. Read the number back and ask them to confirm it before
you book.
When they ask about a price, give it if it's listed under Facts; for any
other procedure, tell them the dentist confirms the price at the visit.
For anything you can't do on this call, take a message: their name, their
number, and what it's about.
Before you finish, ask whether there's anything else. Once there isn't,
say goodbye and end the call.
# Facts
We're open Monday to Friday, 8 am to 5 pm, at 1420 Alder Street.
We offer cleanings, fillings, crowns, and emergency visits.
New-patient cleanings are $95. We don't do orthodontics.
# Handing off
When a caller asks for the office manager, transfer them to Office
manager. For anything else that needs a person, offer a callback.Order support with a lookup tool (inbound)
Attach an API connection or connected app for the order lookup, a knowledge base holding the returns policy, and a Support team transfer number.
# Who you are
You are the support agent for Brightbox, an online electronics store.
You're friendly and direct, and honest about what you can and can't do.
Keep turns short and ask one question at a time.
# The call
Open with: "Thanks for calling Brightbox support. What's your order
number?"
Read the order number back digit by digit and ask the caller to confirm
it before you look anything up. Then use the Get order tool, and tell the
caller the order's status and delivery estimate in plain words.
For return questions, search the knowledge base and follow the policy it
gives. Offer only what your tools can do: you can start a return, and
refunds and replacements are decided by the support team.
If a tool fails twice, stop retrying and offer a callback.
# Handing off
Refund requests over $200, damaged items, and anything the caller says is
urgent go to Support team. When a caller asks for a person at any point,
transfer them to Support team.Appointment reminder (outbound)
For outbound calls, also set who speaks first and voicemail
handling in
advanced call behavior —
the prompt covers the conversation, the settings cover the pickup. Send
patient_name and appointment_time as
call variables when you place each call.
# Who you are
You call on behalf of Lakeview Dental to confirm upcoming appointments.
You're brief and courteous; the whole call takes under two minutes.
# The call
Open with: "Hi, this is June from Lakeview Dental. Am I speaking with
{{patient_name}}?"
Once you know you have the right person, tell them their appointment is
{{appointment_time}} and ask whether it still works. If you reach someone
else, ask when is a good time to reach the patient, and say nothing about
the appointment.
If the time works, thank them and end the call. If it doesn't, offer the
two earliest open times and rebook, or take a note for the front desk.
If they seem unsure who is calling, give the clinic's name again and offer
to end the call. If they ask not to be called again, apologize, tell them
you'll note it, and end the call.
# Handing off
For billing or treatment questions, tell them the front desk will call
them back, and note the question.Iterate until it survives real callers
No prompt is right on the first draft. The loop that works:
- Talk to it. Open the agent's Test and call it from your browser; probe the edges yourself — interrupt it, go off script, mumble a phone number. This is the fastest tweak-and-retry loop.
- Simulate calls. An AI caller runs whole conversations against your agent, scenario by scenario.
- Build a validation set. Turn the scenarios you care about into a repeatable suite you rerun after every prompt change.
- Split-test in production. When two phrasings both seem fine, let real calls decide.
A coding agent can run this loop for you, from reviewing the prompt to replaying real calls against each edit; see Build with Claude Code, Codex or Cursor.
Every change is a version in the agent's History & trials, so prompt changes are safe to ship often — you can inspect the diff and undo or restore at any time.
Next steps
Every guideline prompt review checks, with its id.
End to end: prompt, settings, voice, tools, going live.
Give the agent facts to search instead of a longer prompt.
Intelligence, hearing, who speaks first, voicemail, silence check-ins, and more.