AI Agent and Copilot: a WhatsApp chatbot in your voice

Can't get to every WhatsApp message? Your AI Agent answers them for you, in your voice, day and night. Rather handle some chats yourself? Copilot drafts the reply and you send it. Every change you make to a draft teaches the agent.

About 15 minutes to set up. The agent stays off until you switch it on. Plans and prices: Sonar AI Agent.

How it works

  • AI Agent on: it sends a reply like this straight away to everyone who messages, except people you exclude and VIPs.
  • AI Agent off, or an excluded person or VIP: the same reply waits in Copilot. You check it, tweak it if you like, and send it. Your customer only sees what you send.
  • Either way, it follows your bot instructions. Anything you list under HAND TO A PERSON comes to you instead.
  • While it writes, your customer sees their message as read and sees you typing.

Before you start

  • The right plan. The AI Agent and Copilot come with the Plus plan and every plan above it, with Standard replies included each month (see What it costs). Starter gets 1,000 AI replies a month to try it, sent by the AI Agent or drafted in Copilot. The free trial gets 100 a month, as drafts in Copilot.
  • The 24-hour window. WhatsApp only lets you type a reply within 24 hours of the person's last message. The agent never replies after that, and each Copilot draft shows how long is left. After 24 hours you can only send a template (a message WhatsApp has approved in advance), which you set up under Templates.
  • What it answers. Text messages and photos from people who haven't opted out. A voice note, video or document sent on its own gets no reply. Opt-out words like STOP are handled for you, not answered.

Set it up

1. Write its instructions

Every reply, from the agent or from Copilot, follows these instructions. This is the step that matters most.

  1. Go to AI Agent and hit Bot instructions.
  2. Write your instructions in three parts: VOICE, FACTS and HAND TO A PERSON (see below).
  3. Hit Save.
  • VOICE: how you write. Warm or formal, how you greet people, how long your replies are, whether you use emoji.
  • FACTS: what customers ask about your business. Prices, opening hours, delivery areas, links. It only states facts that are here, so put the important ones in.
  • HAND TO A PERSON: topics you'd rather deal with yourself, like refunds, complaints or money owed. For these it tells the customer someone will come back to them.

For example:

VOICE
Warm and short, one or two lines. Use their first name. At most one emoji.

FACTS
Birthday cakes from R350 for a 20cm sponge. Order 3 days ahead.
Open 8am to 5pm, Monday to Saturday. Delivery in Cape Town only.
Order online: https://example.co.za/order

HAND TO A PERSON
Refunds, complaints, and wedding or corporate orders.

Change them whenever you like. The next reply uses the new version.

Already answering customers on WhatsApp? Sonar can write the first draft for you:

  1. Hit Fill this in from my conversations. Sonar reads the last 100 replies your team typed, what each one answered, and what it's learned so far, then writes instructions in the same three parts.
  2. Check the FACTS. It can only repeat what your replies said, and prices go out of date.
  3. Hit Use these, Edit first or Discard. Nothing changes until you choose.

It needs at least 10 of your own replies. It's free, and you can run it three times a day.

2. Train it with Copilot

While the agent is off, every reply waits in Copilot, under the switch. For each draft, pick one:

  • Send it as it is, or change the words first and then hit Send.
  • Rewrite it with one tap: Shorter, Friendlier or More formal. Or hit Tell it what to change and type something like "mention we deliver on Saturdays". A new version shows up within a minute or two.
  • Open chat to see the whole conversation.
  • Skip it if no reply is needed. Skipped one by mistake? Hit Undo, or bring it back from Skipped at the bottom of the page.

The agent learns from every change you make and every rewrite you ask for. You can read what it's learned under Bot instructions → What it has learned from your changes. The thumbs up and down are optional, and only record how good a draft was.

Quick tip: if every reply should know something, like a new price, put it in your instructions rather than fixing reply after reply.

Check Copilot's drafts for a few days. Once you're sending most of them without changes, the agent is ready.

3. Switch the AI Agent on

  1. Test it first in Try it.
  2. On the AI Agent page, switch on Answer automatically, then hit Turn on.

That's it. It now replies straight away to everyone who messages, except people you exclude and VIPs. Switch Answer automatically off whenever you like, and every reply goes back to waiting in Copilot. Only want it answering when you're closed, or only in some chats? Set When it answers by itself and Who it answers on the same page.

4. Choose who it leaves to you

Open someone's chat in the Inbox, hit More, then one of these:

  • Exclude from AI Agent: the agent stops replying to them, and Copilot drafts their replies for you instead, at your account's normal reply quality. Handy for regulars you like to answer yourself.
  • Mark as VIP: for your most important people. The agent never replies to them. Copilot drafts their replies on Extreme, our strongest model, for you to check and send. Extreme is roughly R0.69 to R1.12 a reply (about R0.93 on average), from your account balance.

