Answer voice queries from a webhook over Google Drive docs using GPT-4o-mini and Supabase
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects Google Drive, Embeddings OpenAI, Supabase Vector Store and OpenAI Chat Model. It also calls googleapis.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- RAG – Antwort generieren (AI Agent): runs an AI agent, with model: GPT-4o-mini; 1 tool (Supabase – Wissensdatenbank)
- Google Drive – Dateien auflisten (HTTP Request): calls googleapis.com
- Webhook – Antwort zurückgeben (Respond to Webhook): sends the response back to the webhook caller
- Loop – Jede Datei (Loop Over Items (Split in Batches)): loops over the items in batches
- Supabase – Chunks speichern (Supabase Vector Store): stores documents in the Supabase vector store, with embeddings: OpenAI Embeddings – Indexierung; document loader: Text Loader
- Datei-IDs extrahieren (Code): runs custom JavaScript code
- Google Drive: download
Services it uses
Other OpenAI + Google Drive templates (628) · Other OpenAI + Supabase templates (149) · Other Google Drive + Supabase templates (67)
HTTP calls to: googleapis.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (13)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Google Drive
n8n-nodes-base.googleDrive - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Supabase Vector Store
@n8n/n8n-nodes-langchain.vectorStoreSupabase - Webhook
n8n-nodes-base.webhook - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview Placetel AI – RAG Voice Assistant with Google Drive & Supabase How it works 1. Runs on a daily schedule at 02:00 or via manual start to reindex documents. 2. Lists files from a specified Google Drive folder and iterates through each file. 3.…