🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

Shopify + WhatsApp: instant order answers, fewer pings

Lisa Granqvist Partner Workflow Automation Expert

Your WhatsApp inbox turns into a support queue fast. One “where’s my order?” becomes ten, and suddenly you’re copy-pasting Shopify statuses, hunting tracking links, and guessing stock while customers double-text.

This is the kind of mess ecommerce managers feel daily. Support leads get dragged into it too, and founders end up answering chats at night. With this Shopify WhatsApp automation, routine questions get answered in minutes without you touching Shopify.

You’ll see how the workflow routes messages, pulls order and inventory data, replies automatically, and escalates unclear cases to Slack with full context.

How This Automation Works

The full n8n workflow, from trigger to final output:

n8n Workflow Template: Shopify + WhatsApp: instant order answers, fewer pings

The Problem: WhatsApp Support Turns Into Shopify Tab-Hopping

Most WhatsApp “support” is really just information retrieval. Someone asks for an order update, you open Shopify, search by name or phone, click into the order, copy the status, then go back and write a decent reply. Product questions aren’t better. “Do you have size M in black?” means checking variants, inventory, sometimes even best-sellers, then translating that into a human message. On a busy day, this is constant context switching. You lose time, you miss messages, and you still feel behind.

It adds up fast. And the small failure points are what hurt the most.

  • Agents spend about 5 minutes per “where’s my order” because the tracking link and ETA aren’t in one place.
  • Stock answers drift between team members, so customers get inconsistent replies and ask follow-up questions.
  • When the question is unclear, it bounces around internally with no transcript, which means the customer waits again.
  • Shopify rate limits and WhatsApp conversation billing make “just reply faster” a risky strategy without a system.

The Solution: An AI WhatsApp Copilot That Pulls Answers From Shopify

This workflow turns your WhatsApp inbox into a guided support flow. When a message comes in, it first looks up the customer in Shopify using the phone number, then cleans up the message so routing is reliable (lowercasing, removing extra punctuation and emoji noise). Next, an intent router classifies the message into a few practical buckets: greetings, order status, product availability, or “needs a human.” For order and product questions, an AI agent interprets what the customer is asking, requests the right Shopify data through HTTP calls, and formats it into a strict structure so the reply stays tidy. Then it sends a clear WhatsApp response. If the agent isn’t confident, it posts the transcript and context to Slack so your team can jump in quickly.

The workflow starts with an incoming WhatsApp message. It routes the intent, pulls either orders or products from Shopify, and replies with a ready-to-send message. Anything messy gets escalated to Slack with the details your team needs.

What You Get: Automation vs. Results

Example: What This Looks Like

Say your store gets 30 WhatsApp questions a day, and about 20 are basic order status or stock checks. If each one takes roughly 5 minutes of Shopify searching and typing, that’s about 100 minutes daily. With this workflow, you’re down to near-zero manual work for those 20: the customer messages as usual, the system replies after it fetches Shopify data, and your team only touches the odd edge case. Even if you review a few replies, you’re usually getting about 1–2 hours back every day.

What You’ll Need

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • WhatsApp Business API provider to receive and send WhatsApp messages.
  • Shopify Admin API to fetch customers, orders, and products.
  • LLM API key (OpenAI or OpenRouter) (get it from your LLM provider dashboard)

Skill level: Intermediate. You’ll connect credentials, edit message templates, and test a few real WhatsApp queries.

Don’t want to set this up yourself? Talk to an automation expert (free 15-minute consultation).

How It Works

A customer messages your WhatsApp number. The workflow starts from the WhatsApp trigger and captures the message text plus sender details.

Customer lookup and cleanup happens immediately. It searches Shopify for the customer by phone, maps the profile, then standardizes the message so “Whr is my order???” and “where is my order” route the same way.

Intent routing decides what should happen next. A Switch node sends the message down the welcome path, the order-status agent, the product inquiry agent, or the support escalation branch. Memory is included so follow-ups like “and when will it arrive?” don’t start from scratch.

