Multi AI Agent Chatbot for Postgres/Supabase DB and QuickCharts + Tool Router
detail.loadingPreview
A workflow that uses multiple AI agents to chat with users, query a Postgres/Supabase database, and generate charts with QuickChart.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow orchestrates a multi-AI agent system designed to interact with users, query a PostgreSQL or Supabase database, and generate visualizations using QuickChart. It leverages a tool router pattern where different AI agents are responsible for specific tasks: a primary manager agent, a secondary agent for database queries, and another for chart generation. The workflow processes user input, routes it to the appropriate AI agent, executes SQL queries if needed, and creates chart configurations.
Key Features
- Multiple AI agents for specialized tasks (management, database querying, chart generation).
- Integration with PostgreSQL/Supabase databases for data retrieval.
- Dynamic chart generation using the QuickChart service.
- Tool router pattern for efficient task delegation to AI agents.
- Supports fetching and processing chat messages.
How To Use
- Import this workflow into your n8n instance.
- Configure the 'Postgres account' credentials for your database connection.
- Set up the 'OpenAi account' credentials for the AI models.
- Configure the environment variables, particularly
BASE_URLfor QuickChart. - Trigger the workflow by sending a chat message to the webhook configured in the 'When chat message received' node.
Apps Used
Workflow JSON
{
"id": "733d0e9e-8a56-404b-8111-db4bc5e9357f",
"name": "Multi AI Agent Chatbot for Postgres/Supabase DB and QuickCharts + Tool Router",
"nodes": 0,
"category": "AI & LLM",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 733d0e9e-8a56...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Automate YouTube Video Summaries with AI & n8n
Instantly summarize YouTube videos using n8n and Langchain. Save hours by transforming lengthy content into concise insights. Get actionable summaries.
Automate Telegram Image Analysis with OpenAI & Instant Responses
Instantly analyze images sent via Telegram using n8n and OpenAI. Get automated responses, streamling moderation & content categorization. Save hours weekly!
Automated Semantic Web Search & Result Re-Ranking
Boosts research efficiency with AI-powered semantic search and intelligent result re-ranking. Get precise answers by refining web queries.
Auto-Extract & Clean YouTube Video Transcripts with n8n
Effortlessly pull and refine YouTube video transcripts. Automate content analysis, SEO research, and more with this n8n template.
Build HR & IT Helpdesk Chatbot with Audio Transcription & RAG
Automate your HR & IT support with an n8n chatbot. Transcribe voice messages, retrieve policies via RAG from PostgreSQL, and get instant answers.
AI Crypto Analyst: CoinMarketCap Data & Telegram Insights Bot
Unlock real-time crypto market intelligence with an AI agent that analyzes CoinMarketCap data and delivers insights via Telegram. Integrates CEX & DEX data.