Your customers already write to you on WhatsApp. They ask about prices at eleven at night, send voice messages instead of filling in forms, and expect an answer in minutes, not tomorrow morning. In most companies a manager answers, when they have time. The rest of the leads quietly go to whoever replied first.
I build and set up WhatsApp bots that close this gap. Some are AI assistants: they answer questions the way your best manager would. Others are AI agents: they don't just talk, they do the work. They book a slot, check an order, qualify a lead and put it into the CRM. Below I explain how it works, what such a bot can and can't do, and how I usually run these projects.
Assistant or agent: what is the difference
These words get mixed up a lot, so here is the practical distinction I use with clients.
| Criterion | AI assistant | AI agent |
|---|---|---|
| What it does | Answers questions, explains, advises | Answers and takes actions in your systems |
| Where answers come from | Your knowledge base: prices, services, terms, FAQ | Knowledge base plus live data from CRM, calendar, stock, orders |
| Typical tasks | Consultations, product selection, first line of support | Bookings, order status, lead qualification, payments, reminders |
| Integrations | Minimal, sometimes none | CRM, ERP, calendar, payment provider, your API |
| When to start with it | You need fast answers 24/7 and fewer repeated questions | You need the bot to remove manual work, not just talk |
In practice many projects start as an assistant and grow into an agent once the business sees which actions repeat every day.
What it looks like in real businesses
A clinic or beauty studio: the patient writes "can I come on Thursday after six", the agent checks free slots in the calendar, offers two options, books the visit and sends a reminder the day before.
A real estate agency: the bot asks the budget, district and timeline, sends matching listings with photos, and passes a warm lead to an agent with a short summary of the conversation instead of a raw chat log.
An online store: "where is my order" is answered in seconds with data from the store and the delivery service, and a return request lands in the CRM as a ticket.
A service company: the bot gathers the details of the job, estimates the price range from your rules and books a call with an engineer.
An internal bot for the team: managers ask it about the price list, contract terms or stock and get an answer with a link to the source.
WhatsApp rules you should know before you start
WhatsApp is not Telegram. You can't just create a bot and go. This is where many projects get stuck, so I deal with it at the very start.
Official API only. I connect bots through the WhatsApp Business Platform (Cloud API from Meta) directly or through a verified provider. Libraries that emulate WhatsApp Web look cheaper, but they break the terms of service, and the number can be banned at any moment along with all its chat history.
The 24-hour window. Within 24 hours after the customer's last message the bot can reply freely. After that it can only send pre-approved template messages: a reminder, an order status, an offer. I prepare these templates together with you and submit them for approval.
Paid messages. Meta charges for some message types, mainly templates sent outside the window. I design the flows so the bot doesn't spend money on messages nobody needs, and the cost per conversation stays predictable.
A bot for your business, not a general chatbot. Meta's policy allows AI bots that serve your customers: support, sales, bookings. A "ChatGPT inside WhatsApp" that talks about anything is not allowed. A well-scoped bot is also simply better: it stays on topic and doesn't make things up.
Consent and quality. Customers must agree to receive messages, and complaints and blocks lower the number's rating. So the bot always gives a way to stop the messages and to reach a human.
What is inside a good WhatsApp bot
From the outside it is a chat. Inside there are several parts, and the quality of the bot depends on each of them.
Webhook and queue. Messages arrive at the server and go into a queue. People often send three short messages in a row, so the bot waits a moment and answers all of them together instead of replying three times out of context.
A knowledge base. Prices, services, delivery terms, documents. The bot finds the relevant pieces and answers from them, and if the answer isn't there, it says so and offers a manager. This is RAG, and I wrote in detail about how it works in production: https://zavada.dev/blog/rag-in-production-for-business.
Tools for the agent. Functions the model can call: find a free slot, create a booking, check an order, create a lead, send a payment link. Every action is checked on the server, and risky ones (cancellation, refund, discount) need confirmation from the customer or a manager.
Memory and context. The bot remembers who it is talking to, what was discussed yesterday and what stage the deal is at, so the customer doesn't have to repeat themselves.
Voice messages, photos and documents. Voice messages are transcribed and handled like text. A photo of a broken part or a screenshot of an error goes to the model as well, and documents can be read and checked.
Handoff to a human. When the customer is angry, the question is non-standard or the deal is big, the conversation goes to a manager with a summary, and the bot steps back. The manager can take over in the CRM or in a shared inbox.
Logs and quality control. Every conversation, every tool call and every error is recorded. I use Langfuse for this, so I can see where the bot gets it wrong and fix the prompt or the knowledge base based on real dialogs: https://zavada.dev/blog/langfuse-what-it-is-and-how-to-use-it.
Where WhatsApp bots usually break
I am often asked to fix bots that were launched quickly and then started causing harm. The problems repeat:
| Problem | What happens | How I handle it |
|---|---|---|
| Made-up answers | The bot invents a price or a discount that doesn't exist | Answers only from the knowledge base, prices from your system, tests on real questions |
| No way to reach a human | The customer goes in circles and leaves angry | Clear handoff rules and a "talk to a manager" option in every flow |
| Replies to every short message | Three replies to three fragments of one thought | Message batching with a short delay |
| Unofficial connection | The number gets banned, chat history is lost | Migration to the official WhatsApp Business Platform |
| Rejected templates | Reminders and statuses don't get sent | Templates written to Meta's rules, approved before launch |
| Nobody looks at quality | Mistakes repeat for months | Conversation logs, weekly review, metrics |
How I run a project
1. Brief. What customers ask most often, which actions should be automated, which systems the bot needs to connect to, and what it must never do.
2. WhatsApp setup. Business account, number, verification, message templates. If you already have a number in the WhatsApp Business app, we plan the migration so you don't lose customers.
3. Knowledge base and scenarios. I collect your prices, rules and real conversations, write the bot's instructions and the handoff rules.
4. Development and integrations. Webhook, queue, model, tools, CRM, calendar or store. First a test number where you and your team try to break the bot.
5. Launch and tuning. The first weeks I read conversations, fix answers and add what is missing. Then the bot moves to regular support.
Cost depends on the number of scenarios, integrations and languages, so I quote a price after the brief, with a written scope and milestones. The ongoing cost includes WhatsApp messages and model usage, and I estimate both in advance.
| Area | Included |
|---|---|
| Official API connection, number setup, approved templates | |
| AI | Assistant or agent with your knowledge base, memory and tools |
| Integrations | CRM, calendar, store, payments, your API |
| Team | Handoff to managers with a conversation summary |
| Media | Voice messages, photos and documents |
| Quality | Conversation logs, metrics and regular improvements |
Already have a bot that doesn't work well?
I take on existing bots too: on Make, n8n, a no-code builder or custom code. Usually I start with an audit of real conversations, show where the bot loses customers, and then either fix it or rebuild the key parts. A separate article covers how I fix AI chatbots: https://zavada.dev/blog/ai-chatbot-fix.
Conclusion
A good WhatsApp bot doesn't replace your team. It takes the repetitive questions and routine actions off them, answers at night and on weekends, and hands over ready leads instead of "hi, how much?". The key is the official connection, your own knowledge base, clear limits for the agent and constant attention to real conversations.
If you want a WhatsApp AI assistant or agent for your business, see how I work on AI projects: https://zavada.dev/ai-solutions. Describe your task in the brief form: https://zavada.dev/contacts?service=ai-solutions
Need a developer for the long run?
I can start now and work with you for months or years, not hand off after two weeks. Send me a message and we will talk through your project, requirements and next steps.