Dialogflow WhatsApp Integration: How to Connect It, and the AI Agent Alternative
Dialogflow has no built-in WhatsApp integration, so you connect it through the WhatsApp Business API with middleware: a service receives each WhatsApp message, sends it to your Dialogflow agent, and sends the agent’s reply back through the API. It works, but you build and host that bridge, design every intent and flow, and write the code that looks up orders or takes payment. Many businesses now skip that build and put an AI agent on their WhatsApp number that answers from their own products and policies and acts in their systems, with each workflow described in their own words.
What Google’s docs say about Dialogflow and WhatsApp
Google’s Dialogflow CX integrations page (checked 26 November 2026) lists built-in integrations for Dialogflow CX Messenger, Messenger from Meta, Workplace from Meta, LINE, Slack, Google Chat and a phone gateway, plus open-source integrations Google contributed for channels such as Telegram, Viber and Twilio. WhatsApp is not on the list. For any other channel, Google points you to the Dialogflow CX API to build your own integration, or to integrations built by other companies.
How to connect Dialogflow to WhatsApp
- Put your number on the WhatsApp Business API. Sign up with Meta’s Cloud API directly or through a provider. See how to get the WhatsApp Business API and the WhatsApp Cloud API.
- Build your Dialogflow agent. Create the agent in the Google Cloud console, then define intents, training phrases, entities and, in CX, flows and pages.
- Build the bridge. Host a small service that receives WhatsApp webhook events, calls Dialogflow’s detect intent method with the customer’s text and a session ID per phone number, and sends the reply through the WhatsApp API. See WhatsApp webhooks.
- Add fulfillment. For anything beyond a fixed answer, such as order status or stock, write webhook code that Dialogflow calls to fetch the data.
- Map rich messages. Convert Dialogflow responses into WhatsApp buttons, lists or templates yourself.
- Handle the rules. Free-form replies only inside the 24-hour window, approved templates outside it, and a way for customers to reach a person. See the WhatsApp Business policy.
- Add a team inbox so people can see and take over conversations.
Some WhatsApp providers sell a ready-made Dialogflow connector, which removes step 3 but not the intent design or fulfillment code.
What this approach costs you in practice
- Intent upkeep. Every new question customers ask needs a new intent or training phrases, or the bot falls back to “Sorry, I didn’t understand”.
- Code for every action. Looking up an order, checking stock or creating a payment link each needs fulfillment code and someone to maintain it.
- Three bills. Google Cloud usage for Dialogflow, hosting for the bridge, and Meta’s WhatsApp message fees.
- Languages. Each language is set up and trained in the agent.
That suits a team with developers that wants full control of a scripted flow. For a business that wants WhatsApp answered and sales finished, it is a lot of build for the result.
The AI agent alternative
An AI agent reads what the customer means instead of matching an intent list, answers from your products, policies and pages, and carries out actions in your systems. The difference, in short:
| Dialogflow on WhatsApp | AI agent on WhatsApp with AeroChat | |
|---|---|---|
| Understanding questions | Intents and training phrases you write | Reads the customer’s words and answers from your knowledge and store data |
| WhatsApp connection | Middleware you build or buy | Connect your number with Meta’s embedded signup |
| Actions | Fulfillment code per action | Describe the workflow in your own words. AeroChat builds it and asks for the system’s keys |
| Payment | Your code creates and checks payment links | Tap-to-pay button, payment detected automatically |
| Languages | Configured per language | Replies in the customer’s language, including mixed languages |
| Team inbox | Separate tool | Built in, with takeover of any chat |
For the full picture, see WhatsApp AI agent vs chatbot and agentic WhatsApp.
Do it with AeroChat
- Sign up and connect your WhatsApp number. It can stay on the WhatsApp Business app with coexistence.
- Connect your store. Shopify, WooCommerce and Wix are built in.
- Bring your Dialogflow content across. Paste your intents’ answers and FAQs into your knowledge, or add the pages they came from.
- Turn each Dialogflow flow into a workflow by describing it, for example “when a customer asks to book a service, offer the next three free slots, take a $20 deposit by payment link and confirm”. AeroChat builds it as a draft.
- Add the keys of any system you connect in the dashboard, test on your own number, and turn the workflows on.
Payments go through Airwallex, built into AeroChat. AeroChat never sees card numbers and never holds your funds. No Airwallex account yet? Open one through AeroChat’s Airwallex partner link.
Customer: hey my order hasnt come yet and i need it for saturday, can i switch to express?
AeroChat: Hi Laura. Order 6631 hasn’t shipped yet, so I can switch it to express. It would arrive Friday for an extra $12. Tap below to pay the difference.
[Button: Pay $12.00]
AeroChat: Payment received. Order 6631 is now on express and arrives Friday. I’ll send the tracking link here when it leaves.
What happens in your systems: AeroChat checks the order in your store, changes the shipping method, records the $12 payment in Airwallex, and sends the tracking link from the fulfillment update.
Copy this into AeroChat
When a customer asks to change shipping on an order, follow these steps.
- Find the order by their phone number, or ask for the order number.
- If it has not shipped, quote the express price and arrival day.
- Send a payment link for the difference.
- When the payment comes through, update the shipping method and confirm the new arrival day.
Reply in the customer’s language.
Questions
Can Dialogflow connect to WhatsApp directly?
No. Google’s integrations list does not include WhatsApp. You connect through the WhatsApp Business API with middleware you build, or a provider’s connector.
Should I use Dialogflow CX or ES for WhatsApp?
Both connect the same way, through the API and middleware. CX adds visual flows for larger agents. If you are starting fresh, compare either one with an AI agent that needs no intent design.
Can I move my Dialogflow bot to AeroChat?
Yes. Bring your answers and FAQs into your knowledge, describe each flow as a workflow, and connect the same WhatsApp number. Your approved templates stay with your WhatsApp Business account.
Is an AI agent allowed on WhatsApp?
Yes, for your own customers. WhatsApp allows automated replies inside the 24-hour window with a clear way to reach a person. See the WhatsApp Business policy.
Skip the intent building
Connect your number and store, and ask your own WhatsApp number a question your Dialogflow bot used to miss.
Start your 7-day free trial. No credit card needed.
On Shopify? Install AeroChat from the Shopify App Store.
Related workflows: auto replies and FAQs, order changes and customer service. Related guides: the WhatsApp API for developers and WhatsApp MCP server.
