Reach

Grow

Manage

Automate

Reach

Grow

Manage

Automate

如何使用WhatsApp API报告来启用SMS或语音备选方案

WhatsApp

1 min read

如何使用WhatsApp API报告来启用SMS或语音备选方案

WhatsApp

1 min read

如何使用WhatsApp API报告来启用SMS或语音备选方案

借助 MessageBird 的流程构建器,您可以自动知道 WhatsApp 消息是否已送达,并使用短信或语音作为备用选项,以确保您能联系到您的客户。

随着越来越多的企业通过 WhatsApp 与客户互动,了解哪些用户拥有 WhatsApp 帐户、哪些没有,可能会很耗时且费用高昂。

对于这些公司,了解哪些用户没有接收到您的 WhatsApp API 消息可以帮助您优化广播消息的结果,提高转化率和参与度,确保连接与备用选项。 

使用 Bird 的Flows,您可以自动了解 WhatsApp 消息是否已送达,并使用SMSVoice作为备用选项,确保您能联系到客户。在这篇博客文章中,您将学习如何:

  • 使用 Flows 设置您的流程逻辑

  • 通过 Flow Heatmap 查看您的 WhatsApp API 消息活动结果

  • 建立被拒绝的 WhatsApp 电话号码列表

如果您的 WhatsApp 模板消息已获批准,并且您已经在使用 Flow Builder 发送广播消息,本指南将对您有帮助。如果您在获取模板消息批准或仍无法发送第一条 WhatsApp 消息方面遇到问题,请务必阅读我们的WhatsApp 消息最佳实践指南。

Requirements

在开始在 Flow Builder 中构建逻辑和流程之前,你需要准备以下要求:

有了这些,你可以遵循以下步骤查看你的广播活动结果,并构建 SMS/Voice 备选方案以帮助确保通过 Flow Builder 进行投递。

Step 1: 在 Flow Builder 中创建一个新的流程,使用 WhatsApp Webhook

对于第一步,使用这个模板开始一个新的流程:

1. 登录到你的Bird Dashboard并转到Flows

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


2. 下载你将使用的示例流程

3. 使用导入功能导入流程,并发布流程。

Interface for importing a flow.


4. 流程将如下图所示。然后,点击发布按钮并复制生成的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. 导航到并打开你的WhatsApp Broadcast Campaign Flow。点击发送WhatsApp模板消息步骤,滚动到底部,打开状态报告切换。插入复制的Webhook URL到可用字段,如下图所示。别忘了再次发布。

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.

对于第一步,使用这个模板开始一个新的流程:

1. 登录到你的Bird Dashboard并转到Flows

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


2. 下载你将使用的示例流程

3. 使用导入功能导入流程,并发布流程。

Interface for importing a flow.


4. 流程将如下图所示。然后,点击发布按钮并复制生成的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. 导航到并打开你的WhatsApp Broadcast Campaign Flow。点击发送WhatsApp模板消息步骤,滚动到底部,打开状态报告切换。插入复制的Webhook URL到可用字段,如下图所示。别忘了再次发布。

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.

对于第一步,使用这个模板开始一个新的流程:

1. 登录到你的Bird Dashboard并转到Flows

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


2. 下载你将使用的示例流程

3. 使用导入功能导入流程,并发布流程。

Interface for importing a flow.


4. 流程将如下图所示。然后,点击发布按钮并复制生成的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. 导航到并打开你的WhatsApp Broadcast Campaign Flow。点击发送WhatsApp模板消息步骤,滚动到底部,打开状态报告切换。插入复制的Webhook URL到可用字段,如下图所示。别忘了再次发布。

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.

步骤 2:在新的 Google Sheet 上记录 WhatsApp 消息的详细信息

在此步骤中,您将学习如何将您的流程连接到 Google Sheets,以便跟踪消息的传递和状态。然后,利用这些见解通过 WhatsApp 优化传递,并创建备用逻辑以确保能够联系到您的客户。

1. 创建一个名为“WhatsApp Campaign Reporting”的新 Google 表格,并设置以下列:

  • Time: 这将显示您的消息被拒绝的时间

  • Message_From: 谁是消息的发送者

  • Message_To: 谁是消息的接收者

  • Status: 消息的当前状态是什么

  • Description: 消息被拒绝的原因是什么

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. 将您的 Google 账户集成Bird dashboard中,以便您可以将刚创建的表连接到您的流程中

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


