BotSailor recently introduced a new feature – Webhook Workflow. With the feature, you can send WhatsApp messages to your Facebook Page subscribers, WooCommerce Order Notifications, WooCommerce order status updates notifications, Shopify order notifications, and convert a WooCommerce Cash on Delivery order into a Prepaid order with BotSailor.
In this article, I will show you how to Convert WooCommerce Cash on Delivery Orders into Prepaid with BotSailor.
We have also created a video tutorial on how to Convert WooCommerce Cash on Delivery Orders into Prepaid with BotSailor.
You can watch the video tutorial:
Sometimes users make cash-on-delivery purchases, but we want to change the order to prepaid by offering them a gift or discount code.
Therefore, as soon as a customer places an order in Cash on Delivery, the webhook of BotSailor will send a promo code over WhatsApp.
Therefore, as soon as a customer places an order in Cash on Delivery, the webhook of BotSailor will send a promo code over WhatsApp.
To make WhatsApp send Shopify order notifications,
To convert the WooCommerce Cash on Delivery order into prepaid order, you have to complete the following steps.
First, you need to create a message template in BotSailor.
Second, you have to create a new Webhook workflow and add the Webhook to the WooCommerce store. Then, you have to map data.
Now, you have to create a message template in the BotSailor.
To create a message template, go to the Dashboard of BotSailor. 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.
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. In the message body, provide a discount code. Besides, mention the products by inserting the Product list variable in the message body.
Then click on the save button to save the message template.
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.
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 send the message. Then select the message template you have created.
Instantly, a webhook callback URL will appear.
Now copy the Webhook URL. You have to use the Webhook callback URL in your WooCommerce settings.