How to create an AI voice agent from a template

Create an AI voice agent from a ready-made template in Tone (usetone.ai): COD, clinic, insurance or real-estate calls in Hindi or English, tested free.

TutorialThe Tone team 4:08 video 10 min readbeginner

Plays from YouTube in privacy-enhanced mode. Nothing loads from YouTube until you press play. The video covers every step below, so watch or read.

You can create an AI voice agent in Tone (usetone.ai) in about five minutes by starting from one of six ready-made templates, then test-calling it free in your browser before it ever rings a customer. This tutorial builds a COD order confirmation agent for an online store, the call most Indian D2C brands automate first. You need only a Tone account: no prompt writing, no +91 number, no business verification and no money in the wallet until you want real calls, which cost ₹5 per connected minute on the Developer plan (frontend/lib/published-rates.ts).

The video above covers every step below, so watch it or read on.

Before you start

  • A Tone account. Sign up free with your email or Google. Nothing else is needed for this tutorial.
  • Later, for real calls: your business verified (GSTIN or PAN), money in the wallet, and a +91 phone number. Each has its own tutorial; none of them is needed to build and test an agent.

What an AI voice agent template includes

An AI voice agent is the voice that makes or answers your calls: a set of instructions, a language and a voice, run by speech recognition, a language model and speech synthesis. A Tone template fills in all of it for one job:

  • Instructions. What the agent does on the call, in the order it does it, and what it must never do. The COD template, for example, never reads an order out to anyone but the customer, and never asks for an OTP.
  • Call purpose. The class of call under India's TRAI rules. Confirming an order is transactional, so no calling window applies; a sales call is promotional and may only go out between 9 am and 9 pm.
  • Opening line. Every call starts with a fixed introduction, "Hi, I'm Anaya Fashion's digital assistant", then the opening line: "I'm calling about the order you just placed. Am I speaking with Rahul?"
  • Call inputs. Values you send with each call, written into the instructions as placeholders like {{customer_name}}. Send customer_name = Rahul and the agent asks for Rahul.
  • Data to capture. What the agent records after the call ends, such as whether the order was confirmed and why it was cancelled.
  • Language and voice. The languages the call can be in and the voice that speaks them.

Which template should you pick?

The gallery holds six templates, in this order (counts from backend/src/agent-templates/templates/, 4 December 2026):

TemplateUse it whenCall purposeCall inputsDetails captured
COD order confirmationCash-on-delivery orders need confirming before you shipTransactional77
Motor insurance renewalA policy is about to expire (one agent covers the 30, 7 and 1 day reminders)Service85
Real estate lead qualificationPortal or ad enquiries need qualifying for a site visitPromotional1010
Clinic front deskPatients call for timings, fees and appointmentsService814
Cart abandonment recoveryA checkout started and did not finishPromotional1010
Event invite & RSVPYou need a headcount from an invite listPromotional1010

When a template is the wrong start. If none of these is close to your call, choose Start blank and write the instructions yourself, or with Genie, the editor's writing assistant. And a promotional template is not a shortcut around the rules: in India its calls need a 140-series number, DLT registration, a DND scrub, documented consent, and the 9 am to 9 pm window, which Tone's pre-dial check enforces before every call. That is how Tone applies the TCCCPR rules, not legal advice; what TRAI's rules require has the detail and the sources.

Step 1: Pick a template

  1. Open Agents from the left rail and click Create agent.

  2. Choose Start from a template. The gallery opens: "Pick a starting point. It opens as a draft you can change before it takes calls."

    The template gallery in Tone, with six AI voice agent templates such as COD order confirmation and motor insurance renewal

  3. Read the cards. Each one says what the agent does, its call purpose, and how many call inputs it needs and details it captures. The COD card reads "Transactional · 7 inputs · 7 extracted".

    The COD order confirmation template card: what it does, its purpose, 7 inputs and 7 extracted fields

  4. Click Use this template on COD order confirmation.

The editor opens on a new agent called COD confirmation, marked Draft and v1. Creating it already saved version 1, but a draft takes no real calls.

Step 2: Put in your business details and opening line

The checklist at the top, Finish setting up, shows two of five steps done: Instructions and Opening line. The rest are Make a test call, Assign a number and Go live.

The agent editor in Tone after choosing a template: the setup checklist, the Agent tab and the test panel

  1. Under Basics, check Call purpose. It is Transactional: "OTPs, alerts, confirmations. No calling window applies." Leave it.

  2. Under Opening line, type your store's name into Business name, for example Anaya Fashion. The hint below it updates to what callers hear first: "Hi, I'm Anaya Fashion's digital assistant."

    The Opening line card with the business name filled in and the outbound opening line below it

  3. Read When the agent calls someone. That sentence follows the introduction on every outbound call. You can rewrite it; it is translated into the agent's other languages when you save.

  4. Click Save draft at the top of the page.

