Skip to content
MORNINGMETHOD
New orderRead the orderLog the orderCash on delivery?Ask to confirm CODConfirm paid orderCustomer repliesRead the replyFind their ordersConfirm or cancel?Tag the order in …Update the order …Reply to the cust…Order shippedRead the shipmentSend tracking link
The workflow you get16 nodes
Best seller
  • n8n
  • Shopify
  • Google Sheets
  • WhatsApp

Order + COD Confirmation on WhatsApp for Shopify, with Shipping Updates

Every Shopify order gets a WhatsApp confirmation. Cash-on-delivery buyers tap Confirm or Cancel before you ship, and everyone gets their tracking link when it ships.

Best for: Shopify stores that offer cash on delivery and lose money on fake or refused COD orders

  • UPI, cards & netbanking
  • Instant download
  • Setup guide included
Delivery
Download after payment
Format
n8n workflow + guide (ZIP)
Access
Re-download any time

Setup

What you need, and how to set it up

It starts by itself when you place a test order in your shop. No code needed. Follow the steps in order.

What you need

  • An n8n account

    The app that runs the automation.

    Free to self-host, or a free trial on n8n Cloud.

  • ShopifyFree

    Lets n8n see orders in your Shopify store.

    Get it: In Shopify admin, make a custom app and copy its access token. Show me how to connect Shopify (opens n8n docs)

    Used by: New order, Tag the order in Shopify, Order shipped

  • Google SheetsFree

    Lets n8n read and write your spreadsheets.

    Get it: Click Sign in with Google inside n8n and say yes. On self-hosted n8n you first make a Google Cloud app (the link shows how). Show me how to connect Google Sheets (opens n8n docs)

    Used by: Log the order, Find their orders, Update the order row

  • WhatsApp Business (Meta)Free to start, Meta charges per conversation

    Lets n8n send and get WhatsApp messages.

    Get it: Make a Meta developer app at developers.facebook.com, add WhatsApp, and copy the access token and phone number ID. Show me how to connect WhatsApp Business (Meta) (opens n8n docs)

    Used by: Ask to confirm COD, Confirm paid order, Reply to the customer, Send tracking link, Customer replies

Setup in 6 easy steps

  1. Step 1: Get n8n

    n8n is the app that runs your automation. Make a free account at n8n.io. That is the easy way. You can also put it on your own computer for free.

  2. Step 2: Download your file

    After you pay, open My downloads and download the ZIP. Double-click it to open it. Inside is a file called workflow.json.

  3. Step 3: Put it in n8n

    In n8n, click Create workflow. Click the three dots (⋯) at the top, then Import from file, and pick workflow.json. Now you see the same boxes as in the picture above.

  4. Step 4: Connect your accounts

    Some boxes show a little red triangle. That means they need a key. Click the box, click Create new credential, and paste the key from your list. Do this for each red box.

  5. Step 5: Try it once

    Click Test workflow, then place a test order in your shop. Green ticks on the boxes mean it worked.

  6. Step 6: Turn it on

    Click Save. Then flip the switch at the top from Inactive to Active. Now it works by itself, even while you sleep.

Stuck? Email support@morningmethod.co and we will help you.

Category: Automations › WhatsApp Sales · Best for: Shopify stores that offer cash on delivery and lose money on fake or refused COD orders · Platform: n8n · Steps: 16

What it does

Every Shopify order gets a WhatsApp confirmation. Cash-on-delivery buyers tap Confirm or Cancel before you ship, and everyone gets their tracking link when it ships.

Refused cash-on-delivery parcels cost you shipping both ways. Asking the buyer to confirm on WhatsApp before you ship lets you hold or cancel the orders nobody will accept.

Works with: Shopify, Google Sheets, WhatsApp

What you get

  • The n8n workflow file (workflow.json), ready to import
  • This setup guide, including the WhatsApp message templates to create
  • Email support if you get stuck

