AI-Powered RAG Document Processing & Chatbot with Google Drive, Supabase, OpenAI
n8n template #4551Summary
Use templateWho is this for? This workflow is perfect for: Businesses and teams who need an automated solution to organize, analyze, and retrieve insights from their internal documents. Researchers who want to quickly analyze and query large collections of research papers, reports, or datasets. Customer support teams looking to streamline access to product documentation and support resources. Legal and compliance professionals needing to reference and query legal documents with confidence. AI enthusiasts and developers wanting to implement Retrieval-Augmented Generation (RAG) systems without starting from scratch. What problem is this workflow solving? Manually organizing, processing, and searching thro
How to set it up
- Open template #4551 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
- Create 6 credentials under Credentials → Add credential: Google Drive, Embeddings OpenAI, OpenAI Chat Model, Character Text Splitter, Supabase Vector Store, Google Gemini Chat Model. Then open each of those nodes and pick the credential.
- Check the model in the AI Agent node. The template may point at a model your account can't use; swap it for one you have access to.
- Click Execute workflow and step through each node's output to confirm the data looks right.
- Toggle the workflow to Active so its trigger runs on its own.
Hand off to your agent
Prompt
Help me set up the n8n workflow "AI-Powered RAG Document Processing & Chatbot with Google Drive, Supabase, OpenAI" (https://n8n.io/workflows/4551). It uses: Google Drive, Code, AI Agent, Basic LLM Chain, Embeddings OpenAI, OpenAI Chat Model, Simple Memory, Structured Output Parser, Character Text Splitter, Supabase Vector Store, Default Data Loader, Google Gemini Chat Model. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Google DriveCodeAI AgentBasic LLM ChainEmbeddings OpenAIOpenAI Chat ModelSimple MemoryStructured Output ParserCharacter Text SplitterSupabase Vector StoreDefault Data LoaderGoogle Gemini Chat Model
Questions
Yes. Billy Christi published it free on n8n.io as a verified creator, and it has 11K views. It runs on n8n Cloud or a self-hosted n8n instance.
Google Drive, Embeddings OpenAI, OpenAI Chat Model, Character Text Splitter, Supabase Vector Store, Google Gemini Chat Model. The other 6 nodes are built into n8n.
Similar workflows
NameViews
- Explore n8n Nodes in a Visual Reference Library5,197
- BambooHR AI-Powered Company Policies and Benefits Chatbot3,025
- Chat with PDF docs using AI (quoting sources)95K
- 🤖 AI Powered RAG Chatbot for Your Docs + Google Drive + Gemini + Qdrant65K
- Automate sales cold calling pipeline with Apify, gpt-5.6-terra, and WhatsApp34K
- Build an AI Powered Phone Agent 📞🤖 with Retell, Google Calendar and RAG23K
- Build a Chatbot, Voice and Phone Agent with Voiceflow, Google Calendar and RAG22K
- Build an AI-Powered Tech Radar Advisor with SQL DB, RAG, and Routing Agents12K