Home Blog

How to Integrate WhatsApp Meta API with AI Chatbot – AIHelpTeam.com

How to Integrate WhatsApp Meta API with AI Chatbot – AIHelpTeam.com

By : umoh 25 January 2025 9:50 am

Integrating WhatsApp Meta API with an AI chatbot can help businesses automate customer support and messaging. With WhatsApp Meta API, businesses can integrate AI-powered chatbots to handle queries, process orders, and improve engagement.

In this guide, we’ll show you how to set up WhatsApp Business API, configure WhatsApp Cloud API, and connect it to an AI chatbot using AIHelpTeam.com. You’ll also learn how to create a WhatsApp app on Facebook Developer and set up the WhatsApp Messaging API for smooth communication. Follow these steps to get started quickly and improve your customer interactions.

1. Log in to Facebook for Developers or Create a Facebook Developer Account

  • Visit developers.facebook.com and log in with your Facebook account.
  • If you don’t have a developer account, follow the on-screen instructions to create one.

2. Create a New App:

  • Select "My Apps" from the top right corner of the page dropdown.
  • Then click "Create App" and fill the form, following the steps below:
  • App details: App name and App contact email

    Integrating WhatsApp Meta API with AIHelpTeam.com's AI Chatbot for Enhanced Customer Care
  • Under Use Cases: Choose OTHER under Used Cases ( for whatsapp and more)

    Choose Others under use cases in WhatsApp Meta API
  • Under Select an App Type: select BUSINESS.


    Under Select an App Type: select BUSINESS in WhatsApp Meta API
  • Under Details: Add your App Name and contact email. Under the Business portfolio select your Business portfolio or leave it empty for Meta to automatically create for you, using your name

    Under Details: Add your App Name and contact email in WhatsApp Meta API

3. Add WhatsApp to Your App:

After creating the app, you’ll be redirected to the App Dashboard.

  • Under the list of Products, select WhatsApp and click "Set Up".

Add WhatsApp to Your App

 

4. Configure WhatsApp Settings in the WhatsApp Business API Page

Once you click Set Up from the step 3 above the WhatsApp Business Platform API pops up

  • Select a business portfolio and link your Business 
  • Click Continue to complete the setup.

5. Register a Phone Number for WhatsApp Cloud API

  • After clicking continue from step 4 above, you are taken to this API Setup page

Click on Start Using The API button
API Setup page in WhatsApp Meta API

 

  • Add a New Phone Number For Your Whatsapp Cloud AI Autamation ( Phone number must not be linked to any whatsapp account):

On the API Setup page, on Step 1: Select phone numbers, click the Test number: +15551431775 in the dropdown select add phone number

API Setup page in WhatsApp Meta API


It opens into the form below.
Fill the form with your correct and accurate business information
 and add a phone number that has not been used on whatsapp for verification

add a phone number in WhatsApp Meta API

 

6. Add Your Payment Method

Immediated you finalise step 5 above, you will be redirected here where you will need to click on add payment method

Add Your Payment Method in WhatsApp Meta API

 

 

Click the below Payment Settings button to add your card details as payment option. For Nigerians if your bank card is not accepted by Meta, then you may use the Grey Card. It accepts all kind of international payments

 

Add Your Payment Method in WhatsApp Meta API 2

 

7. Complete Business Verification (Optional)

While business verification is not mandatory, it enhances your API capabilities, including higher messaging limits and business name visibility

Although, completing your business verification on Meta is important but not compulsory. However, you won't be able to access certain features like higher messaging limits and your business name might not display properly in the WhatsApp app for customers.

To verify your business on Meta, find the business verification link on the same page as  step 6 above

Integrating WhatsApp Meta API with AIHelpTeam.com AI Chatbot

To successfully integrate the WhatsApp Messaging API on AIHelpTeam, Follow the specific steps below:

  1. Whatsapp webhook listener
  2. Whatsapp webhook verify token
  3. Permanant Whatsapp Access Token
  4. Whatsapp Phone Number ID

 

Integrating WhatsApp Meta API with AIHelpTeam.com AI Chatbot for Enhanced Customer Care

 

1. Whatsapp Webhook Listener

Your unique Whatsapp webhook listener ( See image tagged 1) is automatically provided for you on your AIHelpTeam whatsapp settings after subscription.

You will have to copy this code correctly into your facebook whatsapp webhook callback URL row

 

STEPS:

  • Go to facebook.developer.com - Dashboard
  • Whatsapp - Configuration - Callback URL
  • Copy your webhook listener from your AIHelpTeam account and paste on the Callback URL

Add Whatsapp Webhook Listener in WhatsApp Meta API

 

2. Whatsapp Webhook Verify Token

You will need to type and save a new 10 character long Verify Token  in your AIHelpTeam whatsapp settings and save it.

After which you will have to copy this Verify Token correctly into your facebook whatsapp webhook verify token row and save it


STEPS:

  • Create, save and copy your unique 10 character Verify token from your AIHelpTeam
  • Go to facebook.developer.com - Dashboard
  • Whatsapp - Configuration - Verify Token ( Under callback URL. See Image above)
  • Paste your copied Verified Token here and save

3. Permanant Whatsapp Access Token

To generate a permanent access token which you will need to input into your AIHelpTeam whatsapp settings follow the steps below:

STEPS:

  • Go to Business Settings.
  • Select the business account your app is associated with.
  • Below Users, click System Users.
  • Click Add.
  • Name the system user, choose Admin as the user role, and click Create System User.
  • Select the whatsapp_business_messaging permission.
  • Click Generate New Token.
  • Copy the permanent  whatsapp access token and paste  it on your AIHelpTeam.com Whatsapp  Settings

4. Whatsapp Phone Number ID

Your phone ID is not your actual phone number but the ID assigned to your registered phone number on the whatsapp API. Its directly under your phone number in your facebook.developer >> Whatsapp >> API Setup  page.

 

 

Helpful L​inks

Share

No Comments

Login to post comment or reply