AcademyWorkflowsData and reporting

AI Agent to Chat with a Supabase or PostgreSQL Database

Data analysts and business owners who want to query a database in plain language.

  • Recommendedour rating
  • 16,571views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

ai-agent-to-chat-with-supabase-postgresql-db.json

Loading the file...

What it does

An n8n workflow that connects an OpenAI-powered agent to a Supabase database. The agent builds SQL queries from your questions, reads table structures, parses JSON fields and returns records, summaries or aggregations without you writing SQL.

Use cases

  1. 01Ask for totals and counts from a table
  2. 02Summarize JSON data stored in records
  3. 03Explore a database schema in conversation

Connects

AI Agent · OpenAI Chat Model

Questions about
AI Agent to Chat with a Supabase or PostgreSQL Database.

What is AI Agent to Chat with a Supabase or PostgreSQL Database used for?

Data analysts and business owners who want to query a database in plain language. An n8n workflow that connects an OpenAI-powered agent to a Supabase database. The agent builds SQL queries from your questions, reads table structures, parses JSON fields and returns records, summaries or aggregations without you writing SQL.

How do I import AI Agent to Chat with a Supabase or PostgreSQL Database into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is AI Agent to Chat with a Supabase or PostgreSQL Database safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.