This workflow follows the Agent → Chat Trigger recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
openAiApipostgres
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
AI Agent to chat with Supabase/PostgreSQL DB. Uses chatTrigger, lmChatOpenAi, postgresTool, agent. Chat trigger; 11 nodes.
Source: https://github.com/tommyshum/n8n_template_library/blob/87d0b7db31db00fcf781424ca7d9e86f1c9a9e1b/templates/official/template_2612/workflow.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This template turns your PostgreSQL database into an AI-powered analytics assistant.
Chat with Postgresql Database. Uses chatTrigger, agent, lmChatOpenAi, postgresTool. Chat trigger; 11 nodes.
Ai Agent To Chat With Supabase Postgresql Db. Uses stickyNote, chatTrigger, lmChatOpenAi, postgresTool. Chat trigger; 11 nodes.
Postgrestool Stickynote. Uses stickyNote, chatTrigger, lmChatOpenAi, postgresTool. Chat trigger; 11 nodes.
Chat with Postgresql Database. Uses chatTrigger, agent, lmChatOpenAi, postgresTool. Chat trigger; 11 nodes.