All Projects
n8nDemo Build

RAG-Based AI Agent

A chatbot that stays in sync with your Google Drive

Supabase vector storeOpenAI embeddingsAuto-sync on create, update, delete

The Problem

Chatbots trained on company documents go out of date the moment a file changes. Someone has to re-upload everything, or the bot gives old answers.

How It Works

  1. 01Drive file changes
  2. 02Update vector store
  3. 03User asks question
  4. 04Agent searches docs
  5. 05Grounded answer

What I Built

Tools Used

n8n
OpenAI
Supabase
Google Drive

What Was Tricky

Most RAG demos only add documents. The hard part is keeping the knowledge base accurate, so updated files replace their old chunks instead of duplicating them, and deleted files disappear from the bot's answers.

Where This Fits

Internal help desksCustomer support teamsCompanies with policies or SOPs in Drive