Skip to content
All guides

[ Guide ] · 6 min read

Integrating an AI chatbot with WhatsApp for sales

Connect an AI agent to WhatsApp Business to answer customers and qualify leads. Service windows, opt-in rules and message costs explained.

Key takeaways

  • Connect an AI agent to WhatsApp Business to answer customers and qualify leads. Service windows, opt-in rules and message costs explained.

Adding an AI chatbot to WhatsApp means connecting an AI agent to your WhatsApp Business number so it can answer customers, qualify leads and hand warm conversations to your sales team around the clock.

Integrating an AI chatbot with WhatsApp for sales

You need access to the WhatsApp Business API to run that connection. Before you send any business-initiated message, you must obtain explicit opt-in from the customer.

This post explains how the setup works, what Meta charges for conversations, where the compliance lines sit, and what to check when choosing a platform. Inferya builds AI chatbots and WhatsApp assistants that answer customers and qualify leads around the clock.

  • An AI agent connected to WhatsApp can answer questions, recommend products, qualify leads, create CRM records and hand a conversation to a human with the full history attached.
  • WhatsApp allows free-form replies within 24 hours of the customer's last message; outside that window, only approved message templates can be sent.
  • Business-initiated template messages require explicit customer opt-in; unsolicited messages can get an account suspended.
  • Meta charges per delivered message by category and country, while service replies inside the 24-hour window are free.
  • A platform should ground answers in your content, hand off with full history and show resolution and escalation analytics.

WhatsApp Business app or WhatsApp Business API?

The WhatsApp Business app covers the basics: greeting messages, away messages and quick replies. It does not answer questions on its own. A dedicated chatbot adds an AI agent that learns your content, resolves cases and reports results.

To create a WhatsApp chatbot you need access to the WhatsApp Business API, typically through an official WhatsApp Business Solution Provider, which asks for your company name, website URL and a representative's contact details; verification can take up to four weeks, depending on Meta's review timeline. Some platforms complete Meta's onboarding inside an embedded signup flow instead.

Connecting an AI chatbot to WhatsApp

The setup is short because Meta handles onboarding inside its embedded signup flow.

  • 1. Create your AI agent, then connect WhatsApp through the platform's external apps or settings and complete Meta's embedded signup flow.
  • 2. Verify the business number by SMS or call, send a test message and confirm the conversation appears in the team inbox.
  • 3. Connect the agent to your knowledge base, CRM and calendar so it can answer from your documents, create records and book meetings.

Selling on WhatsApp: qualification, recommendations and handoff

When a potential customer messages your WhatsApp number, the AI can ask qualifying questions, recommend products and hand off warm leads to your sales team with context attached. Some platforms can create CRM records, such as contacts and deals, directly from the conversation.

Because WhatsApp allows free-form replies within 24 hours of the customer's last message, an instant AI reply keeps the conversation inside that window. When a case calls for judgment, a person takes over the same thread with the full history in view.

What conversations cost: service windows and message categories

Meta now charges per delivered message, and the price depends on the message category and the recipient's country; rates vary by market, so check Meta's current rate card rather than hardcoding prices.

CategoryWho initiatesWhen it appliesExample
ServiceCustomerYou reply to an inbound customer message inside the 24-hour service windowCustomer asks about order status; your AI replies
UtilityBusinessTransactional or requested updates, usually sent as templatesOrder confirmation, shipping notification, appointment reminder
MarketingBusinessPromotional or re-engagement templatesProduct launch announcement, discount offer, win-back campaign
AuthenticationBusinessVerification and login templatesOne-time passcode, account verification

These message categories come from Meta's pricing model.

Service messages are free. Utility templates are free inside the active 24-hour window; outside it, they incur delivery charges unless a free entry-point window applies. Marketing and authentication templates are charged per delivered message except during an eligible free entry-point window. Meta provides a 72-hour free entry-point window when a customer messages you from a Click-to-WhatsApp ad or a Facebook Page call-to-action button and you reply within 24 hours. Your total cost is usually the platform fee plus Meta's message delivery fees as a separate line item.

Compliance: opt-in, template approval and data protection

Meta enforces strict rules on what businesses can and cannot do on WhatsApp Business. You must obtain explicit opt-in from users before sending them business-initiated messages (templates), and sending unsolicited messages can get your account suspended.

Template messages need WhatsApp approval before use, and they are the only way to re-engage customers who have not messaged you recently.

Some providers publish enterprise-grade security credentials such as ISO/IEC 27001 certification and SOC 2 Type II compliance, and align their data protection program with GDPR.

Choosing a platform: what to look for

Three things separate an autoresponder from a chatbot that carries real weight: AI answers grounded in your own content rather than canned scripts, a clean handoff where the full history travels with the chat, and one inbox so WhatsApp joins your other channels instead of adding another tab.

You also need visibility into resolution rate, escalation rate, response time, conversation topics and customer sentiment; without analytics, you cannot measure whether the chatbot is working or identify areas for improvement.

The chatbot should connect to your existing systems: CRM, helpdesk, e-commerce and custom APIs, so the agent can check order status, create records and book meetings rather than only reply.

If a chatbot cannot show you the cases it solved and the sales it helped close, it is a cost. If it can, it is a profit engine.

Common questions about integrating an AI chatbot with WhatsApp for sales

Q: Can I use the WhatsApp Business app with an AI chatbot? A: No. The app handles greeting, away and quick replies but does not answer questions on its own; an AI chatbot needs WhatsApp Business API access.

Q: How long does setup take? A: Some platforms connect WhatsApp through Meta's embedded signup flow in minutes, while verification through an official provider can take up to four weeks.

Q: Can the bot message customers who have not written in recently? A: Only with explicit opt-in and WhatsApp-approved templates; templates are the only way to re-engage customers outside the 24-hour window.

Q: Are replies to customers free? A: Service replies inside the 24-hour window are free; Meta charges per delivered template message by category and country.

Q: What happens when the bot cannot answer? A: A person takes over the same thread with the full history in view, as long as the platform supports handoff.

Sources

Frequently asked questions

Related services

Want a professional site without the agency invoice?

Tell us about your project below and we'll reply within 24 hours with a clear, fixed quote, no surprises.

We'll use your details only to reply to this enquiry. See our Privacy Policy.

Prefer WhatsApp or email?