How to Delete Supabase Vectors When Google Drive File is Deleted
Автор: Anthony Ton | AI Voice Agents
Загружено: 2025-08-08
Просмотров: 731
➡️ GET THE FULL WORKFLOW & TEMPLATES:
https://www.skool.com/anthony-ton-ai-...
Get my 0-to-100 course, direct 1-on-1 mentorship, and all my proven code, including the exact n8n workflow from this video.
➡️ BUSINESS OWNERS:
Want a custom AI agent or automation built for your business? Visit us at https://www.apexagentsystems.com to get it done for you.
—
Keep your RAG knowledge base pristine and up-to-date. In this tutorial, I'll show you how to build a crucial automation that automatically deletes vectors from your Supabase database whenever a corresponding file is deleted from Google Drive.
Using a simple but powerful n8n workflow, you can ensure your AI agent never uses outdated information—a must-have for any serious RAG application. This prevents errors, saves you from manual cleanup, and keeps your system perfectly in sync.
🤖 THE STACK WE USE (I get a kickback if you use my link):
n8n (Automate Everything): https://n8n.partnerlinks.io/35z24mh39jbp
Supabase (Vector Database): https://supabase.com/
Google Drive (File Storage): https://www.google.com/drive/
Vapi (Deploy AI Voice Agents): https://vapi.ai/?aff=anthonyton
Apify (Find New Clients): https://apify.com?fpr=anthonyton
Instantly.ai (Email Clients): https://instantly.ai/?via=anthony-ton
TIMESTAMPS:
00:00 - The Goal: Syncing Google Drive & Supabase
00:16 - The Problem: Outdated Vectors from Deleted Files
01:14 - Part 1: The "File Updated" Workflow (Adding New Info)
02:17 - Part 2: The "File Deleted" Workflow (The Main Tutorial)
02:43 - How the Deletion Workflow Works (Logic Explained)
02:51 - Schedule Trigger: Running the Check Automatically
02:56 - Step 1: Get All Rows from Supabase
03:12 - Step 2: Search for All Files in Google Drive
03:17 - Step 3: Compare Datasets to Find Deleted Files
03:38 - Step 4: Delete Trashed Rows from Supabase
03:56 - Running the Deletion Workflow (Live Demo)
04:16 - Verifying the Deletion in Supabase
04:38 - Get the Full Workflow Template (Skool Community)
#n8n #Supabase #GoogleDrive #AIAutomation #RAG #VectorDatabase #Automation #NoCode
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: