Supabase AI Agent with RAG & Multi-Tenant CRUD Version: 1.0.0 n8n Version: 1.88.0+ Author: Koresolucoes License: MIT --- Description A stateful AI agent workflow powered by Supabase and Retrieval-Augmented Generation (RAG). Enables persistent memory, dynamic CRUD operations, and multi-tenant data isolation for AI-driven applications like customer support, task orchestration, and knowledge management. Key Features: - π§ RAG Integration: Levera
MCP Supabase server for AI agent with RAG & multi-tenant CRUD is a ready-made n8n workflow you import as a workflow JSON file β no build required. It connects OpenAI. It's free to download. Follow the 5-step import below to go live in minutes.

Supabase AI Agent with RAG & Multi-Tenant CRUD Version: 1.0.0 n8n Version: 1.88.0+ Author: Koresolucoes License: MIT --- Description A stateful AI agent workflow powered by Supabase and Retrieval-Augmented Generation (RAG). Enables persistent memory, dynamic CRUD operations, and multi-tenant data isolation for AI-driven applications like customer support, task orchestration, and knowledge management. Key Features: - π§ RAG Integration: Leverages OpenAI embeddings and Supabase vector search for context-aware responses. - ποΈ Full CRUD: Manage agentmessages, agenttasks, agentstatus, and agentknowledge in real time. - π€ Multi-Tenant Ready: Supports per-user/organization data isolation via dynamic table names and webhooks. - π Secure: Role-based access control via Supabase Row Level Security (RLS). --- Use Cases 1. Customer Support Chatbots: Persist conversation history and resolve queries using institutional knowledge. 2. Automated Task Management: Track and update task statuses dynamically. 3. Knowledge Repositories: Store and retrieve domain-specific information for AI agents. --- Instructions 1. Import Template - Go to n8n > Templates > Import from File and upload this workflow. 2. Configure Credentials - Add your Supabase and OpenAI API keys under Settings > Credentials. 3. Set Up Multi-Tenancy (Optional) - Dynamic Webhook Path: Replace the default webhook path with /mcp/tool/supabase/:userId to enable per-user routing. - Table Names: Use a Set Node to dynamically generate table names (e.g., agentmessages{{userId}}). 4. Activate & Test - Enable the workflow and send test requests to the webhook URL. --- Tags AI Agent RAG Supabase CRUD Multi-Tenant OpenAI Automation --- Screenshots --- License This template is licensed under the MIT License.
Download the workflow JSON file after purchase.
Open n8n β click the menu β Import from File.
Select the downloaded JSON and import.
Set up credentials for each node that requires them.
Click Execute Workflow to test, then activate.
Setup guide included
Purchase to unlock the full step-by-step guide
Discover business leads with Gemini, Brave Search and web scraping
Analyze Landing Page with OpenAI and Get Optimization Tips
Prevent duplicate webhook executions with AARI idempotency gate
Generate trend-based marketing videos with Seedance AI, Perplexity, and GPT
ππͺ AI agent chatbot with Jina.ai webpage scraper
Automatically update n8n version
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.