On this page
- Official API vs unofficial tools
- The 24-hour window and message templates
- What a good AI agent does
- Human handoff done properly
- Connecting the agent to CRM and inventory
- Privacy and data protection
- Implementation roadmap
- Frequently asked questions
- Do I need the official API to use an AI agent on WhatsApp?
- What is the 24-hour window?
- Can the agent send promotions to everyone?
- What happens when the AI cannot answer?
- Can I keep my current WhatsApp number?
An AI WhatsApp agent built on Meta's official WhatsApp Business Platform can answer customers, qualify leads, take orders and hand complex cases to a person, all inside the channel your customers already use. The word "official" matters more than it seems: it determines whether your number is safe, whether you can message customers proactively, and whether the system will still work next year.
This guide explains how the official platform works, why it differs from unofficial tools, and what a well-built agent needs in order to be useful rather than annoying.
Official API vs unofficial tools
Unofficial solutions usually automate a regular WhatsApp or WhatsApp Business app by simulating a phone session. They are quick to set up, which is their appeal, but they carry structural risks.
| Aspect | Official WhatsApp Business Platform | Unofficial tools |
|---|---|---|
| Approved by Meta | Yes | No, they conflict with the terms of service |
| Risk of number being blocked | Low when rules are followed | Real and unpredictable |
| Proactive messaging | Via approved templates | Often attempted without control |
| Verified business profile | Available | Not available |
| Stability | Designed for business volumes | Can break when the app changes |
| Multiple agents and systems | Supported | Limited |
If WhatsApp is a core sales channel, losing the number means losing your customer conversations. For a business, that risk is rarely worth the saving. Our WhatsApp with AI solution (page in Spanish) is built entirely on the official platform.
The 24-hour window and message templates
The most important rule to understand is the customer service window.
- When a customer writes to you, a 24-hour window opens. Inside it, you can reply freely, with text, images, documents or interactive buttons.
- Once the window closes, you can only start a conversation with an approved message template.
- Templates are predefined messages, with variables such as a name or an order number, that Meta reviews and approves before use.
In practice, this means your AI agent should know which state a conversation is in. Inside the window it can converse naturally. Outside the window it must choose an approved template, for example an order update, an appointment reminder or a payment notice.
What a good AI agent does
An AI agent is more than a menu of buttons. A useful one should be able to:
Understand natural language
Customers write in their own words, with typos and voice notes. The agent interprets intent rather than forcing a script.
Use real business data
It checks stock, prices, order status or appointment slots from your systems instead of inventing answers.
Complete actions
Create a quote, register an order, send a payment link, book a visit.
Know its limits
When it is not sure, it escalates instead of guessing.
Human handoff done properly
No agent should trap a customer. A good handoff has clear triggers and keeps context:
- Triggers. The customer asks for a person, expresses frustration, the topic is sensitive (complaints, refunds, legal), or the agent's confidence is low.
- Context transfer. The human sees the full conversation and a short summary, so the customer never repeats themselves.
- Routing. The conversation goes to the right team or person, based on topic, language or customer value.
- Return path. After the human resolves the case, the agent can resume for follow-up.
- Out-of-hours behavior. If nobody is available, the agent says so honestly and schedules a callback.
Connecting the agent to CRM and inventory
An agent that cannot see your data is just a chatbot with good manners. Integration is where value is created:
- CRM: identify the customer, log every conversation, create leads and update their stage.
- Inventory and catalog: answer availability and price questions from live data. See our ERP comparison guide for how this fits with an ERP.
- Orders and payments: generate orders and payment links that reconcile with your accounting. For online sales, read about payment gateway integration.
- Shipping: give tracking information automatically, as described in our shipping integration guide.
The platform Ops (page in Spanish) brings conversations, sales and inventory together in one place, which removes much of this integration work. For other processes, business process automation (page in Spanish) can connect the rest.
Privacy and data protection
Customers share personal data in chat, so treat it with care:
- Collect only what the process needs and tell customers how it will be used.
- Keep clear consent records, especially for proactive messages. Customers must be able to opt out.
- Restrict access to conversations by role and keep an audit trail.
- Define how long chats are retained and how deletion requests are handled.
- Review how the AI provider processes data, and avoid sending sensitive information that the task does not require.
- Comply with the data protection laws that apply in each country you serve. These differ across Latin America and the United States, so confirm requirements for your case.
Implementation roadmap
- Define use cases. Start with two or three high-volume, low-risk ones, such as order status, FAQs and appointment booking.
- Register the business account and verify the business with Meta.
- Prepare templates for the proactive messages you need.
- Connect data sources: catalog, CRM, calendar, orders.
- Test with real conversations, including difficult ones, before opening to customers.
- Launch gradually, review transcripts weekly and refine.
Timelines and scope are defined after the first conversation about your operation.
Frequently asked questions
Do I need the official API to use an AI agent on WhatsApp?
For a reliable business setup, yes. It allows approved integrations, templates, multiple agents and a verified profile without risking your number.
What is the 24-hour window?
It is the period after a customer's last message during which you can reply freely. After it closes, you must use an approved template to start a conversation.
Can the agent send promotions to everyone?
Only to customers who have given consent, using approved templates, and within Meta's policies. Careless bulk messaging can hurt your number's quality rating.
What happens when the AI cannot answer?
It transfers the conversation to a person with the full context, or schedules a callback if no one is available.
Can I keep my current WhatsApp number?
Often yes, but the number must meet Meta's requirements for migration to the platform. This is reviewed during setup.
Written by
Asteby Team
Experts in software development and AI automation.



