One person. WhatsApp numbers for our sales team, support team and all branches. Customers get a reply within seconds, day or night, and hot leads land on your phone with a summary: who the customer is, what they want and how much they’re ready to spend.
This isn’t magic. It’s the future, and it’s already here. Meet the WhatsApp AI agent: all you need is to connect it through MCP and set up a flow of inbound requests. The AI agent for sales on WhatsApp handles routine questions, while key decisions and money matters stay with a person.
One thing up front: this is about customers who message you first, not about messaging strangers.
Table of Contents
Where the money actually leaks
When a business “needs more salespeople”, the real problem is usually what happens after the first message:
- Slow replies. A customer writes at lunchtime, a manager replies in the evening, and the customer has already bought elsewhere.
- Scattered conversations. Sales on one number, support on another, some on an employee’s personal phone.
- No history. A customer comes back, and the new manager has no idea what was agreed.
- Sent, but not read. The report says 5,000 messages went out, but nobody knows how many arrived and got read.
Hiring doesn’t fix these problems. Better WhatsApp lead management does, and an AI agent can take on most of the work.
How the setup works

The setup has five parts. Here’s what each one does:
- Company WhatsApp numbers for sales, support and branches. Each number is a separate GREEN-API instance, so a new branch is one more number.
- GREEN-API receives and sends messages, keeps a notification queue and reports delivery statuses.
- The AI agent, for example Claude, connects to WhatsApp through the GREEN-API MCP server and gets tools for messages, files and groups.
- The CRM stores leads, history and customer answers.
- A person steps in only where their decision is needed.
Here’s an example of a company with five branches:
| Number | Who writes | What the agent does | When a person steps in |
|---|---|---|---|
| Sales | New customers from the website and ads | Answers about prices and stock, logs the lead | Large order, discount |
| Support | Existing customers | Shares order status, sends instructions | Complaint, refund |
| Branch · London | Customers in the UK | Shares the address and hours, books a visit | Non-standard request |
| Branch · Tel Aviv | Customers in Israel | Replies in the customer’s language | A deal that needs approval |
| Branch · Delhi | Customers in India | Replies in the customer’s language, sends local prices | Price negotiations |
| Branch · Singapore | Customers in Southeast Asia | Shares local prices | Payment terms |
| Branch · Hong Kong | Customers in Hong Kong | Answers questions, books calls | Key accounts |
One agent and one CRM handle all seven numbers, which gives you a WhatsApp CRM with AI. A person gets a summary only when a decision is needed.
A shared WhatsApp inbox for multiple numbers
Incoming messages from all numbers end up in one CRM, and every chat shows which number and branch the customer wrote to. A new branch means one more number, and its chats appear in the shared inbox. Replies go out from the same number, so customers don’t get confused and you keep the context.
Away from your computer? Continue from your phone with the agent’s summary.
What the WhatsApp AI agent does

The agent takes over the routine:
- Reads messages: new incoming ones and the conversation history.
- Answers common questions in seconds: prices, timing, availability, address. It is a WhatsApp auto-reply with AI that understands questions, not keywords.
- Qualifies the lead: asks about needs, volume and timing, and records the answers.
- Sends materials: a PDF price list, a catalog, the office location, a specialist’s contact.
- Hands hot leads over to a person: with a summary of who the customer is, what they want and what has been agreed.
A person keeps complex questions, discounts, contracts, payments and anything where a mistake is costly. A WhatsApp AI agent for business answers the repetitive questions, so a person doesn’t have to.
How to connect the WhatsApp MCP server
MCP (Model Context Protocol) is an open standard for connecting AI assistants to external services. GREEN-API offers an MCP server for WhatsApp: you add it to Claude as a connector and enter your instance ID and API token from the GREEN-API console during authorization. For the Claude WhatsApp MCP setup, follow the guide to connect the GREEN-API MCP server to Claude.
Security tip. After authorization, you set the agent’s permissions: allowed, needs approval or blocked. Allow reading and replying to customers, require approval for group actions, and block logging out, deleting messages, changing settings and managing instances.
A “lead radar” in your own groups
Requests also get lost in WhatsApp groups: customer chats, buyer communities, dealer groups.
The agent can watch groups where the company number is a member or an admin and spot messages like “I want to buy”, “I need a quote” or “is this in stock?”. Each such message becomes a lead in the CRM, and the customer gets a quick reply. See the customer case with Claude Code in a WhatsApp group.
This works only in your own groups and in groups where people expect you. The agent does not join other communities or collect contacts from them.

