Reach

Grow

Manage

Automate

Reach

Grow

Manage

Automate

How to use WhatsApp API reporting to enable a SMS or Voice fallbacks

WhatsApp

1 min read

How to use WhatsApp API reporting to enable a SMS or Voice fallbacks

WhatsApp

1 min read

How to use WhatsApp API reporting to enable a SMS or Voice fallbacks

With MessageBird’s Flow Builder, you can automatically know if a WhatsApp message was delivered, and use SMS or Voice as a fallback option to ensure you reach your client.

As more and more businesses engage their customers with WhatsApp, it can be time consuming and expensive to understand which users have WhatsApp accounts and which do not.

For those companies, understanding which users are not getting your WhatsApp API messages can help you optimize your broadcast message results, increase conversions, and engagement, and ensure connection with fallbacks. 

With Bird’s Flows, you can automatically understand if a WhatsApp message was delivered, and use SMS or Voice as fall back options to ensure you reach your client. In this blog post, you will learn how to:

  • Set up your flow logic with Flows

  • See your WhatsApp API message campaign results with Flow Heatmap

  • Build a list of WhatsApp phone numbers that were rejected

This guide will help if your WhatsApp template messages have already been approved and you are already sending broadcast messages with Flow Builder. If you are having issues getting your template messages approved or still not able to send your first WhatsApp message, make sure to read our WhatsApp Message Best Practices guide.

Requirements

Before you start building the logic and flow within Flow Builder, you need to have the following requirements ready:

With those, you can follow these steps to see your broadcast campaign results and build SMS/Voice fallbacks to help ensure deliverability using Flow Builder. 

Step 1: Create a new flow in Flow Builder with a WhatsApp Webhook

For the first step, start a new flow using this template:

1. Log in to your Bird Dashboard and go to Flows.

Digital interface for an online platform used to automate communication through flow creation.


2. Download the sample flow that you will be using.

3. Import the flow with the import function. And publish the flow.

Interface for importing a flow.


4. The flow will look like the image below. Then, click the Publish button and copy the generated Webhook URL.

Workflow diagram is displayed on a software interface, illustrating a sequence of steps involving webhook configurations, message variables, and timeout settings for a WhatsApp broadcast SMS voice fallback and reporting process.


5. Navigate to and open your WhatsApp Broadcast Campaign Flow. Click on the Send WhatsApp template message step, scroll to the bottom, and turn on the Status reports toggle. Insert the copied Webhook URL into the available field as seen in the screenshot below. Don’t forget to Publish again.

User interface of a flow builder tool with a visible workflow diagram, including steps like sending a WhatsApp template message, along with options for adding content and setting triggers.

For the first step, start a new flow using this template:

1. Log in to your Bird Dashboard and go to Flows.

Digital interface for an online platform used to automate communication through flow creation.


2. Download the sample flow that you will be using.

3. Import the flow with the import function. And publish the flow.

Interface for importing a flow.


4. The flow will look like the image below. Then, click the Publish button and copy the generated Webhook URL.

Workflow diagram is displayed on a software interface, illustrating a sequence of steps involving webhook configurations, message variables, and timeout settings for a WhatsApp broadcast SMS voice fallback and reporting process.


5. Navigate to and open your WhatsApp Broadcast Campaign Flow. Click on the Send WhatsApp template message step, scroll to the bottom, and turn on the Status reports toggle. Insert the copied Webhook URL into the available field as seen in the screenshot below. Don’t forget to Publish again.

User interface of a flow builder tool with a visible workflow diagram, including steps like sending a WhatsApp template message, along with options for adding content and setting triggers.

For the first step, start a new flow using this template:

1. Log in to your Bird Dashboard and go to Flows.

Digital interface for an online platform used to automate communication through flow creation.


2. Download the sample flow that you will be using.

3. Import the flow with the import function. And publish the flow.

Interface for importing a flow.


4. The flow will look like the image below. Then, click the Publish button and copy the generated Webhook URL.

Workflow diagram is displayed on a software interface, illustrating a sequence of steps involving webhook configurations, message variables, and timeout settings for a WhatsApp broadcast SMS voice fallback and reporting process.


5. Navigate to and open your WhatsApp Broadcast Campaign Flow. Click on the Send WhatsApp template message step, scroll to the bottom, and turn on the Status reports toggle. Insert the copied Webhook URL into the available field as seen in the screenshot below. Don’t forget to Publish again.

User interface of a flow builder tool with a visible workflow diagram, including steps like sending a WhatsApp template message, along with options for adding content and setting triggers.

Step 2: Record details of WhatsApp messages on a new Google Sheet

In this step, you will learn how to connect your flow to Google Sheets so you can track message delivery and status. Then, use that insight to optimize delivery via WhatsApp and create fallback logic to ensure you reach your customer.

