For many businesses in India and a growing number elsewhere, WhatsApp is where customers already ask questions, send photos of what they want and check on orders. An AI agent on WhatsApp can answer instantly at any hour, qualify leads before a salesperson calls, and handle routine order and booking questions, while handing anything complex to a person.
This guide covers what such an agent can do, the platform rules that shape the design, a reference architecture, language support and a phased rollout. It reflects how our generative AI development team approaches WhatsApp projects. Platform policies change, so always confirm current rules in Meta's official WhatsApp Business documentation before launch.
Use cases that work well on WhatsApp
| Use case | What the agent does | Systems it needs |
|---|---|---|
| Lead qualification | Asks budget, location, timeline and requirement; scores and assigns the lead | CRM |
| Catalogue and product questions | Answers questions, shares products from the catalogue, checks availability | Product catalogue, inventory |
| Order status | Looks up orders by phone number or order ID and explains delays | Order management, logistics |
| Bookings and appointments | Offers slots, confirms, reschedules and sends reminders | Calendar or booking system |
| Support triage | Collects details and photos, answers common issues, raises tickets | Helpdesk, knowledge base |
These map well to ecommerce, real estate and travel and hospitality businesses, where conversations are frequent, similar and time-sensitive.
Platform rules to design around
Business automation on WhatsApp runs through the WhatsApp Business Platform, accessed through Meta's Cloud API directly or through a Business Solution Provider. The consumer WhatsApp Business app is not designed for this kind of automation. A few rules shape every design:
- Opt-in: you need the customer's permission before you send them business-initiated messages, and you should make it easy to opt out.
- Customer service window: when a customer messages you, a 24-hour window opens in which you can reply freely. Outside that window, you can start a conversation only with an approved message template.
- Templates: business-initiated messages such as order updates, reminders and promotions use templates submitted for approval, in categories such as utility, marketing and authentication. Each language version needs its own approved template.
- Interactive features: reply buttons, list messages and product messages from a connected catalogue make conversations faster and reduce typing errors.
- Quality and policy: messaging limits and account standing depend on following WhatsApp's business and commerce policies and on how users respond to your messages.
Reference architecture
The WhatsApp platform delivers incoming messages to your webhook and accepts outgoing messages through its API. Everything intelligent happens in your own middleware, which keeps you in control of data, logic and the choice of AI model.
Cloud API or a provider; delivers messages to your webhook and sends replies, templates and media.
Verifies webhooks, stores conversation state, applies opt-in, window and rate rules, routes to bot or human.
Language model with retrieval over your FAQs and policies, plus narrow tools for lookups and actions.
CRM, catalogue, order management, booking and helpdesk, reached through APIs with limited permissions.
Where staff take over conversations, review transcripts and track resolution and handover rates.
Keep the AI layer behind your own middleware so you can change model or provider without changing the WhatsApp integration.
DivTech SystemThe middleware is ordinary, well-tested backend work, often built in Node.js or Python, plus a staff inbox that our web application development team can build or integrate with your existing helpdesk. The agent layer follows the patterns in our explainers on RAG and AI agents versus chatbots: retrieval for knowledge, tools for live data, approvals for anything consequential.
Example flow: qualifying a property enquiry
To make the architecture concrete, here is how a lead qualification flow for a real estate developer might run. It is an illustrative design, not a description of a specific client.
- A prospect taps a click-to-WhatsApp ad and sends 'Is the 3 BHK still available?'
- The agent answers from the project brochure and current availability data, and asks preferred budget, location and move-in timeline, offering reply buttons where options are fixed.
- It shares floor plans and offers site visit slots pulled from the sales team's calendar.
- Once the prospect books, the agent creates or updates the lead in the CRM with a summary and score.
- A salesperson receives the lead with the full transcript; if the prospect asks about pricing negotiation or legal terms, the conversation is handed over immediately.
English, Hindi and Gujarati
Customers rarely write in textbook language. Expect Hindi in Devanagari script, Hindi typed in Latin letters, Gujarati, English, and mixtures of all of them in the same message. Current language models handle much of this, but quality varies by model and language, so test with real past messages before choosing a model.
- Reply in the language and script the customer used, unless they choose otherwise.
- Keep product names, prices, order IDs and dates exactly as stored in your systems; do not let the model translate or reformat them.
- Have fluent speakers review answers and templates in each language before launch.
- Remember that each template language needs separate approval.
Human handover
Handover is where WhatsApp agents earn or lose trust. Hand over when the customer asks for a person, when the agent is not confident, when the topic is sensitive (complaints, payments, cancellations), or after repeated misunderstandings. Pass the full conversation and any collected details to the staff member, tell the customer what happens next and when, and define what the bot does outside staff hours. How the handover feels to the customer is a design question as much as a technical one; our guide to designing AI interfaces covers the patterns.
A phased rollout plan
- Weeks 1 to 2Scope and set up
Pick two or three use cases, set up the business account and number, draft templates, collect real past questions.
- Weeks 3 to 6Build
Middleware, knowledge retrieval, read-only tools, staff inbox, handover rules and logging.
- Weeks 7 to 8Internal pilot
Staff and friendly customers test in every language; fix answers and flows.
- Weeks 9 to 12Limited launch
Open to a share of customers or one region; review transcripts daily and tune.
- Month 4 onwardsExpand
Add write actions with approvals, more use cases and proactive template messages.
Indicative timeline for a focused first release; template approval and integrations can extend it.
DivTech SystemMeasuring success
Track the share of conversations resolved without handover, time to first response, handover reasons, lead-to-meeting conversion for qualified leads, opt-out rates on template messages, and a simple satisfaction prompt at the end of conversations. Read a sample of transcripts every week; numbers alone will not show you where the agent sounds wrong. Because the agent reads untrusted customer messages and can call tools, review the controls in our generative AI security guide before adding any write actions.
Try it and plan yours
You can see how an AI agent handles real questions in our live demo. DivTech builds WhatsApp agents that integrate with your CRM, catalogue and order systems and support English, Hindi and Gujarati. Contact us with your top three customer questions and the systems involved, and we will suggest a first release scope.
Frequently asked questions
Can we use the regular WhatsApp Business app for an AI agent?
Not for proper automation. AI agents connect through the WhatsApp Business Platform, using Meta's Cloud API directly or a Business Solution Provider, which provides webhooks and APIs for sending and receiving messages.
Can a WhatsApp AI agent message customers first?
Only with the customer's opt-in and using approved message templates when outside the customer service window that opens after the customer messages you. Free-form replies are possible within that window.
Does a WhatsApp AI agent support Hindi and Gujarati?
Yes, current language models can understand and reply in Hindi and Gujarati, including mixed and transliterated text, but quality varies by model. Test with real customer messages and have fluent speakers review responses and templates.
What happens when the AI agent cannot answer?
It should hand over to a person with the full conversation and collected details, tell the customer what happens next, and follow defined rules for out-of-hours requests.