# E-commerce assistant for Shopify & WooCommerce with OpenAI: n8n workflow

> Started by someone opening a chat with it, and works across Pinecone. It puts Gemini and OpenAI behind a retrieval step, so answers are drawn from documents...

Source: https://millionrounds.com/workflow/e-commerce-assistant-for-shopify-and-woocommerce-with-openai (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)

# E-commerce assistant for Shopify & WooCommerce with OpenAI

Started by someone opening a chat with it, and works across Pinecone. It puts Gemini and OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 23 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini, OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fe-commerce-assistant-for-shopify-and-woocommerce-with-openai)

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

**2** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 14 Logic 3 Service 5

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

- 1 **Fetch All Products** Shopify Tool *Service*
- 2 **Get Order info** Shopify Tool *Service*
- 3 **When chat message received** Chat trigger *Starts it*
- 4 **Shopify Chat Model** Lm Chat Google Gemini *Model*
- 5 **WooCommerce Chat Model** Lm Chat Google Gemini *Model*
- 6 **Embeddings AWS Bedrock** Embeddings Aws Bedrock *Model*
- 7 **Fetch All Products2** Woo Commerce Tool *Service*
- 8 **Fetch Order Details** Woo Commerce Tool *Service*
- 9 **Simple Memory** Memory Buffer Window *Model*
- 10 **Memory RAG** Memory Buffer Window *Model*
- 11 **WooCommerce Memory** Memory Buffer Window *Model*
- 12 **Shopify Memory** Memory Buffer Window *Model*
- 13 **GraphQL** Graphql Tool *Service*
- 14 **Router Model** Lm Chat Open Ai *Model*
- 15 **GPT-4o-mini** Lm Chat Open Ai *Model*
- 16 **Shopify Assistant Agent** Agent *Model*
- 17 **Initial Query Router** Agent *Model*
- 18 **WooCommerce Assistant Agent** Agent *Model*
- 19 **Pinecone Vector Store** Vector Store Pinecone *Model*
- 20 **General Queries** Agent *Model*
- 21 **Merge** Merge *Logic*
- 22 **Check if Its General query** If *Logic*
- 23 **Route To Shopify or WooCommerce** If *Logic*

## How it's built

- **Starts on:** Someone opening a chat with it
- **Steps:** 23, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Pinecone
- **Model:** Gemini, OpenAI
- **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 Pinecone account, and a key for Gemini and OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

Yes. It calls Gemini and OpenAI. 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 23 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 23 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%2Fe-commerce-assistant-for-shopify-and-woocommerce-with-openai)
- **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.

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

## Workflows like it

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

- [**Handle WhatsApp orders, FAQs, and tracking with OpenAI** 37 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/handle-whatsapp-orders-faqs-and-tracking-with-openai)
