← All posts

Customer service

Handing a chat or call to a person: how a bot knows when to stop

How a Pocket bot hands a WhatsApp chat to your team with the whole ask, pauses in that chat, and gets it back. Plus what to do on calls, and what should always go to a person.

Pocket5 min read

A bot that answers customers is only as good as the moment it stops. It should quote a price from your list. It should not invent a discount. When someone is upset, wants to negotiate or is ready to pay, a person should take over, with the whole story in hand, and the bot should stay out of the way.

This post covers how that works in Pocket: on WhatsApp, where the bot hands over with one tool, and on calls, where the options depend on how the call reached the bot.

Set up who gets the handover

In a bot's settings, Hand over to a person takes up to five WhatsApp numbers. These are the people who take over: you, a salesperson, whoever answers the counter. You also set how long the bot stays out of a handed-over chat; the default is 24 hours.

Then say in the brief when to hand over. The bot already does it when someone asks for a person, is upset, or asks for something outside its brief. Your brief adds the business rules, for example: *"Prices come from the list. Anything about a lower price, a refund or a complaint goes to the sales desk."*

What happens when a chat is handed over

When the moment comes, the bot calls hand_to_human. Four things follow:

  1. The bot saves the lead first, when there is one: product, quantity, price quoted, anything promised, in the CRM.
  2. Your people get the whole ask on WhatsApp: who the customer is, why a person is needed, and a summary a salesperson can act on, with a link to the chat.
  3. The bot tells the customer in one short message that a person will take over.
  4. The bot stops answering that chat. Anything the customer writes meanwhile is forwarded to the same numbers, so nobody gets two replies and nothing is lost.

The summary is the point. A good handover means the salesperson does not scroll back through forty messages or ask the customer to repeat themselves. They open WhatsApp, read three lines, and call with the answer.

Handing it back

Open Channels → Handed to a person in the app. It lists every chat that is with a person right now, and gives each one back to the bot with a tap. If nobody hands it back, the bot takes the chat again when the hours you set have passed.

Hand back when the human part is done: the discount is agreed, the complaint is settled, the order is placed. The bot then has the whole thread, including what your salesperson said, the next time the customer writes.

Which WhatsApp route you use matters

Pocket reaches WhatsApp three ways, and handover works on all of them, with one difference:

  • The WhatsApp app on your own phone and a linked gateway have no messaging window, so the alert reaches your people any time.
  • The Business API only lets a number receive a free-form message within 24 hours of its own last message. If a salesperson's number has not written to the business number in that time, the alert needs an approved template. Have your team message the business number now and then, or use the phone route for alerts.

The phone route answers on the shop's own SIM and WhatsApp: no telephony provider, no new number, no business verification to wait for. Which route fits what.

On calls

hand_to_human is a WhatsApp tool. On a call, a person takes over in one of three ways, depending on how the call reached the bot:

  • Take over from the call screen. With Pocket as your phone app, calls the bot takes on your own SIM (through Pocket Link or a rooted phone) show Pocket's call screen. You can listen in, take over or hang up.
  • Transfer. On a Twilio number the bot can transfer the call to a person. What the bot can do on the line.
  • Flag and call back. The bot says someone will call back, writes the reason on the lead, and the after-call run can send the WhatsApp and book the follow-up. Urgent things, like a dental patient in pain, are flagged as urgent rather than handled.

Urgent callers are numbers you name that always break through to you, even when a bot is handling the line. Phone control.

What should always go to a person

A bot is good at the questions with known answers: prices from your list, hours, stock, booking a slot. It should hand over when judgement, money or feelings are involved. Put these in every brief:

  • Discounts and negotiation. The bot quotes only prices it found. Anything about a lower rate goes to a person.
  • Refunds and payment disputes. Money going back out is a decision, not a lookup.
  • Complaints. An unhappy customer wants to be heard by someone who can fix it.
  • Anything it cannot find. If the knowledge search returns nothing, the bot says it will check and hands over. It does not guess.
  • Someone who asks for a person. Always, on the first ask.
  • Emergencies and safety. Pain, injury, a traveller in trouble. Flag, don't advise.

Owners tend to find this rule is what makes them comfortable leaving the bot on. It quotes, people negotiate. You can see it in practice in a parts dealer's WhatsApp price bot, where every discount request went to a salesperson with the product, quantity and the customer's offer already written down.

Honest limits

  • A handover is only as good as its numbers. If nobody on the list reads WhatsApp, the customer waits. Name people who will answer.
  • Model calls can fail. If the model provider hiccups right after a handover, the customer may miss the *someone will take over* message. The handover itself still happened, so your person still has the chat.
  • Email works by brief, not by tool. For an email inbox, a line in the brief routes money, refunds and complaints to you. Email.

Setup details for each route are in the WhatsApp docs, and a fuller tour of what a chat bot can do is in WhatsApp AI agent for small business.

Customer serviceWhatsAppAgents

Try it on your own number

Thirty minutes of agent time free, no card.

Keep reading