Home  >   Articles   >  WhatsApp Integration with WATI
Articles in this section

WhatsApp Integration with WATI

L
Lavanya R
29 Jan, 2024 - Updated 2 months ago
Table of Contents

Introduction

WATI is a useful tool for communicating with your customers via WhatsApp. 

With the help of WATI integrations with other services like WATI API, you can automate messaging and create a more efficient workflow. 

It is a great way to interact with them for support, marketing, and sales.

WATI Integration with Vtiger CRM

To Integrate WATI with Vtiger CRM, you must have an active WhatsApp account with a Facebook Business page. 

WhatsApp Integration with WATI for Vtiger CRM helps you send and receive WhatsApp messages directly from the CRM screens. Once WATI is integrated with the Vtiger WhatsApp module, you can carry out WhatsApp conversations via Vtiger CRM or mobile phone. 

To learn more about the WhatsApp feature in Vtiger CRM, click here.

To integrate WATI and use it with Vtiger CRM WhatsApp, you must:

  •  Have an active Facebook business page with WATI
  •  Install the WATI Add-on in Vtiger CRM.

Feature Availability

 

One Growth

One Pilot

One Professional

One Enterprise

Feature Availability

WhatsApp via WATI

-

-

 

Benefits of WATI Integration with Vtiger CRM

The following are the benefits of integrating your WATI account with Vtiger and WhatsApp: 

  • Enhanced Communication: You can directly integrate WATI, which offers various channels like WhatsApp and SMS, into Vtiger CRM for your communication.
  • Centralized Data: You can integrate a seamless data flow between WATI and Vtiger, ensuring communication history, customer interactions, and messages are stored within the CRM platform.
  • Easy Communication: You can easily access communication logs and customer interactions through Vtiger's integration.
  • Time-saving: You can save time by eliminating the need to switch between different applications for communication and CRM purposes. 

In this article, you will learn about:

  • Installing the WATI Add-on
  • Integrating Whatsapp with WATI
  • Adding Webhooks
  • Using WATI to send WhatsApp messages

Key Terminology

 

Key Term

Definition

WATI

WATI is a useful tool for communicating with your customers via WhatsApp.

Facebook Business Page

A Facebook Business Page is a dedicated page on Facebook specifically created for businesses, organizations, brands, celebrities, and public figures.

Provider Configuration

Provider configuration generally refers to the setup and configuration of a service provider within a system or application.

Webhooks

Webhooks are a mechanism that allows one system to notify another system about events in real time.

Incoming Callback

An incoming callback refers to a callback initiated by an external system or service to inform or provide data to another system.

Status Callback

A status callback refers to a type of callback in which a system or service provides status updates or notifications regarding the progress or outcome of a particular operation.


Integrating WhatsApp and WATI with Vtiger CRM

You must have a WATI as well as a WhatsApp business account to integrate WATI and WhatsApp with Vtiger CRM. 

You must first install the WATI Add-on in Vtiger CRM to begin the integration process. You will be moving back and forth between WATI, WhatsApp, and Vtiger.

To integrate and use WhatsApp and WATI with Vtiger CRM, you must follow the below steps:

  • Step 1: Installing the WATI Add-on in Vtiger CRM
  • Step 2: Configuring WATI on WhatsApp
  • Step 3: Adding Webhooks in the WATI platform

Step 1: Installing the WATI Add-on in Vtiger CRM

Follow these steps to install the WATI Add-on:

  1. Log in to the CRM.
 
  1. Click User Profile on the top right corner of the screen.
  2. Go to Extensions.
  1. Go to Extensions.
  2. Click Add-ons. The Add-on page opens.
  1. Type WATI in the search bar. The Whatsapp via WATI add-on appears.
  2. Click Install. Are you sure you want to install/upgrade this add-on? a message pops up.
 
  1. Click Yes to confirm the installation.

A success message is displayed once it is installed. Once installed, you can find WATI under the Provider configuration in the WhatsApp module. You can then configure it in the WhatsApp module. 

Step 2: Configuring WATI in the WhatsApp module

Let us see how to configure WATI in Vtiger CRM.

Note: These steps require you to navigate back and forth between the Vtiger CRM screen and the WATI platform.

Follow these steps to configure WATI in Vtiger’s WhatsApp module:

  1. Log in to the CRM.
 
  1. Go to Essentials.
  2. Go to Conversations.
  3. Select WhatsApp. The WhatsApp module opens.
 
  1. Click Settings.
  2. Select Provider Configuration from the drop-down.
 
  1. Click +Add. The Add Configuration window opens.
 
  1. Enter or select the following information:
    1. Provider: Select WATI from the drop-dowProvider: Select WATI from the drop-down.
    2. Provider Name: Type the Provider name. For example, WATI for testing or WATI for Business.
    3. Active: Enable Yes or No.
    4. Default Provider: Enable Yes or No.
 
 
 
  1. Follow these steps to get the following from the WATI platform:
    1. Log in to the WATI platform.
    2. Click More.
    3. Click API Docs from the drop-down. A WATI API for WhatsApp window opens.
    4. Copy the number from the right corner of the WATI screen.
    5. Copy the API Endpoint.
    6. Copy the Access Token.
