WhatsApp Business Platform is Meta’s messaging platform that lets businesses communicate with their customers on WhatsApp at scale. It allows businesses to manage phone numbers, message templates, and WhatsApp Flows from a WhatsApp Business Account (WABA), and to track messaging volume, delivery, pricing, and template performance through analytics.
Hevo uses the WhatsApp Business Management API (Graph API) to replicate data from your WhatsApp Business Account to the Destination of your choice. To connect, you authenticate through Open Authorization (OAuth), where you sign in to Facebook and grant Hevo access to your WhatsApp Business Account.
Supported Features
| Feature Name |
Supported |
| Capture deletes |
Yes |
| History mode |
No |
| Custom data (user-configured tables & fields) |
No |
| Data blocking (skip objects and fields) |
Yes |
| Resync (objects and Pipelines) |
Yes |
| API configurable |
Yes |
Prerequisites
-
An active WhatsApp Business Account exists in your Meta business portfolio from which data is to be ingested.
-
The Facebook user that you sign in with has full control of the WhatsApp Business Account in your business portfolio. If the user has only view access, Hevo marks the Blocked User and Business Profile objects as Inaccessible, and the WABA Activity object is loaded with no data.
-
(Optional) Template analytics are enabled for your WhatsApp Business Account, if you want to replicate the Template Analytics, Template Analytics Clicks, and Template Group Analytics objects.
Perform the following steps to configure your WhatsApp Business Source:
-
Click Pipelines in the Navigation Bar.
-
Click + Create Pipeline in the Pipelines List View.
-
On the Select Source Type page, select WhatsApp Business.
-
On the Select Destination Type page, select the type of Destination you want to use.
-
On the Select Pipeline Type page, click Edge, and then click Continue.
Note: This page appears only if the selected Destination type is supported in Edge and your Team has an existing WhatsApp Business Pipeline with the same Destination type. Otherwise, you can proceed to create an Edge Pipeline.
-
In the Configure Source screen, specify the following:

