Connect your flows to WhatsApp Business to automate conversations with customers on WhatsApp.
Before deploying to WhatsApp, ensure you have:
When you click "Connect Account" during deployment creation, you are asked how you would like to connect. Both end with the same working bot; they differ in how much setup you do yourself.
Meta asks you to sign in and pick the number, and we do the rest. There is nothing to copy or paste, no credentials to look after, and no webhook to configure. This is the shorter route and the one to take unless you have a reason not to.
For a number you have already set up in your own Meta app, with an access token to hand. You supply the credentials and configure the webhook in Meta yourself. Everything from Meta Business Setup onwards describes this route.
Already using the number in the WhatsApp Business app?
Take the guided route. It is the only one that can keep a number you already answer from your phone, and it brings your recent chat history across with it.
No, the chatbot handles it. Every message to the number is answered here. Choose this for a new number, and for one you have finished using the app on.
Yes, we reply from our phone. The number keeps working in the WhatsApp Business app, and your recent conversations come across so you keep the history you already had. The number has to have been in use on the app for a week or more, and Meta does not offer this in every country yet.
Answering from both places
A reply you send from the WhatsApp Business app does not appear in the conversation here and does not stop the bot, so the bot may answer a conversation you have already picked up. If you and the bot both work a number, agree who answers what.
Keeping the number working
If the connection ever stops working, because you remove our access at Meta or WhatsApp restricts the account, we tell you in the portal and by email rather than leaving the bot quietly silent.
The rest of this page covers the second route, where you bring your own Meta app. If you chose "Take me through it" above, you are already connected and can skip to Create a Deployment.
If you don't have a Meta App with WhatsApp Business API access:
Test Phone Number
Meta provides a test phone number for development. You can use this to test your integration before connecting your production number.
You'll need four pieces of information from your Meta App:
Find your Phone Number ID:
For testing, use a temporary token:
For production, create a permanent token via System User:
Create a custom verify token:
Find your App Secret:
Keep Your Credentials Secret
Never share your access token or app secret publicly. If compromised, rotate them immediately in the Meta dashboard.
Account connections are managed directly in the Flow Editor during deployment creation.
During deployment creation, you'll reach an account selection step:
The verify token and app secret are how we tell a real message from Meta apart from anything else that reaches the same address, so both belong to your app and both are required here.
One Phone Number Per Deployment
Each WhatsApp phone number can only be connected to one active deployment. If you need to deploy multiple flows, use different phone numbers.
After connecting your account, configure the webhook in Meta to receive messages:
https://universalchatbot.com/deployments/whatsapp/YOUR_PHONE_NUMBER_ID
Replace YOUR_PHONE_NUMBER_ID with your actual Phone Number ID
After verification, click "Manage" next to Webhook fields. Meta offers a long list; these are the ones that do something here.
| Field | Subscribe | What it gives you |
|---|---|---|
| messages | Required | Your customers' messages. Without it the bot never hears from anyone, however well everything else is set up. |
| account_update | Recommended | Word from Meta about the account itself: a restriction, a ban, a warning that one is coming, or our access being removed. We take the connection out of service and tell you which of those it was, so you learn why the bot went quiet from us rather than from a customer. |
| history | Coexistence only | The conversations already on the number when you connected it. Only a number you kept in the WhatsApp Business app sends this, and only in the days after it is connected. |
Anything else you subscribe to is accepted and ignored, so it costs nothing but does nothing. In particular, replies sent from the WhatsApp Business app are not shown here and do not stop the bot.
Don't Forget to Subscribe
Without subscribing to the messages webhook field, Meta won't forward any messages to your bot even though verification succeeded.
Once you have your credentials and connected account, creating a deployment is straightforward.
Before your Meta Business is verified, you must add phone numbers that are allowed to message your bot:
Development Mode Restriction
In development mode, only phone numbers you've explicitly added can message your bot. Once your Meta Business is verified, anyone can message your bot.
Once your deployment is active and webhook is configured:
Your flow can use these WhatsApp capabilities:
24-Hour Messaging Window
WhatsApp has a 24-hour messaging window. After 24 hours of inactivity, you'll need to use message templates to re-engage users. This is a WhatsApp Business API limitation.