Smarter RAG Agents: Enriched Retrieval & Modular AI Workflows
Build production-ready RAG agents with query understanding, semantic metadata enrichment, and free-tier tools like Gemini, Gemma, and Supabase for smart AI assistants.
This n8n workflow provides an extendable RAG (Retrieval-Augmented Generation) template for creating powerful, explainable AI assistants. It handles file ingestion by uploading PDFs, extracting and chunking text, then embedding and storing in Supabase vector store using Google Gemini. Asynchronous enrichment adds LLM-generated metadata like topics, use cases, risks, audience level, and summaries to chunks, enabling filterable, metadata-based search.
The agent chat pipeline processes user queries
Platform
n8n
Category
Marketing
Price
$24.99
Creator
Jose Maurino
RAG
AI Agent
Retrieval Augmented Generation
Vector Database
Supabase
Google Gemini
Gemma
Cohere Reranking
Chat Memory
Async Enrichment
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.