Company RAG and data queries

OpenAI personal shopper workflow with Qdrant RAG and WooCommerce

Short answer

This n8n workflow clears and refreshes a Qdrant collection using store guides pulled from Google Drive and split by tokens. When a shopper sends a chat enquiry, an information extractor captures SKU, keywords and price bounds. An OpenAI agent pairs Qdrant policy search with live WooCommerce tools and calculator checks.

Catalogue ID
#1857
Functional nodes
21
Connections
19
Trigger
chatTrigger, manualTrigger
AI layer
AI-assisted
Business problem solved

Business problem solved

Online shoppers ask both store policy questions and live catalogue filter queries inside one conversation. Pure document search suggests out-of-stock SKUs, while pure API lookups miss store guidance.

Trigger

A chat trigger serves shopper enquiries while a manual trigger refreshes the Qdrant store guide collection.

Connected systems

Connected systems

  • WooCommerce
  • Qdrant vector store
  • Google Drive
  • OpenAI
  • Information extractor and calculator
  • Self-hosted n8n

Every workflow is deployed on your own server with documentation, a run log and an error queue.

Workflow architecture

Workflow architecture

  1. 1. When chat message received (Trigger) (connects to Edit Fields)
  2. 2. Window Buffer Memory (AI layer) (connects to AI Agent)
  3. 3. Calculator (AI layer) (connects to AI Agent)
  4. 4. Edit Fields (Service and data) (connects to Information Extractor)
  5. 5. OpenAI Chat Model (AI layer) (connects to AI Agent)
  6. 6. RAG (AI layer) (connects to AI Agent)
  7. 7. Qdrant Vector Store (AI layer) (connects to RAG)
  8. 8. Embeddings OpenAI (AI layer) (connects to Qdrant Vector Store)
  9. 9. OpenAI Chat Model1 (AI layer) (connects to RAG)
  10. 10. personal_shopper (Service and data) (connects to AI Agent)
  11. 11. Information Extractor (AI layer) (connects to AI Agent)
  12. 12. OpenAI Chat Model2 (AI layer) (connects to Information Extractor)
  13. 13. Google Drive2 (Service and data) (connects to Google Drive1)
  14. 14. Google Drive1 (Service and data) (connects to Qdrant Vector Store1)
  15. 15. Embeddings OpenAI3 (AI layer) (connects to Qdrant Vector Store1)
  16. 16. Default Data Loader2 (AI layer) (connects to Qdrant Vector Store1)
  17. 17. Token Splitter1 (AI layer) (connects to Default Data Loader2)
  18. 18. When clicking Test workflow (Trigger) (connects to HTTP Request)
  19. 19. HTTP Request (Service and data) (connects to Google Drive2)
  20. 20. Qdrant Vector Store1 (AI layer)
  21. 21. AI Agent (AI layer)
  • Trigger
  • AI layer
  • Logic and routing
  • Service and data

Node positions and directed links are generated from the verified catalogue record.

Workflow steps

Workflow steps

  1. 01

    Qdrant reset and Drive indexing

    Manual ingestion deletes old Qdrant points, pulls Google Drive store files and writes 300-token chunks with OpenAI embeddings.

  2. 02

    Shopper intent and filter extraction

    The information extractor parses SKU, search keywords and minimum or maximum price limits from incoming chat messages.

  3. 03

    Qdrant RAG and WooCommerce lookup

    The AI agent calls Qdrant for general store policies and the WooCommerce tool for live filtered product listings.

  4. 04

    Calculation and session reply

    Session-keyed window memory and a calculator tool support clear, consistent shopper answers.

Error queue and human approval

Error queue and human approval

Built-in state in the catalogue workflow

The verified catalogue workflow contains zero node-level error flags across its 21 functional nodes and 19 connections.

Production layer added by ALTAI

During live deployment, ALTAI adds zero-downtime collection aliases during refreshes, out-of-stock guards, human approval on order changes and rate limits.

Frequently asked

WooCommerce and Qdrant shopper RAG Frequently asked questions

In production we index into a staging collection and swap aliases atomically so live shopper retrieval never sees an empty store.

Extracted SKU codes, search terms and minimum or maximum price thresholds map straight into the WooCommerce tool parameters.

Yes. System instructions, extractor schema fields and Drive source documents are customised to match your catalogue.

Mert Can Gundogdu
The founder takes the call, not a sales team
Next step

We write the proposal after we have found the problem together

In a thirty-minute call we listen to how you work and talk through where time and customers are slipping away. If you do not need a digital fix, we will tell you that too.

30 minutes · no preparation needed

The call and the week of discovery are both free.Read the terms

Chat on WhatsApp