What it does
An n8n workflow that lets you ask questions about a PostgreSQL database in plain language. An AI agent reads the schema and table definitions, writes and runs the SQL query it needs, and sends the answer back in the n8n chat.
Use cases
- 01Ask how many orders came in last week
- 02Check a customer record without writing SQL
- 03Explore which tables and fields a database has
Connects
AI Agent · OpenAI Chat Model · Simple Memory