Shopify data is fetched, then shaped into a safe reply. For orders, the agent pulls recent orders and the structured parser formats status, ETA, and tracking link. For products, it fetches inventory and sizes, then prepares a readable availability message. If the workflow can’t confidently answer, Slack gets the transcript and whatever context was already retrieved.

You can easily modify the intent categories to add returns/exchanges, COD confirmation, or address changes based on your needs. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the WhatsApp Trigger

Set up the inbound WhatsApp trigger so new messages enter the workflow and start the customer lookup.

  1. Add the Incoming WhatsApp Trigger node and set Updates to messages.
  2. Credential Required: Connect your whatsAppTriggerApi credentials in Incoming WhatsApp Trigger.
  3. Verify the node connects to the flow: Incoming WhatsApp TriggerFetch Shopify Customer.

Step 2: Connect Shopify Customer Data

Fetch the Shopify customer profile using the WhatsApp sender ID, then standardize the data for routing and replies.

  1. In Fetch Shopify Customer, set URL to https://<YourStore>.myshopify.com/admin/api/2025-07/customers/search.json.
  2. Enable Send Query and set the query parameter to =phone:{{ $json.contacts[0].wa_id }}.
  3. Credential Required: Connect your httpHeaderAuth credentials in Fetch Shopify Customer.
  4. In Map Customer Profile, map fields using expressions like {{ $json.customers[0].id }} for customerID and {{ $json.customers[0].first_name }} {{ $json.customers[0].last_name }} for customerName.
  5. Confirm the execution path: Fetch Shopify CustomerMap Customer ProfileStandardize Message Input.