“Sent” says little about the result. GREEN-API helps you check delivery and read status: for every outgoing message, a status notification arrives at your webhook or the notification queue, if the instance settings allow it. The main statuses are:
- sent: the message was sent;
- delivered: it reached the recipient;
- read: it was read, viewed or listened to;
- failed: an error occurred while sending to the WhatsApp server;
- noAccount: the recipient’s number has no WhatsApp account.
Build your reports on reads, not on sends. Handle errors separately: you can’t turn off the failed and noAccount statuses, so plan for them from the start. Numbers without WhatsApp usually mean an outdated contact list, and the agent can check a number in advance.
Trust without spam
Customers reply more willingly to a real business than to walls of text. What works:
- Voice and video messages instead of long texts.
- WhatsApp Status updates with news and reviews. You post them through the API, and customers who saved your number see them.
- A product catalog right inside WhatsApp.
- A fast reply. The strongest trust signal is getting an answer right away.
This works with people who already know you. A cold message to a stranger doesn’t build trust.
What you can hand over to the agent
The agent works through the 40 tools of the GREEN-API MCP server: see the full list of agent actions. Typical requests:
| What you need | How to ask the agent | Tool |
|---|---|---|
| Check that a number works | “Check whether my instance is authorized” | whatsapp_get_state |
| See what customers wrote | “What did I get in the last 2 hours?” | whatsapp_last_incoming_messages |
| Pull up a customer’s history | “Show my chat with this customer” | whatsapp_get_chat_history |
| Reply to a customer | “Tell the customer the order is ready on Friday” | whatsapp_send_message |
| Send a price list | “Send the PDF price list from this link” | whatsapp_send_file |
| Show how to get there | “Send the customer our office location” | whatsapp_send_location |
| Share a specialist’s contact | “Share the engineer’s contact” | whatsapp_send_contact |
| Check a number before sending | “Does +44… have WhatsApp?” | whatsapp_check_whatsapp |
| Create a group for a deal | “Create a ‘Project Alpha’ group with the customer and engineer” | whatsapp_create_group |
| Add someone to a group | “Add the new manager to the project group” | whatsapp_add_group_participant |
| Ask customers’ opinion | “Create a poll in the group: Tuesday or Wednesday?” | whatsapp_send_poll |
| Forward something important | “Forward the customer’s messages to the support group” | whatsapp_forward_messages |
| Mark a chat as read | “Mark the chat with this customer as read” | whatsapp_read_chat |
Where automation ends and spam begins

WhatsApp monitors account behavior: complaints, sending spikes, identical texts to hundreds of numbers. The result is a ban, and the business loses its channel to customers. Read more about how AI agents can avoid getting banned.
The setup in this article works with the inbound flow: the customer writes first or has given consent.
What you can do
- Reply to people who wrote first. An incoming message is an invitation to talk.
- Work in your own groups, where the company number is a member or an admin.
- Message first only those who agreed to it: they filled in a form, signed up for order updates or asked for a quote.
- Keep a steady pace and don’t send identical texts in bulk.
- Tell customers an AI is replying, and offer a human handoff.
What you can’t do
- Buy accounts or create bot farms.
- Message strangers who don’t expect to hear from you.
- Join other people’s groups to look for customers.
- Collect contacts from other chats for bulk messaging.
- Bypass spam protection by switching numbers after a ban or disguising bulk messages.
The GREEN-API FAQ explains how to send messages without the risk of being banned.
How to get started
To start, you need:
- A company WhatsApp number and a GREEN-API account.
- An instance authorized by QR code or phone number.
- An AI assistant with MCP support: Claude Desktop, Claude Code or ChatGPT.
- A CRM or spreadsheet where the agent logs leads.
To reply around the clock, the agent must run all the time: on a server or on a computer that stays on. Missed messages wait in the GREEN-API queue for 24 hours.
Try it for free: the Developer plan at GREEN-API lets you test the agent on real conversations.
FAQ
Can an AI agent reply to customers on WhatsApp?
Yes. Through the GREEN-API MCP server, the agent reads incoming messages and replies from the company number. Leave complex questions and payments to a person.
How many numbers can one agent handle?
Each number is a separate GREEN-API instance. The agent connects instances with the whatsapp_connect tool and names the instance in every command. The docs set no instance limit.
Will my number get banned?
No one can guarantee it: WhatsApp decides. Most bans follow cold bulk messaging and complaints, and an agent that replies to people who wrote first lowers that risk.
How does the agent hand a conversation over to a person?
Do I need to write code?
Not for the basic setup: you add the MCP server to Claude as a connector. You may need code to connect the agent to your CRM.
How is this different from bulk messaging?
Bulk messages go to many people at your initiative. The agent replies to people who reached out first.
Test the setup on your own numbers: connect WhatsApp to GREEN-API.