WhatsApp Cloud API
Set up
To set up the integration of your assistant in WhatsApp Cloud API, you will need the following:
A Facebook account registered in the developers console.
A Facebook page connected to Meta Business.
An available phone number.
Create a Meta app
Access the Facebook developers console.
Add your phone number
Go to the WhatsApp > Quickstart menu section.
In step 5, click on 'Add a phone number', fill in the details, and validate the link with the WhatsApp Business API account through the confirmation SMS.\
Generate a Permanent Access Token
Navigate to Facebook Business.
Copy the generated authentication token for future use.
Obtain the Phone Number ID
Navigate to Facebook developers console.
Access to the created application.
Go the WhatsApp > Quickstart menu section.
Obtain the application secret key
Navigate to Facebook developers console.
Access to the created application.
Go the Settings > Basic Information menu section.
Connect your app with your assistant
Activate integration in 1millionbot platform
Go to the Channels section on the platform.
Activate WhatsApp and click on 'Settings'.
Enter the previously obtained data: Application Secret Key, Permanent Access Token and Phone Number ID
Activate integration in Meta
Obtain the Callback URL
Configure the Meta Webhook
Paste the callback URL obtained from the 1millionbot platform and enter the Permanent Authentication Token.
Click 'Save' to apply the changes.
Set permissions
Click 'Save' to apply the changes.
Publish Meta app
Now, your application is in development mode, so you can test the assistant's operation as long as the phone number you use to interact with the assistant belongs to one of the users with access to the application.
Done! Once published, perform tests to verify the operation of your assistant on the provided phone number in WhatsApp. 🎉
Limitations
Initial limit of 1000 conversations per day (+ info).
Maximum of 3 buttons per message.
Each button can have a maximum of 20 characters.
Last updated