messenger
5573
Verify Shopify cash on delivery orders by WhatsApp with Webhook Workflow.

In this article, I will show you how to verify Shopify cash on delivery orders by WhatsApp with the BotSailor webhook workflow.

Webhook workflow is an advanced feature of BotSailor, and you will get greater control of your campaign. However, there is another straightforward way to verify Shopify cash on delivery orders via WhatsApp. This is BotSailor's default system to integrate Shopify Automation.Read details here about easy method to setup Shopify cash on delivery order confirmation campaign.

We have also created a video tutorial on How to verify Shopify cash on delivery orders by WhatsApp with BotSailor.

You can watch the video tutorial.

First, you have to create a message template in BotSailor.

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

How to create a Message Template for WhatsApp by BotSailor

In the message template, you have to use two templates -- ProductList and totalPrice.

Also, in the message template, you have to configure two postbacks -- Confirm Order and Cancel Order.

You have created two quick reply buttons. Therefore, you have to create two postbacks for two quick reply buttons -- one for confirming the order and the other for canceling the order.

Instantly, WhatsApp Webhook(In-bound) Workflow will appear with a create button.

  1. Click on theWebhook workflow menuin the WhatsApp section at the left sidebar of the dashboard.
  2. Click on theCreate button.
  3. Provide a name in theWebhook Workflow button.
  4. In the message template field, select themessage templateyou have created.
  5. Click on theCreate workflow button.

Image

Image

  • Now you have to copy theURL.

Image

  1. Now go to yourShopify Orderspage.
  2. Click onSettings ->Now click onNotificationsmenu.
  3. Scroll down to the bottom of the page.
  4. Now click on theCreate Webhook button.

Image

Image

Image

Now you have to fill out the form:

  1. In theEvent field, selectorder creation.
  2. In theUrl field, put theWebhook callback Urlyou copied from the BotSailor.
  3. Then click on the Save button.

Image

  1. Go toShopifyand click on theordersmenu.
  2. Now click on theCreate Orderbutton.
  3. From theProduct fields, select aproduct.
  4. Click on theAdd button.

Image

Instantly, a create order page will appear with the Products field.

Image

Image

  • Then create a customer or select a customer from a predefined customers list.

Image

  1. Then enable thepayment due lateroption.
  2. Then click on theCreate Orderbutton.

Image

  1. In the Expected payment method, select the Cash on delivery option and click on the
  2. Click on the Create Order button

Image

Now you have to fill out the webhook response mapping form.

  1. In thephone numberfield, selectbilling address phonenumber.
  2. In thePRODUCTLISTvariable field, you have to selectline_items.
  3. Now you have to select total_price in theTOTAL PRICEfield.

Image

Then you have to create a data formatter for line_items.

  1. Click on thenew buttonin thedata formattersection.
  2. Provide anamein thename field.
  3. In theAction field, selectContact List Items.
  4. In theGluefield, provide acomma.
  5. In theposition field, providename.
  6. Then click on theSave Formatter button.

Image

Now you have to select the formatter for the product list.

Image

Now you have to fill out Confirm order and Cancel order field with two postbacks -- one for confirming the order and other for canceling the order.

  • Now create a postback for confirming the order on Shopify.

Image

  • Likewise, create another postback for canceling the order on Shopify.

Image

  1. In theconfirm orderfield, selectShopify Confirm Orderpostback.
  2. Likewise, in thecancel order field, selectShopify Cancel OrderPostback.

Image

Now you need to create acallback API. When a user clicks on Confirm Order or Cancel Order button, what will happen will be defined in the callback API.

Now you have to create callback API.

To create a callback API, follow the instructions bellow:

  1. Click on the New button in the Callback APIs section.
  2. Provide anamein theName field.
  3. In theAPI actionfield, selectShopify order tag updateoption.
  4. In theSelect Store Apifield, select an integrated Shopify store.
  5. In theTagfield, write atag.
  6. Then click on theSave Callback APIbutton.

Image

Image

  • Select theCallback APIin theConfirm Order Button field.

Image

Related Articles:

Send WooCommerce Abandoned Cart Recovery Message to WhatsApp by BotSailor/

Send Automated WhatsApp message from Google Sheets by Using BotSailor

How to Integrate Shopify for WhatsApp Automation in BotSailor

How to Send Shopify Order Notification to WhatsApp with BotSailor

How to Verify a Shopify Cash on Delivery Order by WhatsApp with BotSailor

How to Recover Shopify Abandoned Cart by WhatsApp with BotSailor

How to Send Shopify Order Notifications to WhatsApp by BotSailor Webhook Workflow

author

Kamrul Hasan

3 Jan 2023
  • Categories :

  • Uncategorized

(0) Comments

Related Articles

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.

Train AI Assistant for Chatbot With FAQ, URL & File

Train AI Assistant for Chatbot With FAQ, URL & File

Train AI Assistant for Chatbot With FAQ, URL & FileBotSailor's just launched its AI Assistant chatbot feature giving...

READ MORE
Launch Your SaaS with BotSailor White Label Chatbot Marketing

Launch Your SaaS with BotSailor White Label Chatbot Marketing

Unlock a Profitable Business with BotSailor's White Label Reseller Program Are you looking for an effortless way to ...

READ MORE
WhatsApp Broadcasting List: A guide to WhatsApp Bulk Messaging (2024)

WhatsApp Broadcasting List: A guide to WhatsApp Bulk Messaging (2024)

WhatsApp broadcasting is an extremely powerful way by which businesses can conne...

READ MORE