Save matters: a test call always runs the saved agent, never unsaved edits.

Step 3: Check the call inputs and the data it captures

Scroll down the Agent tab to Call inputs: "Values you pass when a call starts." The COD template has seven, and three are required, because the call makes no sense without them:

Call inputRequiredExample
business_nameYesAnaya Fashion
customer_nameYesRahul
order_valueYes1499 (digits only; the agent says "rupees")
order_idNoAF-10482
item_summaryNo2 cotton kurtas
delivery_cityNoPune
expected_deliveryNoFriday

The Call inputs card: each input's name, a default value, a description and whether it is required

A blank input is never guessed: if the amount is missing, the agent says it does not have that detail rather than inventing one.

Then open the After the call tab. Data to capture lists what is "pulled from the transcript after every call and stored on the call record": for COD, order_confirmed (confirmed, cancelled, wrong number, unclear or no answer), cancellation_reason, cash_ready, address_confirmed, delivery_note, alternate_number and wants_human_callback.

The After the call tab, listing the data the COD agent captures, starting with order_confirmed and cancellation_reason

Step 4: Choose the language and voice

Open Voice & model. The AI stack card shows "the models that hear, think and speak on this agent's calls":

  • Primary language: Hindi. "The call opens in it."
  • Other languages: English. "The agent switches when the caller does."
  • Language model, Speech to text, Text to speech and Voice, with a Hear it button that plays a sample before you call.

The Voice and model tab: Hindi as the primary language, English as another language, and the language model, speech-to-text and voice choices

For an English-first business, make English the primary language. Leave the models as they are for a first agent; the voices page in the docs explains each choice.

Step 5: Test it free in your browser

The Test panel on the right calls the agent through your browser's microphone. It says so at the top: "In your browser · free", and "Runs your saved draft. Real calls still run v1."

  1. Open Call inputs in the test panel and fill in an example order. These values are used on the next test call only.

    The test panel's call inputs filled in with an example order for Rahul

  2. Click Start test call and allow the microphone when the browser asks.

  3. Answer as your customer would. The agent introduces itself, asks whether it is speaking to Rahul, reads out the order, and asks for a landmark for the delivery. "Pause when you finish a sentence; interrupt it to test barge-in."

  4. Speak English and it switches to English. Say goodbye, or wait for it to finish: the agent ends the call itself.

The test panel after a test call, with the transcript of each turn and the note that the agent ended the call

Test calls are free within a daily allowance: 10 a day until your business is verified, 200 a day after (the defaults in backend/src/config/env.schema.ts, which production uses). Chat in the same panel tests the agent by text, with its own allowance of 50 a day, then 500.

Step 6: Save and publish

When the agent sounds right, publish it, so that new calls run what you tested.

  1. Click Publish v2 at the top of the page. It appears once a saved draft differs from the version calls run.

  2. Read the dialog: "Calls placed or answered after this run v2. Calls in progress finish on v1", with what changed since v1.

    The Publish v2 dialog, showing what changed since version 1

  3. Click Publish v2.

Publishing does not switch on real calls. That is Takes real calls on the Deploy tab, which stays off until the agent has a number.

Check that it worked

  • The transcript of your test call shows the agent using your inputs: the customer's name, the items and the amount you typed.
  • The checklist shows Make a test call done.
  • The header shows v2, and Calls are running v2.

Settings the template fills in

SettingWhereCOD template defaultWhen to change it
Agent nameAgent tabCOD confirmationAny time; callers never see it
Call purposeAgent tabTransactionalOnly if the call is really something else
Business nameAgent tab{{business_name}} (sent per call)Type your name if the agent calls for one business
Opening lineAgent tab"I'm calling about the order you just placed…"To match how your store speaks
InstructionsAgent tabThe COD scriptTo change what it asks; Genie can help
LanguagesVoice & modelHindi, then EnglishFor other customers' languages
Data to captureAfter the call7 fieldsTo record something else after each call

The agents docs describe the same settings as fields of the API, for teams that create agents from code.

What it costs, and what you need before real calls

ItemPriceSource
Browser test callFree (10 a day, 200 once verified)backend/src/config/env.schema.ts
Live call, Developer plan₹5 per connected minute: agent ₹3.00, telephony ₹0.50, platform ₹1.50; per second, 30-second minimumfrontend/lib/published-rates.ts
Live call, EnterpriseFrom ₹4 per connected minutefrontend/lib/published-rates.ts
A +91 numberFrom ₹299 a monthfrontend/lib/published-rates.ts

GST at 18% is added when you add money, not per call. Before the first real call you also need your business verified and a number assigned to the agent.

Troubleshooting

