🤖 Chatbot
🔌 Integrations
Social
WhatsApp

GPT Chatbot Integration For WhatsApp

💡

Connecting Your AI Chatbot with WhatsApp

Prerequisites

Setting up the WhatsApp Integration

  • Go to the YourGPT Chatbot Integrations Section.
  • Find the WhatsApp integration then click on the Connect button.

The WhatsApp integration will have the following settings:

1. Verify Token

To create your Verify Token, follow these steps:

  • Start by creating a unique string that can be a mix of alphabets and just numbers, e.g (12345 or abc12). This will act as your Verification Token.
  • After creating the Verify Token, make sure to copy it.
  • Go to YourGPT Chatbot, in the Verify Token field. Paste your Verify Token.
  • You'll also need to add the same Verify Token in the Webhook Callback section of your Facebook App.
  • Lastly, copy the webhook URL from YourGPT Chatbot. Go to your Facebook App and find the Webhook Callback section, paste the copied webhook URL.

2. Phone Number ID

To set up your Phone Number ID:

  1. In your facebook App's left sidebar, expand the WhatsApp menu and select Getting Started.
  2. Beside the label Phone Number ID, click Copy.
  3. Paste the copied value in the Phone Number ID field in YourGPT Chatbot.

3. Access Token

There are two types of Access Tokens:

  • Temporary Access Token

    The Phone Number ID and Access Token are used to send and receive messages to/from the WhatsApp API.

    To set up a Temporary Access Token:

    1. In your facebook App's left sidebar, expand the WhatsApp menu and select Getting Started.
    2. In the Temporary access token section, click Copy.
    3. Paste the copied value in the Access Token field in YourGPT Chatbot.
📝

The Temporary Access Token expires after 24 hours. You will need to generate a new token every day.

  • Permanent Access Token (Optional)

    To set up a Permanent Access Token:

    1. Go to Business Settings (opens in a new tab).
    2. Select the business account your app is associated with.
    3. Below Users, click on System Users (opens in a new tab).
    4. Click Add.
    5. Name the system user, choose Admin as the user role, and click Create System User.
    6. Select the whatsapp_business_messaging permission.
    7. Click Generate New Token.
    8. Copy and save your Permanent Access Token.
WhatsApp Integration Settings

Paste the Verify Token, Phone Number ID, and Access Token in the respective fields in YourGPT Chatbot.


By following these steps, you can integrate your chatbot with WhatsApp. For more information, refer to this article (opens in a new tab). If you have any questions, contact our team via Live support or Mail.