WhatsApp Cloud API

Connect with WhatsApp Cloud API to automate chat on WhatsApp! It is very helpful for your business to have whatsApp cloud API connection

In order to set up WhatsApp Cloud API with Whautomate, follow these steps. 👇

Step 1: Go to the Whautomate app, select the Integration menu option, and Select the WhatsApp Connect button to continue.

Step 2: Scroll down find the Bring your own WhatsApp Cloud API keys section and select the Configure button to continue.

Step 3: You need to first configure Webhook settings.

Step 4: Go to https://developers.facebook.com/

Step 5: If you already have a Facebook Developer account, login

(OR)

Sign up for a Facebook Developer account.

Step 6: Select the Get Started option to continue and Create a Facebook for Developers account.

(i) Register

(ii) Verify account

(iii) Contact info

(iv) About you

Step 7: Apps

(i) Select the Create App button to continue

(ii) Create an App (Select an app type)

  • Select the Business option

Create or manage business assets such as Pages, Events, Groups, Ads, Messenger, WhatsApp, and Instagram Graph API using the available business permissions, features, and products.

Select the Next button to continue.

(iii) Provide basic information

  • Enter a Display name.

  • Enter the App contact email.

  • Select Business Account (Optional).

  • Select the Create app button.

Step 8: Add products to your app

(i) Find and Select the WhatsApp Setup button to continue.

Step 9: Please proceed to the next step before you are required to complete your Meta Business Verification process. (To access certain Meta products, your organization must be verified.)

  • Click on the Security Centre menu option and then select "Start Verification" to update your business information and submit the required documents for verification. Verification usually takes 1 to 2 days.

  • Once your business is verified, you can proceed to the next step.

Please follow this link to learn how to verify a Meta Business: 👇https://www.facebook.com/business/help/2058515294227817?id=180505742745347

Step 10: Once you have finished the Meta Business Verification process, kindly return to the following URL: https://developers.facebook.com/ to continue.

Select the API Setup option and then select the Configure Webhooks link to continue.

(i): Select the Edit button

(ii) Copy the Webhook callback URL from the Whautomate app and paste it.

(iii) Copy the Verify Token from the Whautomate app and paste it.

(iv) Select the Verify and Save button

(v) Select the Manage button to Subscribe to Webhook Fields

(vi) Then you need to subscribe to these two Webhook Fields message_template_status_update and messages and Select the Done button to complete Webhooks Configuration.

Step 11: Add a phone number

(i) Select the Add phone number button to add your business information and WhatsApp number.

If you want to add a new phone number, simply proceed with the Add phone number option.

(Or)

To migrate your existing WhatsApp account, you must first delete it and then proceed. 👇

Learn more: https://developers.facebook.com/docs/whatsapp/cloud-api/get-started/migrate-existing-whatsapp-number-to-a-business-account/

(ii) Please provide the following 4 steps of information in order to add a WhatsApp number.

Step 12: Next you need to configure WhatsApp Settings

(i) Go to https://business.facebook.com/settings/

(ii) Select the System users option and Select the Add button.

(iii) Enter a system username e.g. API User, Select the user role Admin option and Select the Create System User button to add.

(iv) Select the WhatsApp accounts menu option, then select your WhatsApp Business Account and Select the Add People button to give access to the System user previously you created.

(v) Select the system user you previously created, enable Full Control, and click Assign to grant access.

(vi) Again select the System users menu option and Select the Add Assets button.

(vii) Select the asset type as Apps, then select the previously created app name. Next, choose the Full Control option and click on Save Changes.

(viii) Select the Generate New Token button. (WhatsApp Permanent API Token)

(ix) Generate Token

  • Select the App.

  • Select the Token Expiration - Never.

  • Scroll down and Select the Permissions - whatsapp_business_messaging | whatsapp_business_management.

  • Select the Generate Token button.

(x) Copy the WhatsApp Permanent API Token and Paste it on the Whautomate app.

(xi) Then go to https://developers.facebook.com/apps/

(xii) Select your previously created app

  • Copy the Phone number ID and Paste it on the Whautomate app.

  • Copy the WhatsApp Business Account ID and Paste it on the Whautomate app.

(xiii) Go to WhatsApp Settings in your Whautoamte app and paste your API Token, WhatsApp Phone Number ID, and WhatsApp Business Account ID. Finally, select the Save button to complete the setup for WhatsApp Cloud API.

Step 13: Now, send a test message to the registered WhatsApp Cloud API mobile number to check if it's working.

Last updated