In this article, I will show you how to verify a cash-on-delivery order from the customer.
We have also created a video tutorial on how to verify a cash-on-delivery order from the customer.
You can watch the video tutorial:
It will be very helpful to protect fake orders on WooCommerce Store.
You can now confirm a cash-on-delivery order by sending a WhatsApp message to the buyer. The buyer will get a message on WhatsApp asking them to confirm the order by saying yes or no.
It will send a message to customers, asking them to confirm the order.
Let’s see how to do that by using the BotSailor.
First, you need to create a message template in BotSailor, the message template that will be sent to customers as soon as they create a Cash on Delivery order.
Second, you have to create a new Webhook workflow and add the Webhook to the WooCommerce store. Then, you have to map data.
To create a message template, follow the instructions step by step:
Before creating the message template, you have to create variables. At the bottom of the page, you will see the Template variable section.
To create a variable follow the below instructions:
To create a message template, follow the instructions below:
Read the blog to know more on how to create message template by BotSailor:
How to create a Message Template for WhatsApp by BotSailor
You need to create postbacks for those quick replies.
To create postback follow the instructions:
In this way, you have to create two postback -- Confirm Order and Cancel Order. You have to use the two postback for the two quick replies.
Now you have to create a Webhook workflow. To create a webhook workflow, follow the instructions below:
Instantly, the Webhook data form will appear. Fill out the form:
Now, you need to provide sample data for mapping.
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. Just ignore this data.
After getting the real data, you have to configure the Webhook Response Mapping. To configure the Webhook Response Mapping, you have to fill out some fields.
You have to use a formmater for the product list because there may be one item in the order.
Now let's see how to create a formatter for the product list.
Now you have to select postback for the quick reply buttons in the message template.
So, when the user clicks on the button, they will get a reply. Also, we need to confirm or cancel the order according to the button they click.
For that, we will use Call back APIs. Now, we will set up the API for confirming or canceling the order. For the "confirm order" button click, a note will be added to the order. The order will be cancelled if you click the Cancel Order button.
You can use only the "confirm order" button or both of them.
Let’s see how to create Callback APIs.
Now for the Confirmation order, select the Callback Api you have just created now.
Likewise, you have to create another callback API for cancel order button.
After you have created the Callback Api, select the API for cancel the order.
You don’t need to use the delay option because the message needs to be sent immediately. But you need to add a rule because this message will be sentt only to those who place the order with cash on delivery.
Follow the instruction below to add a rule:
To see report, click on the Workflow report button.
Now let's see how it works.
This is how you can use BotSailor’s WhatsApp integration with your WooCommerce store to verify the cash on delivery orders.
Thank you for reading the article.
Categories :
Stay ahead of the curve with BotSailor`s latest articles. Dive into expert analyses, industry trends, and actionable tips to optimize your experience. Explore our articles now and unlock the full potential of your business.
BotSailor is a complete WhatsApp marketing automation; it has chatbot, live chat, broadcasting, Shopify & WooCommerc...
READ MOREYou can send Woocommerce Order Notifications to customers via WhatsApp by BotSailor in a very easy and straightforward w...
READ MOREWe're delighted to announce the opening of the BotSailor Affiliate Program today! We developed it as a way to thank the ...
READ MORE
(0) Comments