-
Source Name: A unique name for your Source, not exceeding 255 characters. For example, WhatsApp Business Source.
-
In the Connect to your WhatsApp Business account section, click Connect With WhatsApp, and do the following in the pop-up window:
-
Sign in to your Facebook account.
-
Select the businesses that you want Hevo to access, and click Continue.
-
Select the WhatsApp accounts that you want Hevo to access, and click Continue.
-
Review the access request, and click Save.
Once you are connected, the Reauthorize button appears in this section.
-
WhatsApp Business Account: Select the WhatsApp Business Account from which you want to replicate data. The drop-down lists the accounts that you selected in the Facebook pop-up window. If your account is not listed, click Reauthorize and select it in the pop-up window. You cannot change this value after the Pipeline is created.
-
Historical Sync Duration: The duration for which you want to ingest the existing analytics data from the Source. Default value: 364 Days. The available values are 30 Days, 90 Days, 180 Days, and 364 Days. This setting applies to the Messaging Analytics, Pricing Analytics, and Call Analytics objects. For the template analytics objects, Hevo always ingests data for the last 89 days. You cannot change this value after the Pipeline is created.
-
Click Test & Continue to test the connection to your WhatsApp Business Source. Once the test is successful, you can proceed to set up your Destination.
Data Replication
Hevo replicates data for all the objects selected on the Configure Objects page during Pipeline creation. By default, all supported objects and their available fields are selected. However, you can modify this selection while creating or editing the Pipeline.
Hevo ingests the following types of data from your Source objects:
-
Historical Data: The first run of the Pipeline ingests all the existing data for the selected objects and loads it into the Destination. For the analytics objects, Hevo ingests data based on the historical sync duration specified when creating the Pipeline.
-
Incremental Data: Once the historical load is complete, new and updated records for objects are ingested as per the sync frequency.
Hevo ingests the incremental data for the following objects as described below:
-
Analytics objects: Hevo ingests the daily data for Messaging Analytics, Pricing Analytics, Call Analytics, Template Analytics, Template Analytics Clicks, and Template Group Analytics. As Meta continues to update the analytics data for a few days after it is recorded, Hevo re-ingests the data of the last seven days for the messaging, pricing, and call analytics objects, and the last six days for the template analytics objects, in each Pipeline run.
-
WABA Activity: Hevo ingests only the new activities using the timestamp field, and re-ingests the activities of the last day in each Pipeline run. Once a day, Hevo ingests all the activities.
-
Flow Asset: Hevo downloads the flow file again only for the flows whose updated_at value has changed. Once a day, Hevo downloads the files of all the flows.
For all other objects, Hevo ingests the entire data during each Pipeline run.
Meta enforces a rate limit on the WhatsApp Business Management API requests made for each WhatsApp Business Account. If this limit is exceeded, a rate limit exception occurs. To understand how Hevo handles such scenarios, read Handling Rate Limit Exceptions.
Note: You can create a Pipeline with this Source using either the Merge or the Append load mode. Merge is the default load mode, and you can change the load mode for each object, except Message Template Component. If an object uses the Append load mode, its Destination table can contain duplicate records, as Hevo adds all the data ingested in each Pipeline run as new records. For example, the objects whose entire data is ingested in each run get a complete copy of their data, and the analytics objects get the data of the re-ingested days again.
Schema and Primary Keys
Hevo uses the following schema to upload the records to the Destination. For a detailed view of the objects, fields, and relationships, click the ERD.
Data Model
The following is the list of tables (objects) that are created at the Destination when you run the Pipeline:
| Object |
Description |
| WhatsApp Business Account |
Contains details of the WhatsApp Business Account selected in the Pipeline, such as its name, currency, time zone, review and verification status, and whether template analytics are enabled. |
| Phone Number |
Contains details of the business phone numbers registered to the WhatsApp Business Account, such as the display number, verified name, quality rating, messaging limit tier, and status. |
| Business Profile |
Contains the business profile of each phone number, such as the description, address, email, websites, and industry shown to customers on WhatsApp. |
| QR Code |
Contains the QR codes and short links created for each phone number, along with the prefilled message and the link that opens a chat with the business. |
| Blocked User |
Contains the WhatsApp users blocked by each phone number of the WhatsApp Business Account. |
| Message Template |
Contains details of the message templates of the WhatsApp Business Account, such as the name, language, category, status, and quality score. |
| Message Template Component |
Contains one row for each component of a message template, such as its header, body, footer, and buttons. |
| Template Group |
Contains the template groups of the WhatsApp Business Account and the IDs of the message templates in each group. |
| Flow |
Contains details of the WhatsApp Flows of the WhatsApp Business Account, such as the name, status, categories, and validation errors. |
| Flow Asset |
Contains the assets of each flow, along with the content of its flow JSON file. |
| Assigned User |
Contains the users who have access to the WhatsApp Business Account, along with their business and the tasks they are allowed to perform. |
| Subscribed App |
Contains the apps subscribed to receive webhooks from the WhatsApp Business Account. |
| Schedule |
Contains the scheduled message campaigns of the WhatsApp Business Account, along with their delivery time and status. |
| WABA Activity |
Contains a log of the changes made to the WhatsApp Business Account, such as the actor, category, and event type of each change. |
| Messaging Analytics |
Contains the daily number of messages sent and delivered by each phone number, for template messages, other messages, and incoming messages. |
| Pricing Analytics |
Contains the daily volume and cost of messages by phone number, country, pricing category, pricing type, and tier. |
| Call Analytics |
Contains the daily number, cost, and average duration of calls by phone number, country, and direction. |
| Template Analytics |
Contains the daily number of messages sent, delivered, read, and replied to for each message template, along with the cost metrics. |
| Template Analytics Clicks |
Contains the daily number of clicks on each button of a message template. |
| Template Group Analytics |
Contains the daily number of messages sent, delivered, and read for each template group, along with the cost and click metrics. |
Read the detailed Hevo documentation for the following related topics:
Handling of Deletes
Deletes in WhatsApp Business are hard deletes, so deleted records are no longer returned by the API. Hevo captures them as follows:
-
For the objects whose entire data is ingested in each Pipeline run, Hevo compares the ingested data with the data in the Destination. Records that are no longer present in the Source are marked as deleted in the Destination using the _hevo_marked_deleted column.
-
For the Message Template Component object, Hevo replaces the components of all the message templates in each Pipeline run. As a result, if a message template or one of its components is deleted, its rows are removed from the Destination.
-
For the Flow Asset object, if a flow is deleted in the Source, Hevo marks its assets as deleted in the Destination.
Hevo does not capture deletes for the WABA Activity object and the analytics objects, as these records are not deleted in the Source.
Source Considerations
-
Hevo ingests the Template Analytics, Template Analytics Clicks, and Template Group Analytics objects only if template analytics are enabled for your WhatsApp Business Account. If they are not enabled, these objects are skipped, and the other objects continue to sync. Once enabled, template analytics cannot be disabled. Meta does not provide template analytics for some regions, such as the European Union and Japan. If your WhatsApp Business Account is in one of these regions, deselect these objects while creating the Pipeline.
-
Meta retains the messaging, pricing, and call analytics data for the last 365 days, and the template analytics data for the last 90 days. As a result, Hevo cannot ingest data older than these periods.
-
Meta resets the read, reply, and click counts of template analytics to zero after seven days. As a result, these values are loaded as NULL for the days older than six days, including when you resync the object.
-
The Call Analytics object contains data only if calling is enabled for the phone numbers of your WhatsApp Business Account.
-
If you pay for messages through the credit line of a Meta Solution Partner, Meta does not return the cost metrics, and Hevo loads them as NULL.
-
The analytics objects identify a phone number by its digits, not by its ID. To join them with the Phone Number object, use the phone_number_digits column of the Phone Number object.
-
The start_time and end_time values of the analytics objects are in Unix time, in seconds, and each row covers one day in UTC.
-
Meta requires you to reauthorize access to your data every 90 days. If the access expires or you remove Hevo’s access in your Meta business settings, the Pipeline fails. To resume data ingestion, modify the Source configuration and click Reauthorize.
-
If the WhatsApp Business Account selected in the Pipeline is deleted, or the Facebook user loses access to it, the Pipeline fails.
Limitations
-
You can select only one WhatsApp Business Account in a Pipeline. To replicate data from multiple accounts, create a Pipeline for each account.
-
Hevo does not ingest messages, message statuses, and contacts, as Meta provides this data only through webhooks.
-
Hevo does not ingest conversation analytics, as Meta no longer provides this data. Use the Pricing Analytics object instead.