Skip to content
AI Agents

Extract Google Drive Documents and Build an Intelligent Knowledge Base in Supabase

7 nodes 575 200 Automatic trigger
Download

Loading workflow…

Workflow Description

This automation retrieves documents from Google Drive, splits content into manageable text chunks, generates AI-powered embeddings via OpenAI, and stores them in Supabase for precise retrieval through a chat interface.

How it works

  1. 1.Monitor Google Drive folders and automatically extract new documents
  2. 2.Split document content into coherent text segments using recursive character splitter
  3. 3.Generate intelligent embeddings for segments via OpenAI and store in Supabase Vector Store
  4. 4.Answer user queries through a chat interface based on the stored knowledge base

Use cases

  • Create an intelligent assistant that answers employee questions based on company documents stored in Google Drive
  • Automate extraction from contracts and reports, converting them into a searchable knowledge base

Requirements

  • Google Drive account with documents to be processed
  • OpenAI API key for generating embeddings and answering queries
  • Supabase database configured to store intelligent embeddings

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

LLM Chain OpenAI Vector Store Set Chat Trigger

Details

Trigger Automatic trigger
Nodes 7
Apps 5
Views 575
Downloads 200

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (7)

/

Sticky Note

Sticky Note

#1

Sticky Note1

Sticky Note

#2

Sticky Note2

Sticky Note

#3

Sticky Note3

Sticky Note

#4

Question and Answer Chain

Chain Retrieval Qa

#5

OpenAI Chat Model

OpenAI

#6

Vector Store Retriever

Retriever Vector Store

#7

Customize Response

Set

#8

When chat message received

Chat Trigger

#9

Retrieve by Query

Vector Store Supabase

#10

Embeddings OpenAI Retrieval

OpenAI

#11

Sticky Note4

Sticky Note

#12
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime