RAG Knowledge-Base AI Assistant
Problem
Company knowledge lives in documents spread across Google Drive. Answering a simple question means searching files by hand, a generic AI chatbot doesn't know the company's own information, and any copy of the documents quickly goes out of date.
Approach
One n8n workflow with four parts. When a file is created in Google Drive, it's downloaded, prepared in a Code step and stored in a Supabase vector store; a Default Data Loader splits it into chunks and Ollama (nomic-embed-text) creates the embeddings. When a file is updated, its old rows are deleted from Supabase first and the new version is stored again. When a file is deleted, its rows are removed. In the chat, an AI Agent running on an OpenRouter chat model uses the Supabase vector store as a tool to find the right chunks before answering.
Outcome
An AI chat assistant that answers questions from the company's own documents, and stays in sync automatically as files are added, edited or deleted in Google Drive.
Tools used
Illustrative savings
Estimate what this workflow could save you. Change the three numbers to match your business. The results update as you type. This is a rough guide, not a client result.
Hours saved / month
33.3
Saved / month
$500
200 questions answered × 10 min ÷ 60 = 33.3 h × $15 = $500
Illustrative replay with sample data. No real workflows are executed.
Ready
Execution log
0 entries
Press "Execute workflow" to start the replay.
Live results
0 of 3 app updates
Want this running in your business?
Book a call about the RAG Knowledge-Base AI Assistant. I'll adapt it to your tools and the way your team works.