Connect Google Drive with Supabase
Workflow Description
Automation template connecting Google Drive documents with Supabase, loading files, splitting content into text chunks, generating embeddings via OpenAI, and storing them in a vector store for intelligent search and Q&A functionality through a chat interface.
How it works
- 1.Automatically load documents from Google Drive
- 2.Split text content into manageable chunks
- 3.Generate embeddings using OpenAI model
- 4.Store vectors in Supabase vector database
- 5.Retrieve relevant documents based on queries
- 6.Answer questions using OpenAI language model
Use cases
- Build an intelligent search engine for corporate documents
- Create an automated customer FAQ and support system
- Analyze and summarize business documents efficiently
Requirements
- Active Google Cloud account with Google Drive access permissions
- Supabase project with API key and vector store setup
- OpenAI API key for embeddings and language models
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (21)
Google Drive
Google Drive
Default Data Loader
Document Default Data Loader
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Question and Answer Chain
Chain Retrieval Qa
OpenAI Chat Model
OpenAI
Vector Store Retriever
Retriever Vector Store
Recursive Character Text Splitter1
Text Splitter Recursive Character Text Splitter
Customize Response
Set
When chat message received
Chat Trigger
Retrieve by Query
Vector Store Supabase
Embeddings OpenAI Retrieval
OpenAI
Embeddings OpenAI Insertion
OpenAI
Placeholder (File/Content to Upsert)
Set
Embeddings OpenAI Upserting
OpenAI
Insert Documents
Vector Store Supabase
Retrieve Rows from Table
Supabase
Sticky Note4
Sticky Note
Update Documents
Vector Store Supabase