3. 在 Flow Builder 中将您的“WhatsApp Campaign Reporting”列与新流程中的每个列进行连接

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 备用逻辑

在此步骤中,您将能够在流逻辑中添加备用通道(SMSVoice),以防WhatsApp消息被拒绝。

消息在此阶段被拒绝的一些常见原因如下:

  • 客户的电话号码无效

  • 发送消息时,他们没有信号

  • 不使用WhatsApp或未在其手机上安装

一旦您在Flows中打开流,您将看到四个不同的分支(见下图)。这些分支与WhatsApp API消息状态相对应:

  • Sent: 消息已被WhatsApp服务器收到

  • Delivered: 消息已送达收件人

  • Read: 收件人已阅读消息

  • Rejected: 您的业务发送的消息未能发送

Flowchart depicting a webhook integration with status updates.


在此步骤中,您将添加备用通道到被拒绝的分支。被拒绝的分支将捕获所有未成功收到您的WhatsApp消息的客户。

1. 将“发送SMS”或“外拨电话”操作作为步骤添加到被拒绝的分支中。一旦WhatsApp Business API拒绝消息,该分支将用作备用路由。例如,如果消息未成功送达,Flow Builder将发送SMS或语音消息。

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. 使用 Flow Heatmap监控流程并查看您的WhatsApp API活动结果。您将能够看到发送、送达、拒绝的消息数量以及更多信息。

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.


使用我们的Heatmap了解您的WhatsApp API广播活动的结果和可达性。

第4部分:在您的流程中添加时间戳(可选)

Flows中的默认时间戳变量基于 UTC 时区。您可以在 Flow Builder 中使用“Fetch variables”步骤进行 GET 请求到 http://api.timezonedb.com,并自动与客户的时区同步。输出变量 应该被格式化。请注册并获取您自己的免费 API 密钥。

提示:确保监控流程的处理失败,以确保即使请求失败,您的流程也能继续。

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.


这些是您需要遵循的简单步骤,以便在您的WhatsApp 消息未成功送达时开始使用 SMS 或 Voice 作为后备。

结论

Your flow 现在可以创建 Heatmap 并显示 WhatsApp 广播活动的结果。现在,您知道如何使用 Flows 来定制客户体验。要继续构建项目并通过单个 API 与客户互动,请查看我们的WhatsApp APIConversations API 文档。 

让我们为您联系Bird专家。
在30分钟内见证Bird的全部威力。

通过提交,您同意 Bird 可能会就我们的产品和服务与您联系。

您可以随时取消订阅。查看Bird的隐私声明以获取有关数据处理的详细信息。

Newsletter

通过每周更新到您的收件箱,随时了解 Bird 的最新动态。

通过提交,您同意 Bird 可能会就我们的产品和服务与您联系。

您可以随时取消订阅。查看Bird的隐私声明以获取有关数据处理的详细信息。

让我们为您联系Bird专家。
在30分钟内见证Bird的全部威力。

通过提交,您同意 Bird 可能会就我们的产品和服务与您联系。

您可以随时取消订阅。查看Bird的隐私声明以获取有关数据处理的详细信息。

Newsletter

通过每周更新到您的收件箱,随时了解 Bird 的最新动态。

通过提交,您同意 Bird 可能会就我们的产品和服务与您联系。

您可以随时取消订阅。查看Bird的隐私声明以获取有关数据处理的详细信息。

让我们为您联系Bird专家。
在30分钟内见证Bird的全部威力。

通过提交,您同意 Bird 可能会就我们的产品和服务与您联系。

您可以随时取消订阅。查看Bird的隐私声明以获取有关数据处理的详细信息。

R

Reach

G

Grow

M

Manage

A

Automate

Newsletter

通过每周更新到您的收件箱,随时了解 Bird 的最新动态。

通过提交,您同意 Bird 可能会就我们的产品和服务与您联系。

您可以随时取消订阅。查看Bird的隐私声明以获取有关数据处理的详细信息。