Before you start

  1. An n8n account. Easiest: n8n Cloud (free trial). Self-host for free with Docker: docker run -it --rm -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n. Other services need to reach your n8n, so a self-hosted n8n must be on a public HTTPS address.

  2. A WhatsApp Business Cloud API number from Meta (free to set up; Meta charges per conversation, see WhatsApp pricing). Your personal WhatsApp number can't be used.

  3. These credentials in n8n (Credentials → Add credential):

    • Shopify (shopifyAccessTokenApi): in Shopify admin open Settings → Apps and sales channels → Develop apps, create an app with the read_orders, write_orders and read_checkouts scopes, install it and copy the Admin API access token, your shop subdomain and the app secret. n8n guide
    • Google Sheets (googleSheetsOAuth2Api): click Sign in with Google in n8n. n8n guide
    • WhatsApp Business Cloud (whatsAppApi): at developers.facebook.com make an app of type Business, add WhatsApp, then create a permanent access token for a system user in Business Settings. In n8n paste the token and your WhatsApp Business Account ID. n8n guide
    • WhatsApp (incoming messages) (whatsAppTriggerApi): the App ID and App secret of the same Meta app (App settings → Basic). n8n uses it to hear replies. n8n guide

Create your WhatsApp templates (once)

Meta only lets a business start a WhatsApp chat with an approved template. Create these in WhatsApp Manager → Message templates → Create template, language English (en). Approval usually takes minutes.

1. cod_confirm (category: Utility, COD orders; add two Quick reply buttons: Confirm order, Cancel order):

Hi {{1}}, thanks for order {{2}} ({{3}}, cash on delivery). Please confirm so we can ship it.

2. order_confirmed (category: Utility, prepaid orders):

Hi {{1}}, your order {{2}} ({{3}}) is confirmed. We'll message you when it ships.

3. order_shipped (category: Utility, on fulfilment):

Hi {{1}}, your order {{2}} has shipped! Track it here: {{3}}

Use other wording if you like, keeping the same {{1}} placeholders. If you rename a template, change the Template field in its WhatsApp box to match (name|language).

Install

  1. In n8n, click Create workflow (top right).
  2. Click the ⋯ menu → Import from file and choose workflow.json. Or copy the file's contents and paste onto the empty canvas with Ctrl/Cmd + V.
  3. Open each box with a red warning triangle and pick the matching credential from the list above.
  4. In every WhatsApp box, replace YOUR_WHATSAPP_PHONE_NUMBER_ID with your Phone number ID (WhatsApp Manager → API setup).
  5. Make a Google Sheet with a tab called Orders and this header row: order_id | order_name | phone | name | total | cod | status | created_at. Format the phone column as plain text. Paste the sheet's link into the three Google Sheets boxes.
  6. Filter your Shopify orders by the cod-confirmed tag before you ship. Note: setting tags replaces the order's existing tags.

Then click Save. In each Code box, DEFAULT_COUNTRY_CODE is 91 (India): change it to 1 for the US and Canada, 44 for the UK, and so on.

Test it

  1. Click Test workflow.
  2. Place a test COD order on your store with your own number, tap Confirm on WhatsApp, then check the order's tag in Shopify. Fulfil it to get the tracking message.
  3. Click each box to see its output. A green tick means the step worked. A red box is almost always a credential, a template name that doesn't match, or a number without its country code.

Go live

Toggle Active (top right). From now on it runs on its own. Check Executions in the left sidebar to see every run.

How it works, step by step

  1. New order fires for every Shopify order.
  2. Read the order gets the buyer's name, number and total, and spots cash on delivery.
  3. Log the order saves it in the Orders tab.
  4. Cash on delivery? sends COD buyers Ask to confirm COD and everyone else Confirm paid order.
  5. Customer replies hears the button they tap; Find their orders and Confirm or cancel? match it to their waiting order.
  6. Tag the order in Shopify adds cod-confirmed or cod-cancelled, Update the order row updates the sheet and Reply to the customer answers them.
  7. Order shipped sends the tracking link when you fulfil the order.

Good to know

  • WhatsApp only lets a business message first with an approved template; replies within 24 hours of the customer's last message can be free text.
  • Meta sends a WhatsApp number's incoming messages to one webhook at a time. If you run more than one workflow that starts with a WhatsApp trigger (COD replies, follow-up replies, the order bot, the booking bot, reminder replies), give each its own Meta app, or ask us how to merge them into one.
₹999.00
Order + COD Confirmation on WhatsApp for Shopify, with Shipping Updates | n8n Automation | Morning Method