Chat with Postgresql Database
Triggered manually or by an app event. Connects Postgres Tool, Stop And Error. π¨βπ€ Setup 1. Add your postgresql and OpenAI credentials. 2. Click Chat button and start asking questions to your database. 3. Activate the workflow and you can make the chat publicly available. π οΈ Tools Used: 1. Execute SQL Query: Used to execute any query generated by the agent. 2. Get DB Schema and Tables List: It ret
Front matter
name: Chat with Postgresql Database
description: Triggered manually or by an app event. Connects Postgres Tool, Stop And Error. ### π¨βπ€ Setup 1. Add your **postgresql** and **OpenAI** credentials. 2. Click **Chat** button and start asking questions to your database. 3. Activate the workflow and you can make the chat publicly available. π οΈ Tools Used: 1. Execute SQL Query: Used to execute any query generated by the agent. 2. Get DB Schema and Tables List: It returns the list of all the tables with its schema name. 3. Get Table Definition: It returns table details like column names, foreign keys and more of a particular ta
category: Automation
kind: Workflow
software: Postgres Tool|Stop And ErrorChat with Postgresql Database
Triggered manually or by an app event. Connects Postgres Tool, Stop And Error. ### π¨βπ€ Setup
- Add your postgresql and OpenAI credentials.
- Click Chat button and start asking questions to your database.
- Activate the workflow and you can make the chat publicly available. π οΈ Tools Used:
- Execute SQL Query: Used to execute any query generated by the agent.
- Get DB Schema and Tables List: It returns the list of all the tables with its schema name.
- Get Table Definition: It returns table details like column names, foreign keys and more of a particular ta
Steps
- Manual Trigger (manualTrigger)
- When chat message received (noOp)
- AI Agent (noOp)
- OpenAI Chat Model (noOp)
- Get Table Definition (postgresTool)
- Sticky Note (stickyNote)
- Chat History (noOp)
- Sticky Note3 (stickyNote)
- Sticky Note1 (stickyNote)
- Sticky Note2 (stickyNote)
- Execute SQL Query (postgresTool)
- Get DB Schema and Tables List (postgresTool)
- Error Handler (stopAndError)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
- AI Agent to chat with you Search Console Data, using OpenAI and Postgres
- β¨πMulti-AI Agent Chatbot for Postgres/Supabase DB and QuickCharts + Tool Router
- spy tool
- modelo do chatbot
- ERP AI chatbot for Odoo sales module
- Stickynote Workflow: ChatGPT, PostgreSQL and n8n (n8n workflow collection) (Postgrestool) (1811)
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.