✨📊Multi-AI Agent Chatbot for Postgres/Supabase DB and QuickCharts + Tool Router

Automated workflow: ✨📊Multi-AI Agent Chatbot for Postgres/Supabase DB and QuickCharts + Tool Router. This workflow integrates 13 different services: postgresTool, stickyNote, httpRequest, agent, outputParserStructured. It contains 45 nodes and follows best practices for error handling and security.

Workflow Structure (19 nodes)
100%
No Op
When chat message received
No Op
gpt-4o-mini
No Op
Postgres Chat Memory
No Op
🤖Primary Agent
No Op
query_db_tool
No Op
generate_quickchart_tool
Execute Workflow Trigger
When Executed by Another Workflow
Switch
🔀Tool Agent Router
No Op
gpt-4o-mini-2
No Op
gpt-40-mini-1
No Op
🤖Secondary QuickChart Agent
Postgres Tool
Execute SQL Query
No Op
QuickChart Object Schema
No Op
🤖Secondary Postgres Agent
Set
QuickChart GET URL
Postgres Tool
DB Schema and Tables
Http Request
Create QuickChart
Postgres Tool
Table Definitions
Set
Final QuickChart URL
Node Types:
default
action
trigger
http
logic
transform
Requires credentials

Prerequisites

Required Credentials (2)

OpenAI

Used by: gpt-4o-mini, gpt-4o-mini-2 +1 more

Docs

Postgres

Used by: Execute SQL Query, Table Definitions +2 more

Docs

Complexity

Complex

Advanced features used. Requires n8n experience.

Setup time: ~35 min
Score: 58/100
Conditional Logic
4 Integrations

When to Use This Workflow

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Time Savings

Replace repetitive manual tasks with reliable automation.

Reclaim hours every week for higher-value work.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "id": "Q63cSgFlcqz291ec",
  "meta": {
    "instanceId": "workflow-e620715c",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:46.423906",
    "updatedAt": "2025-09-29T07:07:46.423941",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "name": "✨📊Multi-AI Agent Chatbot for Postgres/Supabase DB and QuickCharts + Tool Router",
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
...

Workflow Details

Nodes
40
Trigger
Event
Source
community
Added
Sep 29, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Agent Workflow

Automated workflow: Agent Workflow. This workflow integrates 97 different services: vectorStoreInMemory, if, gumroadTrig...

Bitly
Dropbox
Gmail
Google-calendar
113 nodesEvent

API Schema Extractor

Stage 1 - Research for API Documentation - Fetch a list of services pending research from Database (Google Sheet) - Uses...

Http-request
Textsplitterrecursivecharactertextsplitter
Documentdefaultdataloader
Executeworkflow
88 nodesEvent
Curated

KB Tool - Confluence Knowledge Base

![n8n](https://i.imgur.com/lKnBNnH.png) Receive Query from Parent Workflow This node receives input from the AI Agent i...

Executeworkflow
Http-request
7 nodesEvent
Curated

get_a_web_page

Send URL got Crawl This can be reused by Ai Agents and any Workspace to crawl a site. All that Workspace has to do is se...

Executeworkflow
Http-request
4 nodesEvent
Curated

Zoom AI Meeting Assistant

Sub workflow: Create Task in ClickUp

Lmchatopenai
Zoom
Http-request
Openai
24 nodesEvent
Curated

Visualize your SQL Agent queries with OpenAI and Quickchart.io

Overview - This workflow aims to provide data visualization capabilities to a native SQL Agent. - Together, they can hel...

Lmchatopenai
Executeworkflow
Http-request
Chat
19 nodesEvent
Curated