Back to Blog

WhatsApp Chatbot Integration: 3 Ways to Connect a Bot in 2026

WhatsApp Chatbot Integration: 3 Ways to Connect a Bot in 2026
J
Jan van MusscherFounder @ FlowGent

Yes, you can integrate a chatbot with WhatsApp. There are three ways to do it: use a no-code platform that bundles the WhatsApp Business API, work through a WhatsApp Business Solution Provider, or connect your own bot directly to Meta's Cloud API. This guide compares the three, explains what you need before you start, how the integration works under the hood, and what it costs after Meta's 2026 pricing changes.

Last updated: October 2026.

This page is the technical and decision guide. If you just want a free or quick way to get started, read how to create a free WhatsApp chatbot. For Meta's pricing, templates and requirements in detail, see the WhatsApp Business API guide.


Can You Integrate a Chatbot with WhatsApp?

Yes. WhatsApp supports chatbots through the WhatsApp Business Platform, whose messaging API is called the Cloud API. Your chatbot receives a customer's message from WhatsApp, decides how to answer, and sends the reply back through the API on your business phone number. The free WhatsApp Business app cannot connect to a chatbot, so every real chatbot integration goes through the Cloud API, directly or via a provider.

Note that Meta shut down the older On-Premises API on October 23, 2025. Any guide that still mentions hosting the API client on your own server is out of date. Cloud API is the only supported option now.


Turn Instagram DMs into booked calls

AI that qualifies leads, handles objections, and follows up - so you don't have to.

Start Free Trial

The 3 Ways to Integrate a Chatbot with WhatsApp

MethodBest forTechnical effortWhat you manage
1. No-code chatbot platform (for example FlowGent)Small and mid-size businesses that want a working bot without developersLowYour knowledge base and conversation design. The platform manages the API connection
2. Business Solution Provider or Tech ProviderTeams that want a dedicated WhatsApp inbox, broadcasts and support from a WhatsApp-specialist vendorLow to mediumProvider subscription, templates and campaigns
3. Direct Cloud API integrationCompanies with developers who need full control of the bot logic and dataHighServer, webhook, security, message handling, template management and monitoring
↔ Scroll sideways

How to choose:

  • No developers and you want to be live this week: method 1.
  • You mainly send campaigns and need a shared team inbox: method 2.
  • You already have a bot or AI model and developers to maintain it: method 3.
  • Custom logic but little engineering time: start with method 1 and extend it with webhooks and custom tools.

With a platform or provider you pay a subscription instead of building and maintaining infrastructure. With a direct integration you pay in engineering time. In both cases Meta's per-message fees apply. If you are comparing platforms on cost, check ManyChat's WhatsApp pricing as one reference point.


What You Need Before You Integrate

Whichever method you choose, you need the same four things:

  1. A Meta Business portfolio. This is where your WhatsApp Business Account lives. Verification requires correct business details and a Privacy Policy and Terms of Service on your website.
  2. A phone number. It must be able to receive a call or text for verification. For most setups, the number cannot be active on the regular WhatsApp or WhatsApp Business app at the same time. Meta offers a coexistence option for some Business app users, but support depends on your provider and country, with lower fixed throughput on shared numbers. Check this before you migrate a number you use daily.
  3. An approved display name. It should match your legal business or trade name, or Meta may reject it.
  4. A payment method in Meta's Billing Hub. Since October 1, 2026, Meta stops delivering service messages above the free monthly tier if no payment method is on file.

Platforms such as FlowGent use Meta's embedded sign-up flow, so you authorize the connection through Facebook, pick your portfolio and number, and the platform receives the API access. The step-by-step setup is in our WhatsApp chatbot guide.


How a WhatsApp Chatbot Integration Works

Regardless of the method, the flow is the same:

  1. A customer sends a message to your business number.
  2. WhatsApp sends a webhook (an HTTP request containing the message) to the URL registered for your account. With a platform, this URL belongs to the platform.
  3. The chatbot decides on a reply. This can be a fixed flow, an AI model answering from your knowledge base, or a handover to a person.
  4. The reply is sent through the Cloud API. Status webhooks then report whether the message was delivered and read.

