WhatsApp order confirmation for Shopify

Customers get a WhatsApp message the moment they place an order.

Medium Saves ~6 hours/month E-commerceBy Flowngn team

Works with n8n · Make · Zapier

How it works

Trigger: Shopify — order created
  1. Receive the new order from Shopify.
  2. Continue only if the customer left a phone number.
  3. Send an approved WhatsApp template with their name and order number.

Diagram

trueSNew orderShopify Trigger⑂Has phone number?IfWSend confirmationWhatsApp Business Cloud
Trigger App Logic

Build it

Pick your tool — same automation, step by step.

Copy and paste straight into an n8n canvas (Ctrl+V), or download and use Import from File. Then connect your own credentials and replace every YOUR_… placeholder.

Workflow JSON
Show code (134 lines)
{
  "name": "WhatsApp order confirmation for Shopify (Flowngn)",
  "nodes": [
    {
      "parameters": {
        "content": "## WhatsApp order confirmation for Shopify\nCustomers get a WhatsApp message the moment they place an order.\n\n**Setup**\n1. Open each node and connect your own credentials.\n2. Replace every YOUR_… placeholder.\n3. Test once, then activate.\n\nFree template from Flowngn",
        "height": 260,
        "width": 340
      },
      "id": "458210f1-f980-4989-a1ec-07858e8eaece",
      "name": "Setup notes",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -420,
        -60
      ]
    },
    {
      "parameters": {
        "topic": "orders/create"
      },
      "id": "458210f1-f980-4989-a1ec-07858e8eaece",
      "name": "New order",
      "type": "n8n-nodes-base.shopifyTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "webhookId": "458210f1-f980-4989-a1ec-07858e8eaece"
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "loose"
          },
          "conditions": [
            {
              "id": "c1",
              "leftValue": "={{ $json.phone || $json.shipping_address?.phone || '' }}",
              "rightValue": "",
              "operator": {
                "type": "string",
                "operation": "notEmpty",
                "singleValue": true
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "id": "458210f1-f980-4989-a1ec-07858e8eaece",
      "name": "Has phone number?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        300,
        0
      ]
    },
    {
      "parameters": {
        "operation": "sendTemplate",
        "phoneNumberId": "YOUR_PHONE_NUMBER_ID",
        "recipientPhoneNumber": "={{ ($json.phone || $json.shipping_address.phone).replace(/[^0-9]/g, '') }}",
        "template": "YOUR_ORDER_TEMPLATE|en",
        "components": {
          "component": [
            {
              "type": "body",
              "bodyParameters": {
                "parameter": [
                  {
                    "type": "text",
                    "text": "={{ $json.customer?.first_name || 'there' }}"
                  },
                  {
                    "type": "text",
                    "text": "={{ $json.name }}"
                  }
                ]
              }
            }
          ]
        }
      },
      "id": "458210f1-f980-4989-a1ec-07858e8eaece",
      "name": "Send confirmation",
      "type": "n8n-nodes-base.whatsApp",
      "typeVersion": 1,
      "position": [
        600,
        0
      ]
    }
  ],
  "connections": {
    "New order": {
      "main": [
        [
          {
            "node": "Has phone number?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has phone number?": {
      "main": [
        [
          {
            "node": "Send confirmation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}

Open in the playground to edit →

Tips

  • Messages you start must use a template approved by Meta.
  • Phone numbers need the country code, e.g. 201001234567.

Related flows