What you seeWhyFix
The agent does not read out the order; it says it does not have the detailsorder_value or item_summary is empty, and the template never guesses a missing factFill those Call inputs before the test call
Your edit is not in the test callThe draft was not saved, and a test runs the saved agentClick Save draft, then call again
No sound, or the call will not startThe browser blocked the microphoneAllow the microphone for the dashboard and start again
A test call is refusedThe day's test allowance is used upUse Chat, wait until tomorrow, or verify your business for 200 a day
The agent answers in the wrong languageThe caller's language is not in its listAdd it under Other languages on Voice & model

Next steps

Video transcript

In this video you'll create an AI voice agent from a template in Tone, usetone.ai, test it free in your browser, and publish it. We'll build a COD order confirmation agent for an online store. You don't need to write a prompt, buy a number or add money to follow along.

Open Agents from the left rail. An agent is the voice that makes or answers your calls: its instructions, its language and its voice. Click Create agent. You can start blank, or from a template. A template comes with instructions written for one job and already tested on real calls. Choose Start from a template. There are six templates. Each card says what the agent does, its call purpose, how many call inputs it needs, and how many details it captures after the call. Pick COD order confirmation. It calls a customer who chose cash on delivery and confirms the order before you ship it, so fake and impulse orders are cancelled before you pay to send them. Click Use this template.

The template opens as a draft. The checklist at the top shows what's done: the instructions and the opening line are already written. Call purpose is set to Transactional. That's the right class for confirming an order, and it means no calling window applies. Under Opening line, type your business name. Every call starts with a short introduction, Hi, I'm Anaya Fashion's digital assistant, and then the opening line below it. Your change sits in an unsaved draft until you save it, and a test call always runs the saved agent. Click Save draft.

Further down are the call inputs. They're the details you send with every call, like the customer's name, the order number and the amount, and the instructions use them wherever you see double curly braces. Open After the call to see what the agent records when a call ends: whether the order is confirmed, why it was cancelled, a delivery note and more. You get these with every call.

Open Voice and model. This agent speaks Hindi first, and English too, and it replies in whichever of the two the customer uses. Press Hear it to listen to the voice before you call.

Now test it. The test panel on the right calls the agent in your browser, for free. Open Call inputs and fill in an example order. The agent opens in Hindi, this template's first language. Answer the way your customer would. Press Start test call. The transcript shows every turn as it happened, so you can see exactly what the agent heard and what it said back.

When it sounds right, publish it. Click Publish v2. Tone shows what changed since the version real calls run, and once you confirm, new calls run version two. That's your first AI voice agent. It isn't taking real calls yet: for that it needs a plus ninety one phone number, and that's the next tutorial.

Common questions

How do I create an AI voice agent for my business in India?

In Tone (usetone.ai), open Agents, click Create agent, choose Start from a template and pick one of six templates: COD order confirmation, motor insurance renewal, real estate lead qualification, clinic front desk, cart abandonment recovery, or event invite and RSVP. Add your business name, check the call inputs, choose the language and voice, then test-call the agent free in your browser and publish it. A +91 number, business verification and wallet money are needed only for real calls, which cost ₹5 per connected minute on the Developer plan.

Can I build an AI calling agent without coding?

Yes. In Tone (usetone.ai) a template fills in the agent's instructions, its opening line, its call inputs such as the customer's name and order amount, and the details it records after each call. You add your business name, adjust anything you want in the dashboard, and test it in the browser, with no code. Teams that want to place calls from their own software can use the Tone API with the same agent.

Which AI voice agent template should I use for COD orders, clinics or insurance renewals?

In Tone (usetone.ai): COD order confirmation for cash-on-delivery orders (a transactional call), motor insurance renewal for policies about to expire (a service call), clinic front desk for answering patients' calls about timings, fees and appointments (a service call), and real estate lead qualification, cart abandonment recovery or event invite and RSVP for sales and invitations. Those last three are promotional calls, which in India need a 140-series number, DLT registration, a DND scrub, documented consent, and calling hours of 9 am to 9 pm.

Can an AI voice agent speak Hindi and English on the same call?

Yes, within the languages you give it. A Tone (usetone.ai) agent has a primary language, which the call opens in, and other languages it switches to when the caller does. The COD order confirmation template is set to Hindi first and English as well, so it opens in Hindi and moves to English if the customer speaks English. You change the languages on the agent's Voice & model tab.

Is it free to test an AI voice agent?

Yes. In Tone (usetone.ai) a test call in your browser is free: 10 test calls a day before your business is verified and 200 a day after, plus test chats. You need no phone number and no wallet balance to test. Real calls cost ₹5 per connected minute on the Developer plan, billed per second with a 30-second minimum, and a +91 number costs from ₹299 a month.

In the docs

Try it in your own dashboard

Sign up to Tone (usetone.ai) for free and follow along. Building an agent and test-calling it in the browser cost nothing, within a daily allowance; numbers and live calls are paid from a prepaid wallet in rupees.

Keep reading