Home/Workflows/AI Chatbot for PostgreSQL Database Queries
LibraryAI & Content Generation★ 7.0
AI Chatbot for PostgreSQL Database Queries
An n8n workflow integrating OpenAI GPT-4 with PostgreSQL to enable natural language chat-based querying. Uses Langchain agent with AI tools for schema exploration, table definition, and SQL execution to provide intelligent DB insights and responses in real-time.
▮▮▯Intermediate15 min10 nodes
$9.00
Instant access
SSL secureInstant access24h refund
Card payment via Dodo
Wise · Bank transfer
Wise emailvirginaiagency@gmail.com
Amount$9.00 USD
Referencevai-lib-ai-cha
VISA
AMEX
PayPal
Pay
GPay
✦ Built with
PostgreSQLn8nOpenAIOpenAI GPT-4LangChain
✦ Workflow at a glance
✦ What you get
In thebox.
workflow.json
Ready-to-import n8n workflow file
Setup guide
Step-by-step deployment instructions
Node documentation
What each node does + how to tune it
Sample data
Test inputs to verify it works end-to-end
Community support
Best-effort via Telegram / GitHub
Lifetime updates
New versions delivered free, forever
✦ Setup
Live inthree steps.
01
Import
Open n8n → Workflows → New from JSON. Drop in the workflow.json you received.
02
Connect
Add credentials for each tool used (OpenAI key, Slack token, etc.). All shown in the setup guide.
03
Test & activate
Run on sample data to verify the flow. Toggle the workflow to active and you're shipping.