Two WhatsApp rules shape every integration:

  • The 24-hour customer service window. When a customer messages you, a 24-hour window opens and resets with each new customer message. Inside it, your bot can send free-form replies. Outside it, you can only send pre-approved template messages.
  • Templates need approval. Templates for marketing, utility or authentication messages are reviewed by Meta before you can use them, and each category is charged differently.

How to Connect Your Own Bot or AI Model to the Cloud API

If you have developers and want to wire in your own logic (including your own AI model), the high-level steps are:

  1. Create a Meta app in Meta for Developers and add the WhatsApp product, or complete embedded sign-up for your customers if you are a platform.
  2. Get an access token with the WhatsApp permissions and a business phone number ID.
  3. Register a webhook endpoint on your server and subscribe to message and status events. Your server must verify Meta's challenge request and, in production, validate request signatures.
  4. Handle incoming messages. Parse the webhook, store the conversation, and pass the text to your bot or model.
  5. Send replies by calling the Cloud API's messages endpoint with the phone number ID, the recipient and the message body. Use templates when the 24-hour window is closed.
  6. Add handover, retries and monitoring. Handle duplicate webhooks, rate limits, failed deliveries and escalation to a human agent.

Meta documents each step in its WhatsApp Business Platform documentation. Expect to spend most of your time on step 6, not step 1. That maintenance work is the main reason most small businesses choose a platform.


How to Integrate WhatsApp with Your CRM, ERP and Other Systems

A WhatsApp bot gets much more useful when it can read and write data in your other systems, for example to look up an order, check stock, or create a lead. There are three common approaches:

  • Native integrations: some platforms connect directly to popular CRMs and helpdesks.
  • Webhooks and automation tools: the chatbot sends conversation events to a webhook that your CRM, ERP or an automation tool receives.
  • Custom tools for the AI agent: the agent calls your API during the conversation to fetch or update data.

In FlowGent, custom tools (available on Standard and higher plans) let an agent call your own endpoints so it can work with systems such as an order database or a CRM. For a deeper look at the CRM side, read our WhatsApp CRM integration guide.

Whatever you connect, send the bot only the data it needs and keep personal data out of prompts where you can. Customers expect their messages to be handled carefully, especially in finance and healthcare.


What Does a WhatsApp Chatbot Integration Cost?

There are two cost layers, and the integration method only affects the first:

  1. Your platform or build cost: a monthly subscription for a platform or provider, or developer time for a direct build.
  2. Meta's message fees: charged per delivered message, by category and recipient country. Replies inside the 24-hour window count as service messages. Each business phone number gets 1,000 free service messages per month, and Meta charges for service messages after that from October 1, 2026. Template messages are charged by category, and messages sent from customers to you are free.

Meta also launched Meta Business Agent in 2026, its own AI agent for WhatsApp businesses, charged by tokens. Messages written by a third-party chatbot, including FlowGent, count as normal service or template messages instead.

Rates change only on the first day of a quarter. For the details and a link to Meta's rate cards, see the pricing section of our WhatsApp Business API guide. For a pricing-only page, see WhatsApp API pricing.


Does WhatsApp Allow AI Chatbots?

Yes, for business conversations. Chatbots that answer questions, take orders and book appointments for your own business are a standard use of the platform. WhatsApp's business terms were updated on January 15, 2026 to restrict "AI providers" from offering general-purpose AI assistants on the Business Platform, with exceptions where Meta is legally required to allow it. In practice, build your bot around your own customer conversations, tell customers when they are talking to automation, and make it easy to reach a person.

Policies change. Read WhatsApp's current Business Solution Terms before you launch, especially if you plan to offer an open-ended assistant.


Conversation Design That Works on WhatsApp

A technically perfect integration still fails if the conversations are poor. A few principles:

  • Keep messages short. WhatsApp is casual, so write like a text message, not an email. If you want to highlight a key detail, the free WhatsApp message formatter helps you draft bold or italic text.
  • Use buttons and lists for common choices so customers can tap instead of type.
  • Open with value. A good welcome message says what the bot can do and offers a clear next step.
  • Never leave dead ends. If the bot does not understand, offer options or a handover to a person instead of repeating an error message.
  • Match your brand tone. Automated does not have to mean generic.
  • Review real conversations regularly to see where customers get stuck.

Where bots help most:

  • Retail: product questions, order status, returns.
  • Services: appointment booking, reminders and rescheduling.
  • Finance and healthcare: simple FAQs and appointment logistics, with careful handling of sensitive data and a clear route to a person.

Rollout Plan for Your WhatsApp Chatbot

  1. Define one goal. Fewer repetitive questions, more qualified leads, or faster bookings. One goal keeps the first version focused.
  2. Collect the top 20 customer questions from your inbox, email and DMs, and write the answers.
  3. Pilot with a small group or a single number before you promote it widely. Create a click-to-chat link with the free WhatsApp link maker or a code with the QR code generator for WhatsApp and share it with the pilot group.
  4. Record baseline numbers, such as average first-reply time and the share of conversations a person has to handle, so you can measure the change.
  5. Review conversation logs weekly for the first month and update the knowledge base. An analytics tool or a Chatbase alternative can help spot patterns.
  6. Stay current with WhatsApp's rules, since pricing and policies change on a quarterly schedule.

Ready to connect your own number? See the FlowGent WhatsApp channel. FlowGent has no free plan, but you can test it with the 7-day trial, and WhatsApp is available on paid plans starting at $19/month.


FAQ

Can I integrate a chatbot with WhatsApp?

Yes. Connect your chatbot to the WhatsApp Business Platform's Cloud API, either through a no-code platform, a Business Solution Provider or your own server. The free WhatsApp Business app cannot connect to a chatbot.

Do I need a developer to integrate a chatbot with WhatsApp?

Not with a no-code platform. You authorize the connection through Meta, add your knowledge and publish. A direct Cloud API integration needs a developer for the webhook server, security, message handling and ongoing maintenance.

What is the best way to integrate a chatbot with WhatsApp?

It depends on your team. A no-code platform is the fastest route for most small and mid-size businesses. A provider fits teams focused on broadcasts and a shared inbox. A direct Cloud API integration fits companies with developers and custom requirements.

Can I connect ChatGPT or another AI model to WhatsApp?

Yes, through the Cloud API: the webhook receives the customer's message, your server sends it to the AI model, and your server sends the answer back through the API. Platforms do this for you. Keep the bot focused on your own business conversations and check WhatsApp's current terms for AI.

Is the WhatsApp Cloud API free?

Access to the API is not charged by Meta, but Meta charges per delivered message depending on category and country. Each business phone number gets 1,000 free service messages per month, and messages sent by customers are free. Your platform or provider adds its own subscription fee.

Can I use the WhatsApp Business app and a chatbot on the same number?

Only with Meta's coexistence option, and only if your provider supports it. Otherwise the number has to be removed from the app first. Coexistence numbers have a fixed, lower message throughput, so check the limits for your volume.

Can I integrate a WhatsApp chatbot with my CRM or ERP?

Yes. Use native integrations, webhooks or custom tools that let the chatbot read and write data in your systems. See the WhatsApp CRM integration guide for details.

What happens if the bot cannot answer?

A well-built integration hands the conversation to a person. In FlowGent you can take over a conversation from the agent at any time by sending a message manually. Define in advance which topics should always go to a human, such as complaints and sensitive requests.

Why did Meta's On-Premises API stop working?

Meta ended support for the On-Premises API on October 23, 2025 and now supports only the Cloud API. If a provider still talks about hosting the API on your own server, ask how they connect to Cloud API.

J
Written by Jan van Musscher

Founder @ FlowGent