WhatsApp AI Agent: Complete Setup Guide for Businesses
WhatsApp is the world's most popular messaging platform, and your customers are already on it. This guide walks you through setting up an AI agent that handles conversations, automates workflows, and hands off to human operators when needed.
Dans cet article
Why WhatsApp Matters for Business AI
With over 2 billion monthly active users worldwide, WhatsApp is not just a messaging app; it is the primary digital communication channel for billions of people. In regions like Latin America, Southeast Asia, the Middle East, and parts of Europe, WhatsApp is the default way people communicate with businesses, ahead of email, phone, and even web chat.
For businesses deploying AI agents, ignoring WhatsApp means ignoring the channel where many of your customers are most comfortable and most responsive. The statistics tell a compelling story: WhatsApp messages have significantly higher open rates compared to email, and response times are typically much faster because people have WhatsApp open on their phones throughout the day.
The WhatsApp Business API, launched by Meta, gives businesses programmatic access to the platform. This API enables automated messaging, chatbot integration, and the kind of structured interactions that AI agents excel at: collecting information, routing conversations, triggering workflows, and providing instant responses around the clock.
But a WhatsApp AI agent is more than just a chatbot ported to a different channel. The best implementations leverage WhatsApp's unique capabilities: rich media messages, interactive buttons and lists, location sharing, document exchange, and the inherent trust users place in WhatsApp as a personal communication tool.
Chatloom's WhatsApp integration connects your AI agent to WhatsApp through the official Business API, giving you a production-ready channel that supports the same knowledge base, the same workflows, the same tools, and the same CRM data as your web widget. One agent, multiple channels, unified experience.
Setting Up Your WhatsApp AI Agent
Getting your AI agent live on WhatsApp involves several steps, but the process is straightforward with the right platform. Here is the complete setup process using Chatloom.
Prerequisites:
- A Facebook Business account (create one at business.facebook.com if you do not have one)
- A phone number dedicated to your WhatsApp Business account (this cannot be a number already registered with WhatsApp personal)
- An active Chatloom account with at least one configured agent
Step 1: Create a WhatsApp Business Account.
Log into the Meta Business Suite and navigate to WhatsApp accounts. Create a new WhatsApp Business account and verify your business information. Meta requires business verification, which can take 1 to 3 business days. This verification ensures your business is legitimate and helps build trust with customers.
Step 2: Register your phone number.
Add a phone number to your WhatsApp Business account. This number will be the identity of your AI agent on WhatsApp. You will receive a verification code via SMS or voice call. Once verified, the number is linked to your Business account.
Step 3: Generate API credentials.
In the Meta Business Suite, navigate to your WhatsApp account settings and generate a permanent access token. You will also need your Phone Number ID and WhatsApp Business Account ID, both of which are displayed in the account settings.
Step 4: Connect to Chatloom.
In your Chatloom dashboard, navigate to the agent settings and open the Channels section. Select WhatsApp and enter your access token, Phone Number ID, and Business Account ID. Chatloom will verify the connection and configure the webhook endpoint automatically.
Step 5: Configure the webhook.
Chatloom provides a webhook URL that Meta will use to forward incoming messages. Copy this URL and paste it into the WhatsApp webhook configuration in the Meta Business Suite. Subscribe to the "messages" webhook field. Chatloom handles webhook verification automatically.
Step 6: Test the connection.
Send a test message to your WhatsApp business number from a personal WhatsApp account. You should see the message appear in your Chatloom inbox, and the AI agent should respond based on your configured knowledge base and workflows.
Configuring Automated Replies and Conversations
Once your WhatsApp channel is connected, your AI agent automatically handles incoming messages using the same intelligence that powers your web widget. However, WhatsApp has some unique considerations for message formatting and interaction design.
Welcome messages. Configure a welcome message that greets new contacts when they first message your business. This message should set expectations: introduce the AI agent, explain what it can help with, and offer clear options. WhatsApp supports rich formatting including bold, italic, and emoji, so make your welcome message informative and approachable.
Quick replies and interactive messages. WhatsApp supports interactive message types that work particularly well with AI agents. Quick reply buttons let users select from predefined options with a single tap, which is faster and more accurate than typing. List messages present a scrollable menu of options. Your agent can use these formats to guide users through structured interactions like product selection, appointment time slots, or support categories.
Template messages. WhatsApp requires pre-approved message templates for outbound messages initiated by the business (as opposed to replies within an active conversation window). Chatloom helps you create and submit these templates for Meta approval. Common templates include: appointment reminders, order status updates, shipping notifications, and follow-up messages.
Session window management. WhatsApp enforces a 24-hour conversation window. After a user sends a message, you have 24 hours to reply with free-form messages. After 24 hours, you can only send pre-approved template messages. Your agent needs to be aware of this window and adjust its behavior accordingly. Chatloom handles this automatically, switching to template messages when the session window closes.
Rich media responses. Unlike web chat, WhatsApp excels at media-rich conversations. Your agent can send images (product photos, charts, diagrams), documents (PDFs, invoices, receipts), location pins (store locations, meeting venues), and contact cards. Use these capabilities to make interactions more informative and engaging than text alone.
Language detection. Chatloom's WhatsApp agent automatically detects the user's language from their messages and responds in the same language, leveraging the platform's 10-language support. This is particularly valuable for businesses operating in multilingual markets.
Integrating Workflows with WhatsApp
The real power of a WhatsApp AI agent emerges when you connect it to workflows. Instead of just answering questions, your agent can execute complete business processes directly within WhatsApp conversations.
Workflow triggers from WhatsApp. Any workflow you build in the visual workflow builder can be triggered by WhatsApp messages. When a customer sends a message that matches a workflow trigger (based on intent detection), the agent automatically enters the workflow and guides the customer through the process. The conversational interface of WhatsApp makes workflows feel natural, like a back-and-forth conversation with a helpful assistant.
Intake forms on WhatsApp. Chatloom's intake form nodes adapt automatically to the WhatsApp format. Instead of rendering a web form, the agent collects information through a series of conversational questions, using quick reply buttons and list messages where appropriate. The user experience is seamless: the customer answers questions one at a time, and the agent validates each response before moving to the next.
Tool execution over WhatsApp. All 10 built-in tools are fully available in WhatsApp conversations. The agent can book calendar appointments, send confirmation emails, create support tickets, update CRM records, and call custom APIs, all triggered by WhatsApp messages. The customer receives results and confirmations directly in their WhatsApp chat.
Cross-channel workflow continuity. One of Chatloom's most powerful features is cross-channel workflow continuity. A customer can start a conversation on your website widget, then switch to WhatsApp, and the workflow picks up exactly where it left off. The agent retains the full context, collected form data, and workflow state. This eliminates the frustration of starting over when switching channels.
Proactive WhatsApp workflows. Beyond reactive conversations, you can configure workflows that proactively reach out to customers on WhatsApp. Common use cases include: appointment reminders sent 24 hours before a scheduled meeting, follow-up messages after a purchase asking for feedback, re-engagement messages for customers who started but did not complete a process, and status updates for long-running support tickets. These proactive messages use WhatsApp template messages and comply with Meta's messaging policies.
Operator Handoff and Hybrid Support
Even the most capable AI agent cannot handle every situation. Emotional conversations, complex negotiations, VIP customers, and novel edge cases all benefit from human involvement. The operator handoff system ensures seamless transitions between AI and human agents on WhatsApp.
Automatic escalation triggers. Chatloom monitors several signals to determine when a conversation should be escalated to a human operator. These include: sentiment analysis detecting frustration or anger, confidence scores dropping below a configurable threshold, explicit customer requests to speak with a human, specific keywords or intents that are flagged for human handling, and workflow-level escalation nodes that you configure explicitly.
The handoff experience. When escalation triggers, the customer experience is seamless. The AI agent sends a message like "I am connecting you with a team member who can help further" and the conversation is routed to the operator inbox. The human operator sees the complete conversation history, the customer's contact profile, the detected intent and sentiment, and any data collected during the interaction. The customer continues the conversation in the same WhatsApp thread without interruption.
Operator inbox for WhatsApp. Chatloom's unified inbox lets operators manage WhatsApp conversations alongside web widget conversations in a single interface. Operators can respond to WhatsApp messages, view media shared by the customer, send rich media responses, and use canned responses for common situations. The inbox shows real-time typing indicators and read receipts, just like the native WhatsApp experience.
AI-assisted operator responses. Even after handoff, the AI agent continues to assist behind the scenes. It suggests relevant knowledge base articles, drafts response templates based on the conversation context, and highlights key information from the CRM. This AI assistance helps operators respond faster and more accurately.
Returning to AI. After the human operator resolves the issue, they can return the conversation to AI handling. The agent resumes automatic responses, retaining the full context of both the AI and human portions of the conversation. This hybrid model lets you scale support efficiently: AI handles the volume, humans handle the exceptions.
Operating hours and availability. Configure your WhatsApp channel to automatically switch between AI-only mode (outside business hours) and AI-plus-operator mode (during business hours). Customers always get an immediate response from the AI, and human backup is available when your team is online.
Questions Fréquentes
Do I need a separate phone number for WhatsApp Business?
Yes. The WhatsApp Business API requires a dedicated phone number that is not already registered with a personal WhatsApp account. You can use a landline number, as verification can be done via voice call.
How much does WhatsApp Business API access cost?
Meta charges per-conversation fees that vary by market and conversation type. Chatloom does not add additional per-message fees for WhatsApp. Check Meta's current pricing for your region at the WhatsApp Business Platform pricing page.
Can the AI agent send images and documents on WhatsApp?
Yes. The agent can send images, PDFs, documents, location pins, and contact cards. Rich media is fully supported in both automated and operator-handled WhatsApp conversations.
Is WhatsApp GDPR compliant for business communication?
WhatsApp Business API supports GDPR requirements including data encryption, consent management, and data deletion. However, you are responsible for obtaining proper consent before messaging customers and managing data retention policies.
Ressources Associées
Articles Associés
10 Things Your AI Agent Can Do (Besides Answer Questions)
Your AI agent can do far more than answer questions. From scheduling meetings to processing refunds, these 10 built-in tools turn your agent into a full-service automation platform.
TutorialHow to Build an AI Agent Workflow (No Code Required)
AI agents are only as powerful as the workflows behind them. This tutorial walks you through building automated, multi-step workflows using a visual builder, no coding skills required.
Buyer's GuideBest AI Agent Platforms Compared (2026)
The AI agent platform market is crowded and confusing. This guide compares seven leading platforms on the features that matter most: tool integration, workflow building, RAG quality, pricing, and ease of use.
Prêt à intégrer un chatbot IA à votre site ?
Créez et déployez un chatbot IA basé sur le RAG en moins de 5 minutes. Sans code. Commencez avec le plan gratuit.