# Manage Shopify store with OpenAI: n8n workflow template

> Started by someone opening a chat with it. It calls services over plain HTTP rather than through connectors.

Source: https://millionrounds.com/workflow/manage-shopify-store-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)

# Manage Shopify store with OpenAI

Started by someone opening a chat with it. It calls services over plain HTTP rather than through connectors. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 18 steps: a working afternoon to understand properly.

Medium Calls a model: OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fmanage-shopify-store-with-openai)

**18 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**0** Loops or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 2 Model 4 Service 12

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

- 1 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 2 **MCP Client** Mcp Client Tool *Model*
- 3 **Simple Memory** Memory Buffer Window *Model*
- 4 **When chat message received** Chat trigger *Starts it*
- 5 **Create a product in Shopify** Shopify Tool *Service*
- 6 **Get a product in Shopify** Shopify Tool *Service*
- 7 **Search products in Shopify by Title** Shopify Tool *Service*
- 8 **Get All products in Shopify** Shopify Tool *Service*
- 9 **Update a product in Shopify** Shopify Tool *Service*
- 10 **Delete a product in Shopify** Shopify Tool *Service*
- 11 **Create an order in Shopify** Shopify Tool *Service*
- 12 **Get an order in Shopify** Shopify Tool *Service*
- 13 **Get fulfilled orders in Shopify** Shopify Tool *Service*
- 14 **Get all orders in Shopify** Shopify Tool *Service*
- 15 **Update an order in Shopify** Shopify Tool *Service*
- 16 **Delete an order in Shopify** Shopify Tool *Service*
- 17 **AI Agent** Agent *Model*
- 18 **Shopify Tool MCP Server** Mcp trigger *Starts it*

## How it's built

- **Starts on:** Someone opening a chat with it
- **Steps:** 18
- **Size:** Medium: a working afternoon
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** OpenAI
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

An n8n account, and a key for 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 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?

Plan an afternoon. 18 steps is enough that you should read each one before running it.

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 18 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%2Fmanage-shopify-store-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.

## Workflows like it

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

- [**AI blog generator for Shopify products with Gemini** 18 steps · calls a model · Google Sheets, Shopify](https://millionrounds.com/workflow/ai-blog-generator-for-shopify-products-with-gemini)
- [**AI-powered restaurant order and menu management with WhatsApp** 18 steps · calls a model · Supabase, Supabase vectors](https://millionrounds.com/workflow/ai-powered-restaurant-order-and-menu-management-with-whatsap)
- [**Automate inventory replenishment and purchase orders** 18 steps · calls a model · Email, Postgres](https://millionrounds.com/workflow/automate-inventory-replenishment-and-purchase-orders)
- [**Generate Shopify review outreach drafts with Apify and Hunter** 18 steps · calls a model · Apify, Gmail](https://millionrounds.com/workflow/generate-shopify-review-outreach-drafts-with-apify-and-hunte)
- [**Monitor Shopify low-stock items with OpenAI and Google Sheets** 18 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/monitor-shopify-low-stock-items-with-openai-and-google-sheet)
- [**Sales & support agent for ecommerce with Gemini** 18 steps · calls a model · Gmail](https://millionrounds.com/workflow/sales-and-support-agent-for-ecommerce-with-gemini)
