Send order status change notifications to WhatsApp by Webhook Workflow
TL;DR:This guide explains how to send WooCommerce order status update notifications to customers via WhatsApp using BotSailor's Webhook Workflow feature. By creating a WhatsApp message template, setting up a webhook workflow in BotSailor, and connecting it with WooCommerce order update webhooks, businesses can automatically notify customers on WhatsApp whenever an order status changes (for example, from Processing to Completed). This automation improves customer communication, transparency, and post-purchase experience without any coding. 

BotSailor recently introduced a new feature – Webhook Workflow. With the feature, you can send WhatsApp messages to your Facebook Page subscribers, WooCommerce Order Notifications, and WooCommerce order status changes notifications.

In this article, I will show you how to send WooCommerce order status update notifications via WhatsApp.

We have also created a video tutorial on the matter. You can watch the video tutorial.

To make WhatsApp send WooCommerce order status update notifications, you have to complete the following steps.

First, you need to create a message template in BotSailor. And the message template will be sent to the WooCommerce customers as a WooCommerce order status update notification.

Second, you have to create a new Webhook workflow and add the Webhook to the WooCommerce store. Then, you have to map data.

After you have completed these processes, BotSailor can send WhatsApp messages to Woocommerce customers just as the WooCommerce Order status changes.

Read the blog below to know how to create a message template in BotSailor:

How to create a Message Template for WhatsApp by BotSailor

In the message template, you have to use a variable called message.

Now you have to create a Webhook Workflow. To create a Webhook Workflow, you have to follow the instructions below:

  1. Click on theWebhook Workflowmenu in the left sidebar of the dashboard.
  2. Now click on thecreate buttonto create a Webhook workflow
  3. Provide anamein theWorkflownamefield.
  4. In theWhasApp Accountfield, select theWhatsApp accountfrom where you want to send the message.
  5. In themessage template field, select themessage templateyou have created to send it as a WooCommerce order Notification.
  6. Now click on thecreate workflowbutton.

Image

Instantly, a webhook callback URL will appear. Now copy theWebhook URL. You have to use the Webhook callback URL in your WooCommerce plugin.

Image

  1. Now, go to your WordPress dashboard – admin dashboard.
  2. Then go to theWooCommerceplugin -> click onsettings-> click on theAdvancetab.
  3. Then click on theWebhookoption

Image

Instantly, a page will appear with anadd webhookbutton. By clicking on the add webhook button, you can add a webhook.

Image

  1. Now click on theadd webhookbutton.
  2. In thenamefield, provide aname
  3. In thestatus field, selectactiveas status
  4. SelectOrder Updatedin theTopicfield.
  5. In theDelivery URL field, paste theWebhook Callback URLthat you have copied from the BotSailor.
  6. Now Click on the Save Webhook button.

Image

Now the Webhook will be updated successfully.

Image

  • Now, click on theCapture Webhook Response buttonin the BotSailor.

Image

  • TheWebhook Response Mappingpage will appear with raw data.

Image

It is sample data. When a Webhook is added, the sample data will be provided automatically. Well, ignore this data.

  • Now go to theorder pageof theWooCommerce plugin--You will see the list of the orders with status on the page.
  • Clik on a order.

Image

Instantly, the Edit order page will appear. Now you have to change the status of the order.

  1. In thestatus field, select thecompletedoption.
  2. Now click on theupdate button.

Image

  • Now go to theBotSailor-> click onconnection detailsbutton.

Image

Now you will get the real data.

Image

Now fill out the Webhook Response Mapping form.

  1. In the PHONE NUMBERfield, selectbilling->phone.
  2. In theVARIABLE: ORDERIDfield, select theidoption.
  3. In theVAEIABLE: WOOCOMMERCEORDERSTATUSfield, select thestatus: Completedoption.
  4. Now click on theSave Workflowbutton.

Image

Now check the workflow report.No data is available in the workflow.

Image

Now go to theWooCommerce Orderpage

Image

  1. Click onan order.
  2. Then change the status of the order from processing tocompleted.
  3. Then click on theupdate button.

Image

Now check theWebhook workflowreport. The status of theworkflowis pending.

Image

Now, wait for a moment. And check again. Yes, the status of the workflow is completed.

Image

Now check your WhatsApp account. You will see that the order status update notification has arrived in the WhatsApp Account.

Image

Thank you for reading the article


Frequently Asked Questions

Find answers to common questions about this topic

Webhook Workflow is a BotSailor feature that allows you to send automated WhatsApp messages based on real-time data received from external platforms like WooCommerce.

In this setup, WhatsApp notifications are triggered when WooCommerce order status changes, such as from Processing to Completed.

Yes. WhatsApp requires pre-approved message templates for automated or system-initiated messages. You must create and approve a template in BotSailor before using it.

WooCommerce sends order update data to BotSailor using a Webhook, which is configured in WooCommerce’s Advanced → Webhooks settings.

You should select Order Updated as the webhook topic so BotSailor receives data whenever an order status changes.

Yes. You can map variables such as Order ID and Order Status in the webhook response mapping and use them dynamically in the WhatsApp message template.

Yes. The same Webhook Workflow feature can be used for:

New order notifications

Payment confirmation messages

Cash on Delivery verification

Order cancellation or refund updates

No. The entire process is no-code and can be completed using the BotSailor and WooCommerce dashboards.

Share this article:

(0) Comments

Leave a Comment