Multi-platform Integrations

WhatsApp Integration

Connecting WhatsApp with Chat Data enables your custom chatbot to interact directly with customers on WhatsApp, offering a smooth and efficient method for managing inquiries and automating responses. This guide will take you through the steps needed to link your chatbot to a WhatsApp phone number, ensuring seamless and effective customer engagements.


Preliminary Information about Phone Numbers

  • The WhatsApp phone number connected to the chatbot can only be used by the chatbot and cannot be used on WhatsApp or WhatsApp Business.(see Preliminary Information about Phone Numbers for details) If you are already using the phone number with WhatsApp, you must delete your account in the app first.

  • To delete WhatsApp:

    • Open the WhatsApp or WhatsApp Business app.
    • Go to Settings > Account.
    • Select Delete my account. This process may take a few minutes, but once completed, the number will be available for use.
  • If you previously used WhatsApp through Meta Developer for business, you must disable two-step verification:

    • Log in to your WhatsApp Business Account.
    • Choose the phone number you want to connect.
    • Go to Settings > Two-step verification and turn off two-step verification.

Connect WhatsApp with Chat Data

  1. Go to Dashboard > [Chatbot] > Integrations.
  2. Select the WhatsApp integration card. WhatsApp integration card
  3. Click the Connect button in the pop-up window. WhatsApp integration pop-up
  4. Sign in with your personal Facebook account. Sign in with Facebook
  5. Press Get started. Get started
  6. Choose or create a business profile. Choose or create a business profile
  7. Set up a WhatsApp business profile or choose an existing one. Set up a WhatsApp business profile
  8. Enter the details for the business profile. Enter the details for the business profile
  9. Add a phone number. It’s advisable to have just one associated number in this profile. Add a phone number
  10. Click Continue. Continue
  11. Allow a few moments for information verification. Information verification
  12. Click Finish. Finish
  13. (Optional) You can adjust your WhatsApp bot’s appearance or remove your phone number by selecting the PHONE PROFILE link. Final WhatsApp bot
  14. (Optional) Go to PHONE PROFILE, update your WhatsApp settings, and then click Save. PHONE PROFILE
  15. (Optional) Scan the QR code with your smartphone to start interacting with the linked WhatsApp number. The WhatsApp account should automatically respond to your message. Since the customer's phone number is included, their information will be collected automatically as a lead.

With the integration now active, you can send up to 1000 free messages each month. To send more than 1000 messages per month, make sure to add a payment method in your Meta billing settings.

Congratulations! You've successfully connected your Chatbase chatbot to WhatsApp, and it’s now set up to respond to all messages received through WhatsApp!

Live Chat Handover

After the phone number is integrated into the WhatsApp business account through Facebook OAuth 2.0, you cannot use the WhatsApp app to chat with the customer anymore. To chat with the customer in case the AI chatbot cannot provide a satisfactory answer, you can leverage our live chat panel to chat with the customer directly.

WhatsApp Live Chat Handover

As a human agent, you can click the Live Chat dashboard tab and select the corresponding WhatsApp conversation thread to chat with the customer. Alternatively, you can use the checklist filter to filter the WhatsApp conversations only and select the corresponding conversation as shown in step 2 above.

Then you can turn off the AI chatbot for the corresponding conversation so that the chatbot won't respond to the message when you are chatting with the customer. Otherwise, the AI chatbot will respond to the same query again even if you have typed your response in the admin live chat panel.

WhatsApp Turn off the AI chatbot

After you send the human response, we will send the WhatsApp message to the customer's WhatsApp account directly. When the customer responds back and if the AI bot is turned off and you are offline, we will send an email along with the chat portal link to your email address registered in the live chat setting, which is similar to how the offline live message works in New Message To the Agent.

You can switch the AI bot on at any time after you have finished the live chat with the customer.

Sending WhatsApp template messages

You can use our Make workflow template to send WhatsApp template messages by the access token and whatsapp account id shown in your integrated WhatsApp account. Whatsapp integration credentials Here we will talk you through a concrete example of how to send a WhatsApp template message using the Make workflow template.

  1. Create a scenario based on the Make workflow template
  2. Create the google sheet with the phone numbers you want to send the message to. Here we used two phone numbers for the example. Google Sheet with phone numbers
  3. Establish your Google connection and link the first module to the Google Sheet, then configure the required fields. For instance, we selected the "A2:A3" range without a header, as that is where the phone numbers are located. Set up the Google Sheet module
  4. Run the first modle once to popluate the fields and check if the data is correct. The operations should show the phone numbers with the key "A", like below. Run the Google Sheet module
  5. Use the Iterator module(the second module) to iterate over the phone numbers with the Array "A". Iterator module
  6. Create your WhatsApp connection and link the third module to the WhatsApp connection. Input the permanent token(access token) and the WhatsApp Business Account ID provided by us. Set up the WhatsApp connection
  7. Set up the parameters in the third module with the receive phone number as the key "A" and the corresponding message template. Set up the parameters in the third module
  8. Click the Run Once button to trigger the whole workflow. You should see the whatsapp message sent to the phone numbers. Run the workflow
  9. You can also check the operations of the third module to see if the message is sent successfully. Check the operations of the third module
  10. You can config the schedule in the first module to trigger the workflow at your desired choice. For example, we set it to run every every day at 20:00 PDT. Set up the schedule
  11. Save and turn on the workflow.
Previous
Slack Bot Integration