Block 1 - Question and Answer Chain
- Type / Role
- @n8n/n8n-nodes-langchain.chainRetrievalQa - chainRetrievalQa
- Config choices
- Version 1.5
This workflow is provided as-is. Please review and test before using in production.
This workflow integrates a Retrieval Augmented Generation (RAG) system with a post sales AI agent for WooCommerce . It combines vector based search (Qdrant + OpenAI embeddings) with LLMs (Google Ge...
@n8n/n8n-nodes-langchain.chainretrievalqa, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.retrievervectorstore, @n8n/n8n-nodes-langchain.vectorstoreqdrant, @n8n/n8n-nodes-langchain.embeddingsopenai, n8n-nodes-base.webhook, n8n-nodes-base.woocommercetool, @n8n/n8n-nodes-langchain.toolcalculator
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Davide.
Original n8n.io sourceThis workflow integrates a Retrieval-Augmented Generation (RAG) system with a post-sales AI agent for WooCommerce. It combines vector-based search (Qdrant + OpenAI embeddings) with LLMs (Google Gemini and GPT-4o-mini) to provide accurate and contextual responses.
Both systems are connected to VAPI webhooks, making the workflow usable in a voice AI assistant via Twilio phone numbers.
The workflow receives JSON payloads from VAPI via webhooks, processes the request through the appropriate chain (Agent or RAG), and sends a structured response back to VAPI to be read out to the user.
It has two main components:
RAG System (Knowledge Retrieval & Q&A)
Post-Sales Customer Support Agent
Acts as a WooCommerce virtual assistant to:
get_order, get_orders).get_user).get_tracking) using YITH WooCommerce Order Tracking plugin.Enforces strict verification rules: customer email must match the order before disclosing details.
Communicates professionally, providing clear and secure customer support.
Integrates with GPT-4o-mini for natural conversation flow.
To implement this workflow, follow these three main steps:
1. Infrastructure & Credentials Setup in n8n:
GPT 4o-mini and Embeddings OpenAI nodes.Google Gemini Chat Model node.Qdrant Vector Store1 node (points to a Hetzner server).get_order, get_orders, and get_user nodes (for magnanigioielli.com).Get tracking node in the sub-workflow.2. Workflow Activation in n8n:
Webhook (post-sales agent) and rag (RAG system) nodes. You will need these URLs for the next step.3. VAPI Configuration:
Webhook URL. Configure the request body to send parameters email and n_order based on the conversation with the user.rag webhook URL. Configure the request body to send a search parameter containing the user's query.Contact me for consulting and support or add me on Linkedin.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 25 workflow blocks. Download the JSON for the full node graph.
| Workflow | Voice AI customer support for WooCommerce using VAPI, GPT-4o & Gemini with RAG |
|---|---|
| Complexity | advanced |
| Nodes | 25 |
| Categories | Support Chatbot, AI RAG |
| Author | Davide |
| Published | 11 Sept 2025 |
Use the JSON export at /data/workflows/8488/8488.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This workflow integrates a Retrieval Augmented Generation (RAG) system with a post sales AI agent for WooCommerce . It combines vector based search (Qdrant + OpenAI embeddings) with LLMs (Google Ge...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI RAG use case.