π¬ Provide ecommerce support with Qdrant RAG, WooCommerce, and human backup
β‘ 300 views Β· π¬ Support Chatbots
Description
This workflow is a complete AI-powered customer support automation for WooCommerce e-commerce websites. It combines conversational AI, Retrieval-Augmented Generation (RAG), vector search, WooCommerce integration, and human escalation into a single intelligent support system.
The workflow allows customers to interact with an AI assistant through a website chat interface, providing real-time support, product discovery, policy assistance, and personalized shopping guidance.
Key Advantages
1. β Intelligent Customer Support
The chatbot can answer customer questions instantly, reducing response times and improving customer satisfaction.
Benefits:
- 24/7 automated assistance
- Faster customer response times
- Reduced support workload
- Consistent customer experience
2. β Real-Time WooCommerce Integration
The workflow connects directly to WooCommerce to retrieve live product data.
Capabilities:
- Product search
- Availability checks
- Price retrieval
- Product recommendations
- Category browsing
This ensures customers always receive accurate and up-to-date information.
3. β RAG-Powered Knowledge Base
The workflow uses Qdrant Vector Store and OpenAI embeddings to create a semantic knowledge base from company documents stored in Google Drive.
Advantages:
-
AI can answer questions about:
- shipping policies
- returns and refunds
- FAQs
- store information
- sizing guides
- promotions
-
Context-aware responses
-
Better accuracy than traditional keyword search
-
Easy document updates through Google Drive synchronization
4. β AI Guardrails and Safer Conversations
The workflow includes dedicated AI guardrails before the AI agent processes customer messages.
Benefits:
- Safer interactions
- Reduced hallucinations
- Better brand protection
- More controlled AI behavior
- Prevention of off-topic conversations
5. β Personalized Shopping Experience
The AI agent acts like a virtual shopping assistant.
Capabilities:
- Product recommendations
- Outfit suggestions
- Personalized guidance
- Product comparisons
- Contextual conversations using memory
This creates a premium customer experience similar to an in-store assistant.
6. β Conversation Memory
The workflow includes a buffer memory system that maintains context during conversations.
Advantages:
- More natural conversations
- Better understanding of customer preferences
- Improved multi-step interactions
- Personalized responses across the session
7. β Human Escalation System
When the AI cannot fully resolve a request, the workflow automatically escalates the conversation to human support via Gmail.
Benefits:
- Seamless customer handoff
- Better customer satisfaction
- Reduced frustration
- Support continuity
- Full conversation transcript included
8. β Scalable and Modular Architecture
The workflow is built using modular n8n nodes and reusable AI tools.
Advantages:
- Easy to customize
- Easy to scale
- Simple maintenance
- Flexible integrations
- Suitable for multiple e-commerce industries
Ideal Use Cases
This workflow is ideal for:
- Fashion e-commerce stores
- Luxury boutiques
- WooCommerce websites
- Online retail businesses
- Customer support automation
- AI shopping assistants
How it works
This workflow implements an AI-powered customer support chatbot for an e-commerce store (Fashionart). It integrates with webiste chatbot (chat trigger), Qdrant (vector store), Google Drive (knowledge base), WooCommerce (product data), and Gmail (human escalation).
- User message received β The workflow starts when a customer sends a message via the chat trigger.
- Guardrails applied β The input is first passed through a Guardrails node to enforce safety and content policies.
- AI Agent processes the request β An
E-Commerce Customer Support AI Agent(LangChain agent) decides which tool to call based on the userβs intent:rag_searchβ Retrieves company policies, FAQs, and static knowledge from Qdrant (populated from Google Drive documents).get_productβ Fetches live product details from WooCommerce.get_many_productsβ Searches/multiple products from WooCommerce.get_human_supportβ Escalates to staff by sending a transcript + customer phone/email via Gmail.Calculatorβ Optional tool for simple calculations.
- Memory context β A Window Buffer Memory node keeps conversation history (last 10 messages) for contextual replies.
- Response returned β The agentβs output is sent back to the customer via the chat node.
> The workflow also includes a manual ingestion branch (Test workflow β Google Drive β Qdrant) to vectorize documents into the knowledge base.
Set up steps
-
Create Qdrant collection
- Ensure Qdrant is running at
http://qdrant_jush:6333 - Run the
Create collectionHTTP request node (or manually create a collection namedfashionartwith vector size 1536, Cosine distance).
- Ensure Qdrant is running at
-
Configure Google Drive
- Set the folder ID in the
Get foldernode (contains all product/policy documents). - Ensure the
Download Filesnode can access the drive (authenticate with OAuth2).
- Set the folder ID in the
-
Set up OpenAI embeddings
- Add your OpenAI API key in the
Embeddings OpenAIandEmbeddings OpenAI2nodes. - Same for
OpenAI Chat Model1(or switch to the existingGoogle Gemini Chat Modelwith proper credentials).
- Add your OpenAI API key in the
-
Configure WooCommerce tools
- Add WooCommerce credentials (API key, secret, store URL) in
get_productandget_many_productsnodes.
- Add WooCommerce credentials (API key, secret, store URL) in
-
Set up Gmail for human escalation
- Authenticate the
get_human_supportGmail node. - Update the recipient email (
info@n3w.itto the actual support email).
- Authenticate the
-
Adjust agent system prompt
- Review the system prompt inside the
E-Commerce Customer Support AI Agentnode β it contains the full assistant behavior, tone, and tool usage logic. - Change any store-specific details (name, address, examples).
- Review the system prompt inside the
-
Activate chat trigger
- Deploy the workflow.
- Use the webhook URL from the
When chat message receivednode to connect to javascript chatbot or any chat frontend.
-
Populate the vector store
- Click Test workflow (manual trigger) to run the ingestion branch β this will read documents from Google Drive, split them, embed them, and store them in Qdrant.
-
Set workflow to active β Change
"active": falsetotruein the JSON or via n8n UI.
π Subscribe to my new YouTube channel. Here Iβll share videos and Shorts with practical tutorials and FREE templates for n8n.
Need help customizing?
Contact me for consulting and support or add me on Linkedin.
π Nodes Used
HTTP Request, Google Drive, AI Agent, Embeddings OpenAI, OpenAI Chat Model, Simple Memory
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File