e. URL: Paste the API Endpoint you copied from the WATI platform.
f. API Key: Paste the Access Token you copied from the WATI platform.
g. From Number: Paste the number you copied from the WATI platform. 
  1. Click Save.

Step 3: Adding Webhooks in the WATI platform

You must add two webhooks for the incoming callbacks and status callbacks. To add Webhooks, you must go to the WATI platform and follow the below steps.

Webhooks for Incoming Callbacks

Adding Webhooks for Incoming Callbacks will allow you to receive incoming messages. This is possible only if you copy the incoming callback URL from Vtiger CRM and paste it into the WATI platform.

Note: You need to move back and forth between Vtiger and WATI platforms to copy and paste the Incoming Callback URL.

Follow these steps to add Webhooks for incoming messages:

  1. Log in to WATI.
 
  1. Click More.
  2. Click Webhooks from the drop-down.
 
 
  1. Click Add Webhook. The Add Webhook window opens. The URL field will be blank if you are adding a URL for the first time.
 
 
 
 
  1. Follow these steps to copy the Incoming Callback URL from Vtiger CRM:
    1. Log in to the CRM.
    2. Go to Essentials.
    3. Go to Conversations.
    4. Select WhatsApp. The WhatsApp module opens.
    5. Click Settings.
    6. Select Provider Configuration from the drop-down. A list of providers will appear.
    7. Hover over to WATI from the list.
    8. Click the Edit icon. The Edit configuration window opens.
    9. Copy the Incoming Callback URL.
  1. Go back to the WATI platform.
  1. Enter or select the following information in WATI
    1. URL: Paste the Incoming Callback URL from Vtiger CRM.
    2. Status: Select Enabled from the drop-down.
    3. Event: Select Message Received from the drop-down.
    4. Click Save.

Note: The above Webhook is added only for receiving messages.
 

Webhooks for Status Callback

Adding Webhooks for the Status Callback will give you a notification if a message sent is delivered or read.

Follow these steps to add Webhooks in the WATI platform for Status Callback:

  1. Log in to the WATI.
 
  1. Click More.
  2. Click Webhooks from the drop-down.
 
  1. Click Add Webhook. An Add Webhook window opens.
 
 
 
 
  1. Follow these steps to get the Status Callback URL from Vtiger CRM
    1. Log in to the CRM.
    2. Go to Essentials.
    3. Go to Conversations.
    4. Select WhatsApp. The WhatsApp module opens.
    5. Click Settings.
    6. Select Provider Configuration from the drop-down. A list of providers will appear.
    7. Hover over to WATI.
    8. Click the Edit icon. An Edit configuration window opens.
    9. Copy the Status Callback URL.
  2. Go back to the WATI Platform.
  1. Enter or select the following information
    1. URL: Paste the Status Callback URL from Vtiger CRM.
    2. Status: Select Enabled from the drop-down.
    3. Event: Select Sent Message Delivered and Sent Message is READ from the drop-down.
    4. Click Save.

Note: The above Webhook is added for message delivery notifications.
 

Creating Templates in WATI

WATI integration with Vtiger allows you to sync templates from WATI to Vtiger. You can create message templates in the WATI platform and sync them to Vtiger once they are approved by WATI.

Follow these steps to create a new template in WATI:

  1. Log in to the WATI.
  1. Click Broadcast.
  1. Go to the Template Messages section.
 
  1. Click New Template Message. A Create template message window opens.
  1. Type Template Name.
  2. Select Category from the drop-down.
  3. Select Language from the drop-down.
  4. Type the Template Message. You can see the preview of the template message.
 
  1. Click Save and Submit. Do you want to submit this message for validation? Message pops-up.
  1. Click Yes. A notification - Approval time for business takes 30 mins to 2 business days(Subject to Facebook team approval) will appear.
  1. Click Ok.

Once added, it will appear as Pending in the Status. The templates need to be approved by Facebook before you can use them. It takes 30 mins to 48 hours for a template to be approved.

Once approved, the status will change to Approved.
 

Sending Messages Using WATI

You need to save the WATI number in the Contacts module in Vtiger CRM.

Follow these steps to send WhatsApp messages using WATI.

  1. Log in to the CRM.
  2. Go to Contacts.
 
 
  1. Click +Add Contact to create a Contact with the WATI registered WhatsApp number.
 
  1. Select a Contact from which you wish to send a message. The Summary View of that contact opens.
  2. Click More.
  3. Select WhatsApp. The Send WhatsApp message window opens.
 
  1. Enter or select the following information:
    1. Phone Number: Select the Phone number from which you want to send a message from the drop-down.
    2. WhatsApp Gateway: Select the WhatsApp Gateway from the drop-down.
    3. WhatsApp Template: Select the WhatsApp Template from the drop-down. The template will be auto-filled in the message field. Or
    4. ​​​​​​Message: Type the WhatsApp message to be delivered to the customer.
    5. Attach Files: Attach files if needed.
  2. Click Send

The users will receive messages in their WhatsApp on mobile. The messages from the mobile are received on the WATI platform.

Note: If your Live Chats is enabled in the CRM, you will receive the message in the CRM.

Was this article helpful?
1  out of  1  found this helpful.
Comments 0
Be the first to comment
© Copyright 2023 Vtiger. All rights reserved.