How to Write a Prompt for an AI Calling Agent (with Example)

यह गाइड हिंदी में पढ़ें

In short: Open the agent with Edit and write its Greeting Message and System Prompt: who the agent is, the one goal of the call, the steps in order, what to do with objections, where its facts come from and how the call ends. Save, call yourself, and improve one line at a time. Prompt Version History keeps your earlier prompts so you can roll back.

A step-by-step guide for BookAICall, an AI voice agent platform that makes and answers phone calls for businesses in Hindi, English, Hinglish and other Indian languages. Updated .

Steps

  1. Open AI Agents, click Edit on the agent and scroll to Greeting Message and System Prompt. Write the greeting the caller hears first, then the prompt in short lines, using the structure below.

    The greeting and the system prompt, written in the structure this guide recommends
    The greeting and the system prompt, written in the structure this guide recommends
  2. Click Save Changes. Call your own phone (a campaign to a Test group, or Call AI on your own lead in Unified CRM) and read the transcript.

  3. Every save keeps the earlier prompt under Prompt Version History. If a change made calls worse, click Rollback on the version that worked.

    Prompt Version History: every earlier prompt, with Rollback
    Prompt Version History: every earlier prompt, with Rollback

Use this structure

  • Identity: You are Priya from Sharma Properties, Jaipur. You call people who enquired about our flats on our website.
  • Goal: book a site visit. One call has one goal.
  • Language: speak Hinglish. If the caller speaks English, switch to English.
  • Style: one or two short sentences per turn, then listen.
  • Steps: 1) Confirm you are speaking to {{name}}. 2) Ask the preferred area. 3) Ask 2 BHK or 3 BHK, and the budget. 4) Offer two site-visit slots.
  • Objections: if they are busy, ask when to call back and end politely. If the budget is lower, mention the 2 BHK option.
  • Facts: answer only from the Knowledge Base. Never guess a price or an offer.
  • End: confirm the visit day and time, thank them, and end the call.

Mistakes that make agents sound bad

  • Long paragraphs the agent reads aloud: write short lines.
  • Prices or offers that are nowhere in the prompt or the Knowledge Base: the agent cannot know them.
  • Several goals in one call: choose one.
  • No instruction for busy customers: add 'If they are busy, ask for a good time and end politely'.

Use the lead's details

Write {{name}}, {{phone}}, {{email}} or {{company}}, or the key of one of your custom fields such as {{budget}}, in the greeting or the prompt, and each call fills in that lead's value. When a lead has no value, the placeholder is left out, so write the sentence so that it still reads well without it.

Where facts belong

Answers that rarely change (projects, timings, policies, FAQ) go in the Knowledge Base. Lists that change (stock, prices, availability) go in Data Catalogs. Keep the prompt for how the agent behaves.

A greeting that works

  • Under 20 words, with who is calling, from where and why, ending in a question: "Namaste {{name}} ji, main Priya, Sharma Properties se. Aapne flats ke baare mein poocha tha, kya do minute baat ho sakti hai?"
  • The same greeting is said on incoming calls. If the agent also answers your number, write one that suits both, or use a separate agent for incoming calls.
  • Do not repeat the greeting inside the System Prompt; the agent would say it twice.

Test it like a customer

  • Call yourself and ask the five questions your customers ask most, then say you are busy, then ask for a discount.
  • Read the transcript, not just the summary: it shows exactly which line the agent followed.
  • Change one line at a time and call again, so you know what fixed it.

Example: Priya's first prompt

Sharma Properties replaces the agent's one-line default prompt with the structure above. On the next test call Priya confirms the name, asks area, flat size and budget, and offers Saturday 11 AM or Sunday 4 PM for the visit. When a caller says "abhi busy hoon", she asks for a time to call back instead of pitching. When asked about parking, she answers from the project FAQ in the Knowledge Base.

Tips

  • Write in the language the agent speaks; a Hindi agent follows a Hindi or Hinglish prompt most naturally.
  • Put the rules that matter most (never quote a discount, never promise a date) in their own short lines near the top.
  • During Holiday mode a marked block is added to the prompt and removed after the holiday; leave it as it is.

Frequently asked questions

How long should the system prompt be?

Long enough to cover identity, goal, steps, objections, facts and ending, usually 10 to 25 short lines. Long product details belong in the Knowledge Base.

Can I write the prompt in Hindi or Hinglish?

Yes. Write it in the language the agent should speak, and keep button or product names as your customers say them.

How do I make the agent handle objections?

Write each common objection and the reply on its own line, for example: "If they say the price is high, mention the 2 BHK option."

Can AI write the prompt for me?

Yes. Generate with AI writes the stages, prompt and greeting from a short description, and you edit them before saving.

How do I go back to an older prompt?

In the agent's panel, Prompt Version History & 1-Click Rollback keeps your last 15 prompts; click Rollback on the one you want.

Why does the agent ignore part of my prompt?

Usually the prompt is too long or says two things that conflict. Shorten it, remove the conflict and test again.

Questions this guide answers

  • How do I write a prompt for an AI voice agent?
  • What should an AI calling script include?
  • How do I make an AI agent handle objections on calls?
  • How long should an AI agent prompt be?

Related guides

Start the free trial · Book a demo · All guides

BookAICall provides enterprise AI voice agents with real-time conversational capabilities.

Contact: [email protected] | +91-8502044044 | Mansarovar Jaipur Rajasthan