Summary: an AI agent on WhatsApp talks to the customer following your instructions and calls tools: look up data, create a deal, book an appointment, transfer. It is worth using for open questions and varied lookups; not for what is predictable, which a menu flow handles better, nor for what requires human accountability. The secret is to fence it with rules.
“AI on WhatsApp” has become an umbrella term. It covers everything from a bot that replies “hi” to an agent that checks stock, creates the order and schedules delivery. This article separates the types, explains what an AI agent actually does in a WhatsApp conversation and gives criteria to decide where it pays off.
Three different things called “AI on WhatsApp”
| Type | What it does | Who decides the reply |
|---|---|---|
| Flow chatbot | Follows a diagram: menu, questions, conditions, actions. | The flow design. Same input, same output. |
| Assistive AI for agents | Summarizes the conversation, suggests a reply, classifies the contact. | The human agent, who reviews and sends. |
| AI agent | Talks to the customer, interprets requests and calls tools. | The model, within the instructions and tools you defined. |
The three coexist. In a well-built operation, the flow handles the predictable, the agent the open questions, and assistive AI speeds up the human agent once the conversation reaches a person.
What an AI agent does in a conversation
An agent is a free-conversation block with three ingredients:
- Instructions. A text from you saying who it is, what it can and cannot do, its tone and when to transfer. It is the most important document in the project.
- Conversation memory. It considers the recent messages and a summary of what came before, so it doesn’t ask the same thing twice.
- Tools. Actions it can call when the conversation asks for them: search the knowledge base, query an API, create a CRM deal, check and book a time slot, generate a payment link, apply a tag, transfer to a department or end the chat.
In practice the conversation looks like this: the customer asks “do you have model X in blue?”, the agent calls the catalog lookup tool, reads the response and replies with what it found. If the customer says “I’ll take it”, it creates the deal in the CRM and hands off to a sales rep. None of this was scripted as a menu; it was defined as available tools and rules of use.
When an agent is worth it
- Open questions about your company, answered from a knowledge base: policies, products, lead times, documentation.
- Varied lookups in the same system, where a menu would become huge: “what’s my order status”, “when is my invoice due”, “is there a slot on Thursday”.
- Free text instead of options: people who describe the problem in their own words, including transcribed voice messages.
- Lead qualification with questions that change depending on the previous answer.
When not to use it (or to use it carefully)
- What is predictable. Opening hours and invoice copies don’t need a language model; a menu flow is cheaper, faster and doesn’t make mistakes.
- Promises with consequences. Negotiated prices, guaranteed deadlines, cancellations, refunds. Leave them to a person, or limit the agent to collecting and transferring.
- Upset customers. A complaint calls for human listening. Set the agent to transfer when it detects the tone, or keep it out of that branch altogether.
- No knowledge base. An agent without a reliable source makes things up. Feed it your documents and limit replies to them.
How to keep the agent under control
The risk with an agent is not that it “thinks too much”; it is that it operates without a fence. Five fences that work:
- A flow around the agent. Before it, identify the customer and the topic with deterministic blocks. After it, run the actions through the flow, not through the AI. In DeskFlow, the agent is one block among others.
- Minimal tools. Give only the tools that particular agent needs. A support agent doesn’t need to create CRM deals.
- Explicit hand-off. A “transfer to human” tool with criteria written in the instructions: when it doesn’t know, when the customer asks, when there is a complaint.
- Iteration and time limits. Prevents conversations going in circles and unexpected costs.
- Test with real, anonymized conversations before publishing, and read the logs during the first weeks. The instructions improve with every review.
Cost and provider
An agent consumes calls to a language model with every message. In VipDesk, you use the API key of the provider your company chooses (OpenAI, Google Gemini or Anthropic), pay the provider directly for usage and pick the model per flow. Hence the rule from the previous section: what the flow can solve without AI, solve without AI.
A complete example
A repair service receives quote requests, status inquiries and complaints on WhatsApp.
- The flow greets the customer, asks for an ID number and looks up the record through an API.
- An AI router reads the first message and sorts it: quote, status, complaint.
- Status is solved by the flow with an API lookup, no agent involved.
- Quote goes to an AI agent with the knowledge base of services and reference prices; when the customer accepts, the agent creates the CRM deal and hands off to the team.
- Complaint never reaches the agent: the flow applies the tag, changes the ticket status and transfers to the supervisor.
The result is an operation where AI answers what varies, the flow answers what repeats, and the team receives what requires judgment, with full context.
In VipDesk, AI agents are built in DeskFlow and work alongside assistive AI for agents. In the demo, we show an agent configured for your scenario.