Tip: The Standardize Message Input node uses the expression ={{ $('Incoming WhatsApp Trigger').item.json.messages[0].text.body.toLowerCase().trim().replace(/[^\\w\\s#]/g, '') }} to normalize text for intent routing.

Step 3: Set Up Intent Routing

Route messages into welcome, order, product, or support branches based on the normalized intent.

  1. In Standardize Message Input, keep the categorized expression that classifies messages into Starter, Order status, Products, or Support.
  2. In Route by Intent, keep the four rules using {{ $json.categorized }} with right values Starter, Order status, Products, and Support.
  3. Confirm routing outputs: Route by IntentSend Welcome Reply, Order Support Agent, Product Inquiry Agent, and Post to Support Slack.

⚠️ Common Pitfall: If the categorized expression in Standardize Message Input is edited, ensure the exact output labels still match the Route by Intent rule values.

Step 4: Configure AI Agents and Memory

Attach LLMs, memory, tools, and output parsers to the agents for order and product handling.

  1. In Session Memory Buffer, set Session Key to ={{ $json.messages[0].text.body }} and Session ID Type to customKey.
  2. Connect the language models: OpenRouter Chat Engine (model deepseek/deepseek-chat-v3.1:free) and OpenAI Chat Engine (model gpt-4.1-mini) to Order Support Agent and Product Inquiry Agent via the AI language model connections.
  3. Credential Required: Connect your openRouterApi credentials in OpenRouter Chat Engine.
  4. Credential Required: Connect your openAiApi credentials in OpenAI Chat Engine.
  5. Attach tools: Retrieve Customer Orders to Order Support Agent and Retrieve Shopify Products to Product Inquiry Agent (AI tool connections).
  6. Credential Required: Connect your httpHeaderAuth credentials in both Retrieve Customer Orders and Retrieve Shopify Products.
  7. Attach output parsers: Parse Order Output to Order Support Agent and Parse Product Output to Product Inquiry Agent.

Tip: Session Memory Buffer, Retrieve Customer Orders, Retrieve Shopify Products, Parse Order Output, and Parse Product Output are AI sub-nodes. Add credentials to their parent nodes (e.g., OpenRouter Chat Engine, OpenAI Chat Engine, and the tool nodes) rather than the sub-nodes themselves.

Step 5: Configure WhatsApp and Slack Outputs

Send responses back to WhatsApp or hand off to Slack for support escalation.

  1. In Send Welcome Reply, set Text Body to =Hello {{ $('Map Customer Profile').item.json.customerName }}! Welcome. How can I assist you today? and Recipient Phone Number to ={{ $('Incoming WhatsApp Trigger').item.json.contacts[0].wa_id}}.
  2. In Dispatch Order Update, keep the templated Text Body expression and set Recipient Phone Number to ={{ $('Incoming WhatsApp Trigger').item.json.contacts[0].wa_id}}.
  3. In Send Product Availability, keep the JavaScript text builder and set Recipient Phone Number to ={{ $('Incoming WhatsApp Trigger').item.json.contacts[0].wa_id}}.
  4. Credential Required: Connect your whatsAppApi credentials in Send Welcome Reply, Dispatch Order Update, and Send Product Availability.
  5. In Post to Support Slack, set Text to ={{ $('Incoming WhatsApp Trigger').item.json.messages[0].text.body }} and select the support Channel.
  6. Credential Required: Connect your slackApi credentials in Post to Support Slack.

⚠️ Common Pitfall: Replace the placeholder [YOUR_ID] in the WhatsApp nodes with your actual WhatsApp phone number ID.

Step 6: Test & Activate Your Workflow

Run end-to-end tests to validate routing and replies before turning the workflow on.

  1. Manually execute the workflow and send test WhatsApp messages for each intent: greeting, order status, product inquiry, and support escalation.
  2. Confirm the expected paths fire: Standardize Message InputRoute by Intent → the correct branch (welcome, order, product, or Slack).
  3. Verify successful outputs: WhatsApp replies from Send Welcome Reply, Dispatch Order Update, or Send Product Availability, and a Slack post from Post to Support Slack.
  4. Activate the workflow by toggling it to Active once all tests pass.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Common Gotchas

  • Shopify Admin API credentials can expire or lack scopes. If things break, check your Shopify app permissions and token status in the Shopify admin first.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • Default prompts in AI nodes are generic. Add your brand voice early or you’ll be editing outputs forever.

Frequently Asked Questions

How long does it take to set up this Shopify WhatsApp automation automation?

About 45 minutes if your Shopify and WhatsApp credentials are ready.

Do I need coding skills to automate Shopify WhatsApp automation?

No. You’ll mostly connect accounts and paste API keys into n8n credentials. You might tweak a few message templates, but that’s just editing text.

Is n8n free to use for this Shopify WhatsApp automation workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in LLM usage and WhatsApp provider conversation fees.

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I customize this Shopify WhatsApp automation workflow for returns and exchanges?

Yes, and it’s a common upgrade. You would add a new intent in the “Route by Intent” switch (for example, returnsQuery), then create a new agent prompt that asks for the order number and reason. From there, you can reuse the existing Shopify customer and orders retrieval logic, and either generate a return instruction message or route the case to Slack when the request needs approval.

Why is my Shopify connection failing in this workflow?

Usually it’s an Admin API token issue or missing scopes on your Shopify app. Regenerate the token, confirm permissions for reading customers, orders, and products, then update the credential in n8n. If it fails only during busy periods, you may be hitting Shopify rate limits, so staggering requests or reducing repeated lookups helps. Also double-check the store domain you’re calling in the HTTP request nodes, because a tiny typo can break everything.

How many conversations can this Shopify WhatsApp automation automation handle?

A lot, as long as you plan for execution limits and API limits. On n8n Cloud Starter, you’re typically fine for small teams, while higher plans handle heavier volumes. If you self-host, there’s no fixed execution cap, but your server resources become the ceiling. Practically, Shopify rate limits and your WhatsApp provider’s throughput matter more than n8n does, so the safest approach is batching where possible and avoiding repeated Shopify calls for the same customer in a short window.

Is this Shopify WhatsApp automation automation better than using Zapier or Make?

Often, yes, because this workflow needs branching, memory, and structured AI outputs, and those get expensive or awkward in simpler automation tools. n8n also gives you the self-hosting option, which can be a big deal when support volume spikes. The tradeoff is setup: you’ll do a bit more configuration up front. If you want a second opinion based on your monthly chat volume and support process, Talk to an automation expert.

Set this up once and your WhatsApp support stops being a nonstop Shopify scavenger hunt. The workflow handles the repetitive questions, so your team can focus on the conversations that actually need a human.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal