# AI-powered WhatsApp customer support for Shopify brands: n8n workflow

> Started by an incoming WhatsApp message, and works across Slack and WhatsApp. It puts OpenAI and OpenRouter behind a retrieval step, so answers are drawn...

Source: https://millionrounds.com/workflow/ai-powered-whatsapp-customer-support-for-shopify-brands (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [E-commerce](https://millionrounds.com/workflows?category=E-commerce#library)

# AI-powered WhatsApp customer support for Shopify brands

Started by an incoming WhatsApp message, and works across Slack and WhatsApp. It puts OpenAI and OpenRouter behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 22 steps, 1 branch: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI, OpenRouter Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fai-powered-whatsapp-customer-support-for-shopify-brands)

**22 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 7 Logic 7 Service 7

The steps in the order they run, from what starts it.

- 1 **WhatsApp Trigger** Whats App trigger *Starts it*
- 2 **Simple Memory** Memory Buffer Window *Model*
- 3 **OpenRouter Chat Model** Lm Chat Open Router *Model*
- 4 **Get Products from Shopify** Http Request Tool *Service*
- 5 **Get Customer Orders** Http Request Tool *Service*
- 6 **Structured Output Parser** Output Parser Structured *Model*
- 7 **Structured Output Parser1** Output Parser Structured *Model*
- 8 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 9 **Get Customer from Shopify** Http Request *Service*
- 10 **Products Agent** Agent *Model*
- 11 **Orders Agent** Agent *Model*
- 12 **Customer Details** Set *Logic*
- 13 **Send Products message** Whats App *Service*
- 14 **Send Order Status** Whats App *Service*
- 15 **Normalize Input** Set *Logic*
- 16 **No Operation, do nothing1** No Op *Logic*
- 17 **No Operation, do nothing2** No Op *Logic*
- 18 **Switch** Switch *Logic*
- 19 **Welcome message** Whats App *Service*
- 20 **Send a message to support** Slack *Service*
- 21 **No Operation, do nothing3** No Op *Logic*
- 22 **No Operation, do nothing** No Op *Logic*

## How it's built

- **Starts on:** An incoming WhatsApp message
- **Steps:** 22, with 1 branch
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Slack, WhatsApp
- **Model:** OpenAI, OpenRouter
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

An n8n account, plus your own Slack and WhatsApp accounts, and a key for OpenAI and OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming WhatsApp message.

Does it use AI?

Yes. It calls OpenAI and OpenRouter. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 22 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fai-powered-whatsapp-customer-support-for-shopify-brands)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Slack](https://millionrounds.com/workflows?service=Slack#library)[WhatsApp](https://millionrounds.com/workflows?service=WhatsApp#library)

## Workflows like it

Also e-commerce, with the same services where possible, closest in size first.

- [**Orchestrate multi-store order allocation with OpenAI** 22 steps · calls a model · Postgres, Slack](https://millionrounds.com/workflow/orchestrate-multi-store-order-allocation-with-openai)
- [**Manage inventory reorders with Google Sheets and Slack** 22 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/manage-inventory-reorders-with-google-sheets-and-slack)
- [**Score Shopify customer churn risk and sync results** 22 steps · Gmail, Slack](https://millionrounds.com/workflow/score-shopify-customer-churn-risk-and-sync-results)
- [**Synchronizing WooCommerce inventory and creating products** 20 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/synchronizing-woocommerce-inventory-and-creating-products)
- [**Triage warranty claims and issue RMAs with OpenAI and Shopify** 24 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/triage-warranty-claims-and-issue-rmas-with-openai-and-shopif)
- [**Automate demand forecasting & inventory ordering with MySQL** 24 steps · MySQL, Slack](https://millionrounds.com/workflow/automate-demand-forecasting-and-inventory-ordering-with-mysq)
