Intelligent AI agent answering customer questions from WooCommerce knowledge base
Workflow Description
Automation that combines OpenAI's advanced model with retrieval-augmented generation (RAG) to deliver instant, contextual answers to customer inquiries based on your WooCommerce store data, while maintaining conversation history and memory throughout each session.
How it works
- 1.Trigger the agent via chat interface to receive incoming customer inquiries
- 2.Search the stored knowledge base in Qdrant vector database for relevant product information
- 3.Call OpenAI to generate intelligent responses based on retrieved data
- 4.Maintain conversation context through memory buffer for consistent multi-turn dialogues
Use cases
- Automatically answer product, pricing, and shipping questions without manual intervention
- Generate smart product recommendations tailored to customer questions
- Publish customer service responses to X/Twitter for public engagement
Requirements
- Valid OpenAI API key with sufficient quota
- Active WooCommerce connection with up-to-date product database
- OpenAI embedding model to convert text into searchable vectors
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (25)
When chat message received
Chat Trigger
Window Buffer Memory
Memory Buffer Window
Calculator
Tool Calculator
Edit Fields
Set
OpenAI Chat Model
OpenAI
RAG
Tool Vector Store
Qdrant Vector Store
Vector Store Qdrant
Embeddings OpenAI
OpenAI
OpenAI Chat Model1
OpenAI
personal_shopper
Woo Commerce Tool
Information Extractor
Information Extractor
OpenAI Chat Model2
OpenAI
Google Drive2
Google Drive
Google Drive1
Google Drive
Embeddings OpenAI3
OpenAI
Default Data Loader2
Document Default Data Loader
Token Splitter1
Text Splitter Token Splitter
When clicking ‘Test workflow’
Manual Trigger
HTTP Request
HTTP Request
Sticky Note
Sticky Note
Qdrant Vector Store1
Vector Store Qdrant
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
AI Agent
Agent