πŸ“– Document-based RAG chat assistant with Google Drive, Supabase & OpenAI

⚑ 528 views Β· πŸ“– Internal Wiki & Knowledge Base

Description

What is this?

This RAG workflow allows you to build a smart chat assistant that can answer user questions based on any collection of documents you provide. It automatically imports and processes files from Google Drive, stores their content in a searchable vector database, and retrieves the most relevant information to generate accurate, context-driven responses. The workflow manages chat sessions and keeps the document database current, making it adaptable for use cases like customer support, internal knowledge bases, or HR assistant etc.

How it works

1. Chat RAG Agent

2. Data Pipeline (File Ingestion)

3. Vector Store Cleanup

4. File Management

Getting Started

Customization (optional)

This template provides a solid foundation that you can extend by:

Prerequisites

πŸ”— Nodes Used

Google Drive, Google Drive Trigger, Supabase, Schedule Trigger, AI Agent, Embeddings OpenAI

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup