# Conversational sales agent for WooCommerce with OpenAI: n8n workflow

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

Source: https://millionrounds.com/workflow/conversational-sales-agent-for-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)

# Conversational sales agent for WooCommerce with OpenAI

Started by someone opening a chat with it, and works across Google Drive and Qdrant. It puts Gemini and OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 24 steps: 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%2Fconversational-sales-agent-for-woocommerce-with-openai)

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

**0** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 15 Logic 1 Service 6

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

- 1 **When chat message received** Chat trigger *Starts it*
- 2 **When clicking 'Execute workflow'** Manual trigger *Starts it*
- 3 **Window Buffer Memory1** Memory Buffer Window *Model*
- 4 **OpenAI Chat Model (Extractor)1** Lm Chat Open Ai *Model*
- 5 **OpenAI Chat Model (Agent)1** Lm Chat Open Ai *Model*
- 6 **Embeddings OpenAI (runtime)1** Embeddings Open Ai *Model*
- 7 **PRODUCT_SEARCH_WOO1** Woo Commerce Tool *Service*
- 8 **INVENTORY_DETAIL_WOO1** Woo Commerce Tool *Service*
- 9 **PAYMENT_LINK1** Tool Workflow *Model*
- 10 **CRM_LEAD1** Tool Workflow *Model*
- 11 **HUMAN_ESCALATION1** Telegram Tool *Service*
- 12 **Token Splitter1** Text Splitter Token Splitter *Model*
- 13 **Embeddings OpenAI (build)1** Embeddings Open Ai *Model*
- 14 **Google Gemini Chat Model1** Lm Chat Google Gemini *Model*
- 15 **Edit Fields1** Set *Logic*
- 16 **Qdrant Wipe1** Http Request *Service*
- 17 **Sales AI Agent1** Agent *Model*
- 18 **Sales Info Extractor1** Information Extractor *Model*
- 19 **Qdrant Vector Store (runtime)1** Vector Store Qdrant *Model*
- 20 **Default Data Loader1** Document Default Data Loader *Model*
- 21 **Qdrant Vector Store (insert)1** Vector Store Qdrant *Model*
- 22 **RAG_FAQ1** Tool Vector Store *Model*
- 23 **Google Drive: List1** Google Drive *Service*
- 24 **Google Drive: Download1** Google Drive *Service*

## How it's built

- **Starts on:** Someone opening a chat with it
- **Steps:** 24
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Drive, Qdrant
- **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 Google Drive and Qdrant accounts, 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 24 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 24 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%2Fconversational-sales-agent-for-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.

[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Qdrant](https://millionrounds.com/workflows?service=Qdrant#library)

## Workflows like it

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

- [**Create AI-powered 3D product videos from images with VEO3** 24 steps · calls a model · Discord, Gmail](https://millionrounds.com/workflow/create-ai-powered-3d-product-videos-from-images-with-veo3)
- [**Provide ecommerce support with Qdrant RAG and WooCommerce** 24 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/provide-ecommerce-support-with-qdrant-rag-and-woocommerce)
- [**RAG eCommerce chatbot with OpenAI and Gmail** 23 steps · calls a model · Gmail, Qdrant](https://millionrounds.com/workflow/rag-ecommerce-chatbot-with-openai-and-gmail)
- [**WooCommerce AI post-sales chatbot with OpenAI and Google Drive** 26 steps · calls a model · Google Drive, Qdrant](https://millionrounds.com/workflow/woocommerce-ai-post-sales-chatbot-with-openai-and-google-dri)
- [**Personal shopper chatbot for WooCommerce with RAG** 21 steps · calls a model · Google Drive, Qdrant](https://millionrounds.com/workflow/personal-shopper-chatbot-for-woocommerce-with-rag)
- [**Voice AI customer support for WooCommerce with VAPI and OpenAI** 20 steps · calls a model · Qdrant](https://millionrounds.com/workflow/voice-ai-customer-support-for-woocommerce-with-vapi-and-open)
