Skip to content
GPT Chatbot for whatsapp | Installation Guide

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 a Verify Token, follow the steps below.

    • 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:

    • In your facebook App’s left sidebar, expand the WhatsApp menu and select Getting Started.
    • Beside the label Phone Number ID, click Copy.
    • 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. Select the business account your app is associated with.

        2. Below Users, click on System Users.

        3. Click Add.

        4. Name the system user, choose Admin as the user role, and click Create System User.

        5. Select the whatsapp_business_messaging permission.

        6. Click Generate New Token.

        7. 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.

Troubleshooting

To resolve the error This number is registered to an existing WhatsApp account, disconnect the number from here: WhatsApp Manager.

Troubleshooting

By following these steps, you can integrate your chatbot with WhatsApp. For more information, refer to this article. If you have any questions, contact our team via Website Chat support or Mail Us.