Feature Availability
Vtiger Editions: One Professional | One Enterprise | One AI
Introduction
WATI is a customer engagement platform that enables businesses to communicate with customers via WhatsApp through a centralized interface.
Using WATI APIs and integrations, businesses can automate messaging workflows, trigger event-based notifications, and streamline communication processes.
It supports customer support, marketing, and sales use cases by enabling timely and scalable interactions.
WATI Integration with Vtiger CRM
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 your mobile phone.
To learn more about the WhatsApp feature in Vtiger CRM, click here.
Requirements
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.
Benefits of WATI Integration with Vtiger CRM
The benefits of integrating your WATI account with Vtiger and WhatsApp are:
- Manage customer WhatsApp conversations directly from Vtiger CRM.
- Create Leads, Contacts, Cases, or Deals from WhatsApp conversations.
- View complete WhatsApp conversation history within the related CRM record.
- Send approved WhatsApp message templates for notifications and follow-ups.
- Share images, documents, videos, and other supported attachments with customers
- Respond to customer queries instantly from within the CRM.
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 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 and a WhatsApp Business account to integrate WATI and WhatsApp with Vtiger CRM.
To integrate and use WhatsApp and WATI with Vtiger CRM, you must follow the steps below:
- 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
Note: Keep the WATI, WhatsApp, and Vtiger tabs open, as you will be moving between them frequently.
Follow these steps to install the WATI Add-on:
- Log in to the CRM.
- Click User Profile in the top right corner of the screen.
- Click Settings. The Settings page opens.
- Go to Extensions.
- Click Add-ons. The Add-on page opens.
- Type WATI in the search bar. The WhatsApp via WATI Add-on appears.
- Click Install. A confirmation message asking, Are you sure you want to install/upgrade this add-on? appears.
- Click Yes to confirm the installation.
Once the Add-on is installed successfully, a confirmation message is displayed. After installation, the WATI provider becomes available under Provider Configuration in the WhatsApp module, where you can proceed with its configuration.
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:
- Log in to the CRM.
- Go to Essentials
- Click Conversations.
- Select WhatsApp. The WhatsApp module opens.
- Click Settings.
- Select Provider Configuration from the drop-down.
- Click +Add. The Add Configuration window opens.
- Enter or select the following information:
- Provider: Select WATI from the drop-down.
- Provider Name: Type the Provider name. For example, WATI for testing or WATI for Business.
- Active: Enable Yes or No.
- Default Provider: Enable Yes or No.
Go to the WATI platform and copy the phone number, API Endpoint, and Access Token required for the configuration.
Follow these steps to copy the phone number, API Endpoint, and Access Token from the WATI platform: - Log in to the WATI platform.
- Click More.
- Click API Docs from the drop-down. A WATI API for WhatsApp window opens.
- Copy the number from the right corner of the WATI screen.
- Copy the API Endpoint.
- Copy the Access Token.
Paste the copied phone number, API Endpoint, and Access Token into the respective fields In Vtiger CRM,. - URL: Paste the API Endpoint you copied from the WATI platform.
- API Key: Paste the Access Token you copied from the WATI platform.
- From Number: Paste the number you copied from the WATI platform.
- Click Save.
Step 3: Adding Webhooks in the WATI platform
You need to add two webhooks in the WATI platform, one for incoming callbacks and one for status callbacks. Follow the steps below to configure them.
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:
- Log in to WATI.
- Click More.
- Click Webhooks from the drop-down.
- Click Add Webhook. The Add Webhook window opens. The URL field will be blank if you are adding a URL for the first time.
- Follow these steps to copy the Incoming Callback URL from Vtiger CRM:
- Log in to the CRM.
- Go to Essentials.
- Click Conversations.
- Select WhatsApp. The WhatsApp module opens.
- Click Settings.
- Select Provider Configuration from the drop-down. A list of providers will appear.
- Hover over to WATI from the list.
- Click the Edit icon. The Edit configuration window opens.
- Copy the Incoming Callback URL.
- Go back to the WATI platform.
- Enter or select the following information in WATI
- URL: Paste the Incoming Callback URL from Vtiger CRM.
- Status: Select Enabled from the drop-down.
- Event: Select Message Received from the drop-down.
- Click Save.
Note: The above Webhook is added only for receiving messages.
Webhooks for Status Callback
Adding Webhooks for the Status Callback will notify you when a sent message is delivered or read.
Follow these steps to add Webhooks in the WATI platform for Status Callback:
- Log in to WATI.
- Click More.
- Click Webhooks from the drop-down.
- Click Add Webhook. An Add Webhook window opens.
- Follow these steps to get the Status Callback URL from Vtiger CRM:
- Log in to the CRM.
- Go to Essentials.
- Click Conversations.
- Select WhatsApp. The WhatsApp module opens.
- Click Settings.
- Select Provider Configuration from the drop-down. A list of providers will appear.
- Hover over to WATI.
- Click the Edit icon. An Edit configuration window opens.
- Copy the Status Callback URL.
- Go back to the WATI Platform.
- Enter or select the following information
- URL: Paste the Status Callback URL from Vtiger CRM.
- Status: Select Enabled from the drop-down.
- Event: Select Sent Message Delivered and Sent Message is READ from the drop-down.
- 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:
- Log in to WATI.
- Click Broadcast.
- Go to the Template Messages section.
- Click New Template Message. A Create template message window opens.
- Type Template Name.
- Select Category from the drop-down.
- Select Language from the drop-down.
- Type the Template Message. You can see the preview of the template message.
-
Click Save and Submit. A confirmation pop-up with the message, Do you want to submit this message for validation? appears.
- Click Yes. A notification - Approval time for business takes 30 mins to 2 business days (Subject to Facebook team approval) will appear.
- 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.
- Log in to the CRM.
- Go to Contacts.
- Click +Add Contact to create a Contact with the WATI-registered WhatsApp number.
- Select the Contact you want to send the message to. The Summary View of that contact opens.
- Click More.
- Select WhatsApp. The Send WhatsApp message window opens.
- Enter or select the following information:
- Phone Number: Select the Phone number from which you want to send a message from the drop-down.
- WhatsApp Gateway: Select the WhatsApp Gateway from the drop-down.
- WhatsApp Template: Select the WhatsApp Template from the drop-down. The template will be auto-filled in the message field. Or
- Message: Type the WhatsApp message to be delivered to the customer.
- Attach Files: Attach files if needed.
- Click Send.
The users will receive messages on their WhatsApp on mobile. The messages from the mobile are received on the WATI platform.
Receiving WATI WhatsApp Messages in the Live Chat Module
To receive WhatsApp messages from WATI in the Live Chat module, you must configure the required webhooks in the WATI platform.Configure the Incoming Webhook
Enable the following events for the Incoming Webhook: - Message Received
- Session Message Sent
- Template Message Sent
Configure the Status Callback Webhook
Enable the following events for the Status Callback Webhook: - Sent Message is Delivered
- Sent Message is Read
Webhook Events in WATI
The following webhook events are used to sync WhatsApp messages and their statuses with Vtiger CRM:
Message Received:
Triggered whenever a user sends a message to your WATI WhatsApp number.
Session Message Sent:
Triggered when a session message is sent from WATI.
Template Message Sent:
Triggered when a template message is sent from WATI.
Sent Message is Delivered:
Triggered when a message sent from WATI is successfully delivered to the recipient.
Sent Message is Read:
Triggered when the recipient reads a message sent from WATI.
Note: If the Live Chat feature is enabled in Vtiger CRM, incoming WhatsApp messages and their status updates will automatically appear in the Live Chat module.
References