WhatsApp Automation

    How to Automate WhatsApp Order-Taking for a Shopify Store (2026)

    Step-by-step guide to connecting WhatsApp Business API with Shopify for automated order confirmation, status updates, and abandoned cart recovery. Built for UAE and MENA merchants.

    12 min read
    Share:

    ShaboAI Team

    AI Automation Experts

    Published 30 June 2026

    The Short Answer: What This Setup Looks Like

    You can automate WhatsApp order-taking for a Shopify store in five steps: connect Shopify webhooks to an automation tool (n8n), link a WhatsApp Business API number, build message flows for order confirmation and status updates, add abandoned cart recovery, and test end-to-end before going live. The full build takes 2–4 weeks and costs AED 10,000–20,000 with an agency, or AED 200–400/month in tool costs if you do it yourself. This guide walks through each step with specifics for UAE merchants.

    Why UAE Shopify Merchants Need WhatsApp Order Automation

    Email order confirmations get ignored in the UAE. WhatsApp does not. UAE e-commerce buyers expect instant acknowledgement on WhatsApp after placing an order. A 2025 study of MENA shoppers found that 71% contact sellers via WhatsApp before or after buying, and 43% abandon repeat purchases when they cannot reach a seller on WhatsApp quickly. Manual WhatsApp order management creates four problems for growing Shopify stores: - **Speed:** Staff cannot respond instantly to every order notification around the clock - **Consistency:** Manual messages are error-prone and miss key details (order number, delivery estimate) - **Scale:** One staff member can handle 20–30 WhatsApp order conversations per day; automation handles unlimited - **Recovery:** Abandoned cart messages sent via email recover 2–5% of lost carts; WhatsApp recovers 15–25% Automating the WhatsApp-Shopify connection eliminates all four problems and typically pays back its implementation cost within 60–90 days through recovered revenue alone.

    What You Need Before Starting

    Before building the automation, confirm you have these in place. **Shopify requirements** - Active Shopify store (any plan; Basic and above have webhook access) - Shopify Admin API access token (generated in Settings > Apps > Develop apps) - Products and at least a test order to verify the flow **WhatsApp Business API requirements** - UAE trade license or registered business - Facebook Business Manager account (verified) - A dedicated phone number not previously registered on WhatsApp - Approved WhatsApp Business Solution Provider (BSP) account — WATI, SleekFlow, or direct Meta Cloud API access - At least 2–3 approved message templates (order confirmation, shipping update, abandoned cart) **Automation tool** - n8n (self-hosted on a VPS or n8n Cloud) — recommended for UAE merchants - Alternatively: Make or Zapier (see the limitations in our comparison guide) **Technical access** - VPS or server to run n8n (if self-hosted) - Basic understanding of webhooks, or an agency to handle the build If you are missing the WhatsApp BSP account, that step alone takes 3–7 business days for Meta verification. Start it first before touching any code.

    Step-by-Step: Building the WhatsApp-Shopify Automation

    Follow these steps in order. Each step builds on the previous one. **Step 1: Set up your n8n instance** Install n8n on your VPS using Docker Compose, or create an n8n Cloud account. Configure the base URL (e.g., automation.yourstore.com) with an SSL certificate via Caddy or Nginx. This is the server that receives Shopify webhooks and sends WhatsApp messages. Estimated time: 2–4 hours (first-time setup) **Step 2: Create Shopify webhook triggers** In n8n, create a new workflow with a Webhook node as the trigger. Copy the webhook URL. In Shopify Admin, go to Settings > Notifications > Webhooks and create webhooks for: - `orders/create` — fires when a new order is placed - `orders/fulfilled` — fires when an order ships - `orders/cancelled` — fires when an order is cancelled - `checkouts/create` — fires when a checkout is started (for abandoned cart) - `checkouts/update` — fires on checkout progress (to detect abandonment) Paste the n8n webhook URL into each Shopify webhook. Test each one by placing a test order in Shopify and confirming n8n receives the payload. Estimated time: 1–2 hours **Step 3: Connect WhatsApp Business API** In n8n, add an HTTP Request node after the Shopify webhook. Configure it to call your WhatsApp BSP API endpoint. The payload structure varies by BSP: For Meta Cloud API (direct): - Endpoint: `https://graph.facebook.com/v19.0/{phone-number-id}/messages` - Method: POST - Auth: Bearer token (your Meta access token) - Body: JSON with `messaging_product`, `to` (customer phone), `type: template`, and `template` object For WATI or SleekFlow: use their dedicated API endpoints (simpler, less setup). Estimated time: 2–3 hours **Step 4: Build the order confirmation message flow** When Shopify fires `orders/create`, extract these fields from the payload: - `order.name` (order number, e.g. #1042) - `order.customer.first_name` - `order.customer.phone` - `order.total_price` - `order.line_items` (product names) - `order.shipping_address.city` Build a Function node in n8n to format a bilingual confirmation message. Then pass it to the WhatsApp HTTP node. The approved message template must match the structure exactly. Example confirmation message (English): "Hi {{name}}, your order {{order_number}} for AED {{total}} has been confirmed. We'll send you a shipping update soon. Reply HELP for support." Estimated time: 3–5 hours **Step 5: Add shipping and delivery updates** Create a separate n8n workflow triggered by `orders/fulfilled`. Extract the tracking number and carrier from the Shopify payload. Send a WhatsApp update using an approved "shipping" template. Add a conditional check: if the customer's phone number is blank, route to an email fallback. Not all Shopify customers provide phone numbers at checkout. Estimated time: 2–3 hours **Step 6: Build the abandoned cart recovery flow** This is where most of the revenue recovery happens. Create a workflow triggered by `checkouts/create`. Store the checkout ID, customer phone, cart contents, and timestamp in a Baserow or Google Sheets table. Create a second workflow that runs on a cron schedule (every 30 minutes). It queries the table for checkouts older than 1 hour that have not converted to orders. For each one, send a WhatsApp message using the approved abandoned cart template. Add a 24-hour follow-up message for carts that still have not converted. Cap at 2 messages per abandoned cart to avoid WhatsApp policy violations. Estimated time: 4–6 hours **Step 7: Test end-to-end before going live** Place a real test order using your own phone number. Verify: - Order confirmation arrives within 30 seconds of placing the order - Shipping update arrives after fulfilling the order in Shopify - Abandoned cart message arrives 60 minutes after starting checkout without completing it - Messages render correctly in Arabic and English on an Android and iPhone - Opt-out (STOP) replies are handled and the customer is removed from future messages Estimated time: 2–4 hours across multiple test cycles

    WhatsApp Message Templates: What to Say and How to Get Approval

    Every outbound WhatsApp message outside a 24-hour conversation window must use an approved template. Getting templates approved is often the longest step in the project. **Template approval timeline** - Submission to Meta: 1–5 business days - Rejection and resubmission: Add 3–7 days - Best practice: Submit templates 2 weeks before planned launch **The 5 templates you need for a Shopify WhatsApp setup** 1. **Order confirmation** Category: UTILITY Language: Submit in both Arabic and English Sample: "Hello {{1}}, your order {{2}} for AED {{3}} has been received. Expected delivery: {{4}}." 2. **Order shipped** Category: UTILITY Sample: "Your order {{1}} has been shipped via {{2}}. Track it here: {{3}}" 3. **Order delivered** Category: UTILITY Sample: "Your order {{1}} has been delivered. Thank you for shopping with us. Reply REVIEW to share your experience." 4. **Abandoned cart — first message (1 hour after abandonment)** Category: MARKETING Sample: "Hi {{1}}, you left something in your cart at {{2}}. Your items are still available. Complete your order: {{3}}" 5. **Abandoned cart — follow-up (24 hours after abandonment)** Category: MARKETING Sample: "Hi {{1}}, your cart at {{2}} expires soon. Here's 10% off to complete your order: {{3}} — use code {{4}}" **Template approval tips for UAE merchants** - Use UTILITY category for transactional messages (higher approval rate, lower cost per message) - Avoid promotional language in UTILITY templates — stick to factual order information - Submit Arabic templates separately with proper diacritics and UAE dialect where appropriate - Include all variable placeholders in the sample with realistic example values

    Full Cost Breakdown for UAE Shopify Merchants

    Here is exactly what you will pay to run WhatsApp-Shopify automation in 2026. **One-time setup costs** | Item | DIY | Agency | |------|-----|--------| | n8n setup on VPS | AED 0 (time only) | AED 2,000–4,000 | | WhatsApp BSP onboarding | AED 0–500 | Included | | Workflow build (7 flows) | AED 0 (time only) | AED 6,000–12,000 | | Template creation + submission | AED 0 | AED 500–1,500 | | Testing and launch | AED 0 | AED 1,000–2,500 | | **Total one-time** | **AED 0–500** | **AED 9,500–20,000** | **Monthly recurring costs** | Item | Cost (AED/month) | |------|----------------| | VPS hosting (n8n self-hosted) | AED 80–150 | | WhatsApp message costs (UTILITY) | AED 0.15–0.20 per conversation | | WhatsApp message costs (MARKETING) | AED 0.35–0.40 per conversation | | BSP platform fee (WATI/SleekFlow) | AED 180–700 | | n8n Cloud (alternative to VPS) | AED 75–550 | **Monthly cost example — medium UAE store (500 orders/month)** - 500 order confirmations + shipping updates: AED 150 (UTILITY) - 200 abandoned cart messages: AED 80 (MARKETING) - BSP platform: AED 250 - VPS: AED 110 - **Total monthly: ~AED 590** For a store doing AED 150,000/month revenue, this is under 0.4% of revenue. A single recovered abandoned cart day typically covers the entire monthly cost.

    Common Mistakes UAE Merchants Make

    Avoid these mistakes that slow down launches and waste budget. **1. Using unofficial WhatsApp tools** Many UAE merchants use unofficial bulk WhatsApp senders (grey-market tools). WhatsApp bans these numbers permanently with no appeal. Always use the official WhatsApp Business API through a Meta-approved BSP. **2. Skipping template pre-approval** Building the entire automation before submitting templates for approval means you cannot go live until templates are approved. Submit templates on day one of the project. **3. Not collecting phone numbers at checkout** Shopify does not require phone numbers by default. Enable phone number collection in Shopify Checkout settings and make it required (or at minimum strongly prompted). Without a phone number, the WhatsApp flow cannot trigger. **4. Sending too many messages** WhatsApp has strict spam policies. More than 2 abandoned cart messages, or daily promotional messages to the same customer, leads to account flagging and potential suspension. Build in frequency caps and opt-out handling from the start. **5. Ignoring Arabic message formatting** Arabic text in WhatsApp renders right-to-left. Test every template on a real device (not just the Meta template preview) to confirm formatting, emoji placement, and line breaks appear correctly in Arabic mode. **6. No error handling in workflows** If Shopify sends a webhook and n8n is unreachable, the message is lost. Add retry logic, error notifications, and a fallback (SMS or email) for critical messages like order confirmations.

    Getting Help from a UAE Automation Agency

    If you would rather have this built correctly the first time without learning n8n yourself, a UAE-based automation agency will handle every step: BSP onboarding, template submission, workflow build, testing, and launch. **What to ask before hiring** - Do they have experience specifically with Shopify + WhatsApp API integrations? - Can they show a previous client's system (even anonymised) as a reference? - Do you get ownership of all workflow files after the project? - Is WhatsApp message template submission included in the project scope? - What is the post-launch support period and what does it cover? **Typical timeline with an agency** - Week 1: Discovery, BSP onboarding, template submission - Week 2: n8n setup, Shopify webhook configuration, first workflow build - Week 3: Abandoned cart flows, error handling, bilingual message testing - Week 4: Full end-to-end testing, staff training, live launch ShaboAI builds WhatsApp-Shopify automation for UAE merchants with full bilingual (Arabic/English) support, n8n on UAE-hosted infrastructure, and workflow file ownership transferred to you on day one. Book a free consultation at shaboai.com to get a scoped quote for your store.

    Frequently Asked Questions

    Ready to Automate Your Business?

    Get a free consultation from ShaboAI experts and discover how we can help transform your business.

    Related Articles