Docs · Agents

Write a prompt that works on a phone call

Write an agent's script for the ear: short turns, one question at a time, a plan for interruptions, and what it must never promise.

Before you start

  • An agent, from a template, with Build with AI, or blank. Its script is on the Call script card of its Setup tab.
  • A few minutes for test calls. A script is proven by hearing it.
  1. Know what the product already says for every agent

    Every agent is told to keep replies short and let the caller talk, to stop at once when interrupted and answer what the caller said, and not to repeat the sentence it was cut off in unless asked. It is told to speak with no lists, symbols or labels, to say money in words, and not to read out long links, IDs or numbers.

    It is told never to state a phone number, email, amount, date, name or place that was not said on the call or given in its instructions, and never to pretend to check a system it has no tool for. It is told never to ask a caller for an OTP, PIN, CVV, full card number or bank login. Nothing in a script can turn that off.

    So do not spend your script on these. Spend it on your business: who the agent is, your rules, your facts.

    Where:Agent Studio

  2. Write short turns, and one question at a time

    The caller hears the script, they do not read it. Write what the agent should say in short sentences, and ask one thing in each turn. A caller who gets two questions often answers only one.

    Reply length in Call Settings sets the most the agent says in one turn: Short is up to two sentences, Normal two or three, about 40 words, and Detailed up to five. Long replies on a phone line are easy to lose track of.

    The first prompt section is for who the agent is and how it talks. The placeholder gives the idea: speak simply, one idea at a time, and never rush the caller.

    Where:Agent StudioCall Settings

  3. Say what to do when the caller interrupts

    Allow interruptions lets callers speak over the agent, like a real call, and Interruption sensitivity sets how easily they can cut in. Patience before replying in Call Settings sets how long the agent waits after the caller stops.

    Put the point first in each turn, so a turn that is cut off has already said the useful part. Do not write instructions such as always finish the offer: the agent is told to stop and answer what the caller said.

    Where:Agent StudioCall Settings

  4. Give it the facts, and say what to do when it does not know

    An agent only knows what you give it. Put facts in the script's product section, in Additional instructions / FAQs, or in a knowledge base. Add the variables you have for each contact, such as the name, written as {name} or {first_name}, or your own contact fields.

    Under Knowledge base in Call Settings, When the documents don't answer decides what it does when a caller asks something your documents don't cover: say it will find out, offer to connect a person, or take a callback request. It never makes the answer up, whichever you choose.

    Where:Agent StudioCall Settings

  5. Say when to end the call and when to hand over

    Unless The agent hangs up in Call Settings is set to Only after the caller says goodbye, the agent can end the call politely on its own, so no special wording is needed. With that option it never hangs up first. Say when: end the call once the caller confirms they are all set.

    When a hand-over is set in Call Behaviour, the agent can also pass the call to a person. Tell it when: transfer if the caller asks for a human or raises a complaint.

    Where:Agent StudioHand-over

  6. Write what it must never promise

    List the promises that are yours to control, in your rules section: no discounts, no refund or approval, no delivery or callback time, no price that is not in its facts. The placeholder gives the idea: never promise a discount.

    Do not promise what is switched off. Booking needs Book appointments On and a connected calendar. Sending a brochure, a location or a payment link needs a workflow with the trigger Agent sends during a call: with none switched on, an agent sends nothing during a call. A hand-over needs a hand-over set in Call Behaviour. A script that says I will WhatsApp you that, with none of these, promises something the agent cannot do.

    Payments and logins belong on a secure link or in your app, never said on the call.

    Where:Agent StudioCall SettingsWorkflows

  7. Test it by ear, then test it again

    Run a test call on the Live Call Console. An edit applies from the next call. Listen for turns that are too long, two questions in one turn, and a promise that cannot be kept.

    Write Evals for the answers that matter, and rehearse whole conversations with difficult customers in the Simulation Lab. Save a version of the agent before a big rewrite, so you can go back.

    Where:Live Call ConsoleSimulation LabAgent Studio

Every field

FieldWhat it means and takesIf left blank
Prompt sectionsThe script, in sections. All of them are combined into one script for every call.
Opening lineThe first thing the agent says when the call connects. Variables are filled for each contact.
Additional instructions / FAQsFacts and answers the agent keeps on hand during every call, beside the script.
Reply lengthCall Settings. The most the agent says in one turn before it stops for the caller.
Allow interruptionsCallers can speak over the agent. Interruption sensitivity sets how easily.
Patience before replyingCall Settings. How long the agent waits after the caller stops before it answers.
When the documents don't answerCall Settings. What the agent does when your documents do not cover the question.

Costs and what to watch

  • Edits apply from the next call.
  • An instruction that the agent cannot carry out, such as a message with no workflow behind it, is a promise to the caller that will be broken.
  • A script lowers the risk of a wrong answer. It cannot guarantee it, so listen to your test calls before going live.

Put AI Call Studio on your phone lines.

Book a 30-minute walkthrough, or call us right now:. +91 922 222 1378

Answered now+91 922 222 1378Mon–Sat, 10am–7pm IST
RiyaOur AI agent, on a live call from this page
Hear how an agent sounds before you book anything. It uses your microphone.