# AI Voice Agent Prompt Template: The 6-Part Structure Behind Our Call Templates

> A fill-in AI voice agent prompt template with six sections (role, opening line, steps, collect, rules, ending), filled-in examples for support, sales and booking calls, and how to test it.

Source: https://edesy.in/blog/voice-agent-prompt-template-structure-2026

A voice agent prompt is not a chat prompt. On a call, every word the model produces is spoken aloud, the caller can't scroll back, and silence feels like a dropped line. A prompt that works in a chat window ("Be helpful and thorough") makes a phone agent that talks too long, asks three things at once and never hangs up.

The quick-start templates in the [Edesy AI Voice Agent](https://edesy.in/ai-voice-agent) all share one structure built for the phone. This post gives you that structure as a fill-in template, shows it filled in three ways, and explains why each section is there. If you would rather start from a working agent than a blank page, the [voice agent template gallery](https://edesy.in/ai-voice-agent/templates) has 75 of them.

## The six sections

1. **Role**: who the agent is and which way the call goes (answering or calling out).
2. **Opening line**: the exact first sentence.
3. **What to do**: the steps of the call, in order.
4. **Collect**: the fields you want at the end of the call.
5. **Rules**: how to talk, and what never to say.
6. **Ending the call**: when to stop, and how.

That's it. Notice what's missing: no "You are a world-class assistant", no list of the company's values, no essay about tone. Those things don't change what the agent does on a call.

## The fill-in template

Copy this into the agent's system prompt and replace everything in square brackets.

```text
## Role
You are a [job, e.g. booking assistant] for [company], [answering an incoming phone call / making an outbound call to someone who enquired about X].

## Opening line
Start with: "[One short sentence that says who is calling or answering, and asks one question.]"

## What to do
1. [First thing to find out.]
2. [Second step. If it depends on the answer, say what to do in each case.]
3. [The core of the call: answer, look up, offer, or agree a next step.]
4. Read back once: [the details that must be right, e.g. date, time, order number].
5. Tell them what happens next and when.

## Collect
- [Field 1, e.g. full name]
- [Field 2, e.g. order number, or the phone number on the order]
- [Field 3, e.g. preferred day and time, plus a backup]

## Rules
- Keep every reply to one or two short sentences. This is a phone call.
- Ask one question at a time and wait for the answer.
- Never invent [prices, dates, policies, order details]. If you don't know, say someone will follow up.
- Confirm numbers by repeating them back digit by digit.
- [Your business rule, e.g. "Never promise a refund. Take the details and say the team will call back within a day."]
- [Escalation rule, e.g. "If the caller asks for a person, transfer the call."]

## Ending the call
When [the goal is met / the caller declines / the caller says goodbye], say a short goodbye and call the end_call function. Don't wait for them to hang up.
```

For outbound calls, add one more section before the ending: **Voicemail**. Tell the agent what voicemail sounds like ("please leave a message", an automated voice, no reply to the greeting) and to end the call without leaving a message. The Sales Outbound quick-start template does exactly this.

## Why each section is there

**Role.** One sentence sets the direction of the call. An agent that knows it is calling out will introduce itself and ask for permission to talk; one that is answering will offer help. Mixing them up is the most common reason an outbound agent sounds odd.

**Opening line.** This is the only place we write exact words. The first sentence sets the caller's trust, and a model left to improvise often opens with a paragraph. Keep it under 20 words and end it with a question, so the caller knows it is their turn.

**What to do.** Numbered steps keep the model on track. Write branches inline ("If they don't have the order number, ask for the phone number on the order") instead of in a separate section, because the model reads the steps in order.

**Collect.** A short list of fields gives the call a finish line, and it is what post-call extraction pulls into your CRM or sheet. If a field isn't in this list, don't expect it in your data.

**Rules.** Rules are where real calls teach you things. The four in the template come up on almost every deployment; your own come from listening to calls. The post on [prompt rules from real deployments](https://edesy.in/blog/ai-voice-agent-prompt-rules-real-deployments-2026) lists ten we added after reviewing live calls.

**Ending the call.** Without this, agents keep chatting after the job is done or wait in silence for the caller to hang up. Name the conditions and tell the agent to call `end_call` itself.

## Filled in: three examples

### Inbound support line

The [Customer Support template](https://edesy.in/ai-voice-agent/templates/customer-support) opens with "Thanks for calling. How can I help you today?" Its steps are: let the caller explain without interrupting, ask one question at a time until the issue is clear, give an answer or the exact next step with a timeframe, and ask if there is anything else. It collects the caller's name, an order, account or ticket number if they have one, and a callback number. One rule worth copying: "If they sound upset, acknowledge it once, then move to the fix."

### Outbound sales call

The [Outbound Sales template](https://edesy.in/ai-voice-agent/templates/outbound-sales) opens with "Hi, am I speaking with the account holder? I'm calling from our sales team. Do you have two minutes?" Asking for time first matters on outbound calls: people who say yes listen; people who are busy get a callback instead of a hang-up. Its rules say to respect a no and never push twice.

### Booking line

The [Appointment Booking template](https://edesy.in/ai-voice-agent/templates/appointment-booking) opens with "Thanks for calling. Would you like to book, reschedule or cancel an appointment?" One rule here prevents a real failure: "Never confirm a booking you haven't actually made." An agent without a calendar tool will otherwise happily say "You're booked" and nobody will turn up. Either connect your booking system as a [custom function](https://edesy.in/docs/voice-agent/features/function-calling), or have the agent take the request and say the team will confirm.

## Variables: one prompt, many businesses

Write anything that changes per business or per caller as a variable in double braces: `{{company_name}}`, `{{support_hours}}`, `{{customer_name}}`. Values you set once (company name, hours) go in the agent; values that change per call (the customer's name, the EMI amount) come from the columns of the contact CSV in a campaign. The app reads the `{{variables}}` in your prompt and greeting and builds the CSV template for you. See [CSV upload and variables](https://edesy.in/docs/voice-agent/campaigns/csv-upload).

## Indian-language prompts

Keep the six sections and add a short **Language** block under Role:

- Which language to default to, and that the agent should switch only if the caller keeps speaking the other one.
- Which English words to keep as they are (order, delivery, EMI, flat, BHK).
- That everyday spoken language beats formal or literary language.

The template library has native and bilingual variants for ten Indian languages, so you can usually start from one already written in your language. The [language variants guide](https://edesy.in/docs/voice-agent/templates/language-variants) explains which to choose. For ready Hindi phrasing, see [Hindi AI calling scripts](https://edesy.in/blog/hindi-ai-calling-scripts-outbound-2026).

## Test it before you go live

Run five test calls in the browser before a single real one:

1. A cooperative caller who answers everything.
2. A caller who gives the answer to step 3 while you're on step 1.
3. A caller who says no, or "call me later".
4. A caller who switches language halfway.
5. A caller who asks something the prompt doesn't cover.

Then change one thing at a time. If you're testing two versions of an outbound opener, run them as separate campaigns and compare outcomes, as described in [A/B testing AI call scripts](https://edesy.in/blog/ab-test-ai-call-scripts-2026).

## Start from a template instead

The fastest way to get a good prompt is to edit a good one. Open the [template gallery](https://edesy.in/ai-voice-agent/templates), pick the job closest to yours, and [create the agent free](https://voice-agent.edesy.in/signup). Every template uses the structure above, so you will recognise where to put your own rules.

## Frequently Asked Questions

### How long should a voice agent prompt be?

Long enough to cover the steps, the fields to collect and the rules, and no longer. Our quick-start prompts are a few hundred words each. Every extra paragraph is something the model may try to say out loud.

### Should I write the exact words the agent says?

Only for the opening line and for sentences that must be said exactly, such as a recording notice. For everything else, describe what the agent should do and let the model phrase it to fit the caller.

### Do I need a different prompt for Hindi or Tamil callers?

The structure stays the same. Add a language section that says which language to default to, when to switch, and which English words to keep as they are, or start from a language variant of the template.
