Categories
Uncategorized

Botbiz 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.

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 Botbiz. 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, Botbiz can send WhatsApp messages to Woocommerce customers just as the WooCommerce Order status changes.

To create a message template, go to the Dashboard of Botbiz. Click on the Botmanager menu in the left sidebar of the Dashboard. Instantly, WhatsApp Bot manager page will appear.

Now click on the message template option. Instantly, the message template settings page will appear.

Before creating the message template, you have to create a variable. You have to use the variable in the message template.

At the bottom of the page, you will see the Template variable section.

To create a variable, click on the create button. Instantly, a pop-up form will appear with a field called variable name. Provide a name for the variable in the field and click on the save button. Instantly, the variable will be created.

After you have created the variable, you can create a message template that will be sent as WooCommerce Order status update notifications.

To create a message template, click on the create button in the Message template settings section. Instantly, a modal form called a Message template will appear. You have to fill out the modal form.

Provide a name in the template name field. 

Then write a message in the message body. Insert the variable in the message body.  

Then click on the save button.

Now you have to check the status of the message template. Click on the Check status button to see the status of the message template.

If the status is approved, you can use the message template.

If the status is approved, you can use the message template. 

If the status is approved, you can use the message template.

Now you have to create a Webhook Workflow. To create a Webhook Workflow, click on the Webhook Workflow menu in the left sidebar of the dashboard.

Instantly, the WhatsApp Webhook Workflow page will appear with create button. Now click on the create button to create a Webhook workflow. Instantly, a section called new workflow will appear at the bottom of the page.

Provide a name in the Workflow name field. Select the WhatsApp account from where you want to the message. Then select the message template you have created to send it as a WooCommerce order Notification.

Provide a name in the Workflow name field. Select the WhatsApp account from where you want to send the message. Then select the message template you have created.

Now click on the create workflow button.

Instantly, a webhook callback URL will appear.

Now copy the Webhook URL. You have to use the Webhook callback URL in your WooCommerce plugin.

Now, go to your WordPress dashboard – admin dashboard. Then go to the WooCommerce plugin and then click on settings. Then click on the Advance tab.

Instantly, advanced settings will appear. Then click on the Webhook option.

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

Now click on the add webhook button. Instantly, the Webhook data form will appear.

In the name field, provide a name. In the status field, select active as status. Select Order Update in the Topic field. 

And in the Delivery URL field, paste the Webhook Callback URL that you have copied from the Botbiz.  

Now Click on the Save Webhook button.

Now the Webhook will be updated successfully.

Now, click on the Capture Webhook Response in the Botbiz. 

 Instantly, the Webhook Response Mapping page will appear with raw data.

 Instantly, the Webhook Response Mapping page will appear with raw data.

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

Well, ignore this data.

Now go to the order page of the WooCommerce plugin. 

You will see the list of the orders with status on the page.

Instantly, the Edit order page will appear. 

To change the status of the order, click on the status field. Instantly, a drop-down list will appear. Select the completed option from the list. 

Now click on the update button. 

Now go to the Botbiz and click on connection details button. 

Now you will get the real data.

Now fill out the Webhook Response Mapping form. 

In the phone number field, select billing->phone number. 

In the VARIABLE: ORDERID field, select the id option. 

In the VAEIABLE: WOOCOMMERCEORDERSTATUS field, select the status: Completed option. 

Now click on the Save Workflow button.

Now click on the Save Workflow button. Instantly, a successful message will appear.

Now check the workflow report.

No data is available in the workflow.

Now go to the WooCommerce Order page. 

Click on an order. Then change the status of the order from processing to completed. Then click on the update button.

Now check the Webhook workflow report again. The status of the workflow is pending. 

Now, wait for a moment. And check again.

Yes, the status of the workflow is completed.

Now check your WhatsApp account.

Now check your WhatsApp account.

You will see that the order status update notification has arrived in the WhatsApp Account.

Thank you for reading the article. 

Leave a Reply

Your email address will not be published. Required fields are marked *