Fine-tune its replies

Choose the reply quality

At the top of the AI Agent page, Reply quality sets which model writes your replies:

  • Standard is included with your plan.
  • Advanced follows your voice more closely and handles trickier questions better, for roughly R0.31 to R0.50 a reply (about R0.40 on average).
  • Extreme, our strongest, always writes VIP chats.

Start with Standard. You can switch whenever you like.

Photos

When someone sends a photo, Sonar reads it and gives the AI a short description, including any text that matters: an amount, a reference or order number, a date or a product name. The reply takes it into account. In Copilot the photo shows in their messages as [Photo: what it shows], so you can see what the AI understood.

A reply to a photo can take a little longer while the photo downloads, usually under two minutes. Reading photos costs nothing extra.

Heads up: the AI can't check a photo against your records. A screenshot of a payment isn't proof the money arrived, so it won't confirm a payment. If people often send proof of payment, put "confirming payments" under HAND TO A PERSON and check those yourself.

Different products, branches or developments

Selling more than one thing on the same number? Keep your bot instructions for what's true for everyone, like your voice and opening hours. Then add a set of facts for each group:

  1. In Bot instructions, go to Instructions by tag.
  2. Pick the contact tag, for example "Riverside".
  3. Write the facts for that group only.

People with that tag get your general instructions plus that group's. Nobody else sees them, so one development's prices never end up in another's replies. Someone with two of these tags gets a draft in Copilot instead of an automatic reply, so you can answer them yourself.

Tag people from what they say. They don't need the tag beforehand. Under Contacts → Tag people from what they reply, add the tag and the words to look for, like "Riverside". When a message contains one, the person is tagged straight away, and that same reply uses Riverside's instructions. Tick Let the AI decide and the agent also tags people who say it in other words, like a typo or "the one by the river".

It works for anything people tell you, such as a budget ("Budget R2M") or what they're after. The tags stay on the contact for your segments.

One number per product? Skip the words. Under WhatsApp numbers, give the number a tag with Tag everyone who messages this number. Everyone who messages it gets that tag, including people who already have, so that number's instructions apply from the first reply.

Keep it learning

Every few weeks, hit Fill this in from my conversations again. It adds what it's learned to your instructions and clears those notes, so nothing gets lost.

Try it and teach it before you switch it on

On the AI Agent page, hit Try it. You play the customer, and the bot answers exactly as it would on WhatsApp, using your instructions, what it's learned and your corrections. Nothing is sent and no contact is created. Standard replies are free here.

  1. Write your instructions, including one fact you can check, like your opening hours.
  2. In Try it, type what a customer would: "What time do you close on Saturday?" Check the reply uses your hours and your voice.
  3. Ask about something under HAND TO A PERSON, like a refund. It should say someone will come back to you, not answer it.
  4. Using Instructions by tag? Pick a group under Reply as if I'm tagged and check it only uses that group's facts.
  5. Happy? Turn the agent on, message your number from your phone, and check the reply arrives without you pressing anything.

Teach it

Not happy with an answer? Correct it in your own words:

  1. Tick Teach it.
  2. Tell the bot what to change, for example "be less formal", "we deliver on Saturdays now too" or "never promise a delivery date". It replies with one line on what it understood.
  3. Go to Bot instructions, where a suggested update is waiting. Hit Use these, Edit first or Discard. Nothing changes until you accept it.
  4. Try the chat again and see the difference.

Photos can't be tested here yet. To check one, send it to your number from your phone and look at the draft in Copilot.

What it costs

What each reply quality costs
Reply qualityWritten byCost
StandardClaude HaikuIncluded with your plan
AdvancedClaude Sonnetroughly R0.31 to R0.50 a reply (about R0.40 on average)
Extreme, for VIP chatsClaude Opusroughly R0.69 to R1.12 a reply (about R0.93 on average)
  • Each plan includes a number of Standard replies a month (see pricing). Every reply the AI writes counts, whether you send it or not.
  • When they run out, AI replies pause until your next billing month. Messages still arrive in your inbox. Sonar emails the owners at 80% of the month's replies, and again if replies pause.
  • To keep going on a paid plan, switch on Keep going past your included replies on the AI Agent page. Each further Standard reply then costs about R0.03 from your balance, depending on its length. Want a cap? Set a Limit a month (optional) and hit Save limit.
  • Advanced and Extreme replies come off your account balance, whether you send them or not. The cost depends on how long the conversation is. Each one that's sent also uses one of your plan's included messages.
  • Filling in your instructions from your conversations is free.
  • Meta's side: AI replies are normal WhatsApp replies, and Meta gives each number 1,000 free replies a month.

The full breakdown is on WhatsApp pricing in South Africa, and your balance and top-ups are in the plans and billing guide.

Need a hand?

Email [email protected] and we'll help you write your first instructions.