WhatsApp by Meta
最新の更新:2023-12-08

WhatsApp by Meta

You can configure a bot on WhatsApp, allowing your team to use the bot directly through WhatsApp.

Create Meta App

image-20231209184848159

Go to "Meta Developer", click on "My Apps," then "Create App." Select "Other - Business" and complete the creation process.

Set WhatsApp Number

image-20231209190729283

Inside the "Meta App," click on "Add Product" and select "WhatsApp."

image-20231209190807301

Go to "API Setup" and find "Add Phone Number" in "Step 5." Enter the phone number that needs to be configured within this "Meta App."

image-20231209191012141

In "Step 1," add the phone number from the previous step. Copy and save the "Phone Number ID" and "WhatsApp Business Account ID" as they will be needed for configuring WhatsApp in GPTBots.

Set System User

image-20231209185629282

Go to "Meta Business Suite" and choose the appropriate "Business Account." Select "Business Settings."

image-20231209190138993

Find "System Users" and click on "Add."

image-20231209190209849

When creating the "System User," select "Admin" for the "System User Role."

image-20231209190248321

Click on "Add Assets."

image-20231209190343506

Click on "Apps" and enable "Manage App" under "Full Control."

image-20231209190419019

Click on "Generate New Token."

image-20231209190523265

Select "Never" and check the following permissions:

  • business_management
  • whatsapp_business_messaging
  • whatsapp_business_management

Click on "Generate Token" to generate the token.

image-20231209190557477

You will receive an "Access Token." Copy and save it as it will be needed for configuring WhatsApp in GPTBots.

Configure GPTBots WhatsApp

image-20231211181017740

Go to the Bot's WhatsApp configuration page and fill in the corresponding fields with the "Phone Number ID," "WhatsApp Business Account ID," and "Access Token" obtained from the previous steps. Click "Submit" to get the "Callback URL" and "Verification Code" below.

Set Meta App

image-20231209191305115

Go to "Meta App - WhatsApp - Configuration" and find "Edit." Enter the "Callback URL" and "Verification Code" obtained from GPTBots, then submit.

image-20231209191444370

Click on "Manage."

image-20231209191518027

In the "Subscribe" column, check "messages."

At this point, all configurations are complete, and the bot is associated with the "Meta App."

Chat with the Bot

Send messages to the phone number configured in the "Meta App" to interact with the bot.