1. Create a new Google Sheet with the following name (“WhatsApp Campaign Reporting”) and columns:

  • Time: This will show the time your message was rejected

  • Message_From: Who is the message sender

  • Message_To: Who is the message recipient

  • Status: What is the current status of message

  • Description: What is the reason for message being rejected

A spreadsheet titled "WhatsApp Campaign Reporting" displays columns for time, message sender, message recipient, status, and description, with all entries marked as "Rejected" and descriptions noting recipients not registered on WhatsApp.


2. Integrate your Google account with the Bird dashboard so that you can connect the sheet you just created with your flow

Software interface for integrating Google Sheets, highlighting steps to connect and sync existing events.


3. Connect your “WhatsApp Campaign Reporting” columns with each column with your new flow within Flow Builder

Flow diagram of an automated process shows steps to add a row in Google Sheets after fetching a timestamp and checking message status; the result moves through success or failure routes within a structural layout.

Part 3: Create SMS / Voice fallback logic

In this step, you will be able to add fallback channels (SMS or Voice) to your flow logic if a WhatsApp message is rejected.

These are some of the most common reasons why messages are rejected at this stage:

  • Your customers’ phone number is invalid

  • They don’t have a signal at time messages was sent

  • Don’t use WhatsApp or have it installed on their mobile phone

Once you open the flow in Flows, you will see four different branches (see image below). These branches are aligned with WhatsApp API message statuses:

  • Sent: Message received by WhatsApp server

  • Delivered: Message delivered to recipient

  • Read: Message read by recipient

  • Rejected: Message sent by your business failed to send

Flowchart depicting a webhook integration with status updates.


In this step, you will add your fallback channel to the rejected branch. The rejected branch will capture all of your customers who did not receive your WhatsApp message successfully.

1. Add “Send SMS” or “Outbound Call” action as a step into the rejected branch. This branch will be used as the fallback route once messages are rejected by WhatsApp Business API. For example, if a message is not successfully delivered, Flow Builder will send an SMS or voice message.

Flowchart illustrating a communication process, featuring branches for message statuses like "sent," "delivered," and "read," leading to endpoints that perform actions such as fetching timestamps, adding Google Sheets rows, sending SMS, and making outbound calls.


2. Use Flow Heatmap to monitor the flow and see your WhatsApp API campaign results. You will be able to see how many messages were sent, delivered, rejected and much more.

Dashboard displaying performance metrics, including totals, success percentages, items in progress, and failed or canceled counts, along with a flow heatmap showing traffic distribution through a circular diagram.


Use our Heatmap to understand the results and deliverability of your WhatsApp API broadcast campaigns. 

Part 4: Add timestamp to your flow (optional)

The default timestamp variable in Flows is based on UTC time zone. You can use a “Fetch variables” step within Flow Builder to make a GET request to http://api.timezonedb.com and automatically sync with the customer’s time zone. The output variables should be formatted. Please register and get your own free API key.

Tip: Make sure to monitor the flow’s handle failures to ensure your flow will continue even if the request fails.

Flowchart illustrating a decision-making process for fetching a timestamp, featuring a starting point labeled "Fetch TimeStamp" with options "Success" and "Failed," and a side panel showing settings for API configuration, including URL, method, OAuth integration, and variables.


These are the simple steps you need to follow to start using SMS or Voice as a fallback when your WhatsApp messages are not successfully delivered.

Conclusion

Your flow is now able to create a Heatmap and show the results of your WhatsApp broadcast campaigns. Now you know how to use Flows to customize your customer experience. To continue building projects and engage with your customers via one single API, check our WhatsApp API and Conversations API documentation. 

Let’s connect you with a Bird expert.
See the full power of the Bird in 30 minutes.

By submitting, you agree Bird may contact you about our products and services.

You can unsubscribe anytime. See Bird's Privacy Statement for details on data processing.

Newsletter

Stay up to date with Bird through weekly updates to your inbox.

By submitting, you agree Bird may contact you about our products and services.

You can unsubscribe anytime. See Bird's Privacy Statement for details on data processing.

Let’s connect you with a Bird expert.
See the full power of the Bird in 30 minutes.

By submitting, you agree Bird may contact you about our products and services.

You can unsubscribe anytime. See Bird's Privacy Statement for details on data processing.

Newsletter

Stay up to date with Bird through weekly updates to your inbox.

By submitting, you agree Bird may contact you about our products and services.

You can unsubscribe anytime. See Bird's Privacy Statement for details on data processing.

Let’s connect you with a Bird expert.
See the full power of the Bird in 30 minutes.

By submitting, you agree Bird may contact you about our products and services.

You can unsubscribe anytime. See Bird's Privacy Statement for details on data processing.

R

Reach

G

Grow

M

Manage

A

Automate

Newsletter

Stay up to date with Bird through weekly updates to your inbox.

By submitting, you agree Bird may contact you about our products and services.

You can unsubscribe anytime. See Bird's Privacy Statement for details on data processing.