Purpose

The WhatsApp integration allows you to offer your chatbot on the WhatsApp app
Your users will be able to interact with your chatbot as they do with their friends 🙂

37403740

Step by step tutorial

  1. Login or create an account on the  Meta for developpers page  
  2. Then, click on "Create App".
43664366

Choose the "Business" app type

43204320

Pick a name for your bot

43344334

Add the WhatsApp product

43274327

Pick Meta Business Account if you have one or you can create one

43244324

Congrats your Meta has been created
A dedicated phone number has been created for the bot
Now you can define up to 5 testers for this app

43384338

For each tester, define the country code and the phone number

43344334

You will receive a confirmation code by SMS to reuse here

43344334

You can now test the WhatsApp push message by clicking on "Send message"

47324732

You should receive a Hello World message
You can add this number in your contacts so you can easily find it later to test your bot

44004400

Now let's plug your bot to the Meta app!
Go to the Builder and click on Integrations

43904390

Choose WhatsApp

43804380

We have access to a window to define our integration, let's fill the form and make it work!

43964396

First copy / paste the Access Token as shown below

🚧

Your Access token is temporary

As mentioned in the Met platform, the given token has a relatively short lifespan of 23 hours, if you are testing the bot during multiple days, you will have to update this token in the bot platform and click "Redeploy"

58595859

The token verify is a text defined by you, in our case we have simply set it to bonjour

44034403

Once all field are filled, we can deploy the integration. Click on "Deploy my app"

43704370

Now, on the configuration section, click on Edit the Callback URL

43734373

Copy / paste the token verify and the webhook from the integration and click on "verify and save"

58615861

Lastly, click on "Manage" in the Webhook fields section

43724372

Subscribe to the messages

43424342

You should see a green confirmation, click on "Done"

43324332

here is how the webhook should look like now

43284328

Congrats, you can now send messages and get replies from your bot directly on WhatsApp 🙂

44004400