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}}. Sendcustomer_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):
| Template | Use it when | Call purpose | Call inputs | Details captured |
|---|---|---|---|---|
| COD order confirmation | Cash-on-delivery orders need confirming before you ship | Transactional | 7 | 7 |
| Motor insurance renewal | A policy is about to expire (one agent covers the 30, 7 and 1 day reminders) | Service | 8 | 5 |
| Real estate lead qualification | Portal or ad enquiries need qualifying for a site visit | Promotional | 10 | 10 |
| Clinic front desk | Patients call for timings, fees and appointments | Service | 8 | 14 |
| Cart abandonment recovery | A checkout started and did not finish | Promotional | 10 | 10 |
| Event invite & RSVP | You need a headcount from an invite list | Promotional | 10 | 10 |
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
-
Open Agents from the left rail and click Create agent.
-
Choose Start from a template. The gallery opens: "Pick a starting point. It opens as a draft you can change before it takes calls."

-
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".

-
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.

-
Under Basics, check Call purpose. It is Transactional: "OTPs, alerts, confirmations. No calling window applies." Leave it.
-
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."

-
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.
-
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 input | Required | Example |
|---|---|---|
business_name | Yes | Anaya Fashion |
customer_name | Yes | Rahul |
order_value | Yes | 1499 (digits only; the agent says "rupees") |
order_id | No | AF-10482 |
item_summary | No | 2 cotton kurtas |
delivery_city | No | Pune |
expected_delivery | No | Friday |

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.

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.

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."
-
Open Call inputs in the test panel and fill in an example order. These values are used on the next test call only.

-
Click Start test call and allow the microphone when the browser asks.
-
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."
-
Speak English and it switches to English. Say goodbye, or wait for it to finish: the agent ends the call itself.

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.
-
Click Publish v2 at the top of the page. It appears once a saved draft differs from the version calls run.
-
Read the dialog: "Calls placed or answered after this run v2. Calls in progress finish on v1", with what changed since v1.

-
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
| Setting | Where | COD template default | When to change it |
|---|---|---|---|
| Agent name | Agent tab | COD confirmation | Any time; callers never see it |
| Call purpose | Agent tab | Transactional | Only if the call is really something else |
| Business name | Agent tab | {{business_name}} (sent per call) | Type your name if the agent calls for one business |
| Opening line | Agent tab | "I'm calling about the order you just placed…" | To match how your store speaks |
| Instructions | Agent tab | The COD script | To change what it asks; Genie can help |
| Languages | Voice & model | Hindi, then English | For other customers' languages |
| Data to capture | After the call | 7 fields | To 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
| Item | Price | Source |
|---|---|---|
| Browser test call | Free (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 minimum | frontend/lib/published-rates.ts |
| Live call, Enterprise | From ₹4 per connected minute | frontend/lib/published-rates.ts |
| A +91 number | From ₹299 a month | frontend/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 see | Why | Fix |
|---|---|---|
| The agent does not read out the order; it says it does not have the details | order_value or item_summary is empty, and the template never guesses a missing fact | Fill those Call inputs before the test call |
| Your edit is not in the test call | The draft was not saved, and a test runs the saved agent | Click Save draft, then call again |
| No sound, or the call will not start | The browser blocked the microphone | Allow the microphone for the dashboard and start again |
| A test call is refused | The day's test allowance is used up | Use Chat, wait until tomorrow, or verify your business for 200 a day |
| The agent answers in the wrong language | The caller's language is not in its list | Add it under Other languages on Voice & model |
Next steps
- Read how a COD order confirmation call works in practice, and what it costs per order.
- Learn what happens between a caller's sentence and the agent's reply in how a voice AI pipeline works.
- The next tutorial buys a +91 number, so the agent can take real calls.