Blog

How to write a voice agent prompt that works

Guides · 23 November 2026 · 5 min read
A person writing notes in a notebook beside a laptop on a wooden desk

A voice agent prompt tells your AI agent who it is, what the call is for and what to do when something goes wrong. A good one is short and written for speech. Here is how to write one, with a template you can copy.

Why a voice prompt is different

People cannot skim a phone call. A long answer that looks fine on a screen feels endless when it is spoken, and a caller cannot scroll back to check a date. So your agent needs to ask one thing at a time, keep replies short, and read back anything important.

The two fields that matter first

In Nixflex, you write these on your agent's page:

What to include in your prompt

Write in plain language, with one job for each part.

PartWhat to write
IdentityYour business name, the agent's role, and who it talks to
PurposeWhat this conversation should achieve
Essential factsOnly what it needs on almost every call
ConversationThe questions to ask, one at a time
ActionsWhen to use each connection, such as your calendar
UncertaintyWhat to do when it does not know
FinishHow to end politely, or when to hand over to a person

An AI voice agent prompt template

Copy this and change it for your business. Bright Auto is a made-up example.

You are the front desk assistant for Bright Auto, a car garage.

Help callers understand our services and book a visit.

Ask which service they need, then their preferred day and time.
Ask one question at a time, and keep your replies short.

Use the approved knowledge for prices and services. Never invent a price.
Check the calendar before offering a time.
Read back the service, day and time before you confirm.
Only say a visit is booked after the calendar confirms it.

If you do not know an answer, say so, and offer to take a message.
If the caller asks for a person, transfer the call.
When you are finished, thank them and end the call politely.

Five mistakes to avoid

  1. Putting everything in the prompt. Keep rules and common facts in the prompt, and put detailed prices, menus and policies in your knowledge base. With knowledge on, your prompt has a budget of 3,000 tokens. A token is a small piece of text, not one word.
  2. Saying something is done before it is. Tell your agent to say a booking is made only after the calendar confirms it.
  3. Leaving out the unknown. If you do not say what to do when it has no answer, it may guess. Give it a way out, such as taking a message.
  4. Expecting a prompt to switch things on. Writing "send a text" does not give your agent that ability. Connect your calendar, transfers, texts and custom functions first.
  5. Repeating yourself in capital letters. One clear instruction is better than a long list of warnings.

Five tests before real callers hear it

Call your agent and try:

  1. An ordinary question.
  2. A question it has no answer for.
  3. Talking over it mid-sentence.
  4. Changing your mind about a booking.
  5. Something that fails, then check the real calendar or message.

Typed tests help with facts, but only a real call shows you the speech and the timing. For anything people have to be told, read our guide to AI call disclosure.

Keep reading

Try it on a real call.

New accounts get $10 of free credit. No subscription.