What it does
An n8n workflow in which a main AI agent reads a plain-language question and applies query limits. A sub-agent then writes the PostgreSQL query, and the results come back as a formatted table with a capped number of rows. Conversation memory is stored in Postgres, so follow-up questions keep their context.
Use cases
- 01Ask which products sell most, in plain language
- 02Get formatted tables from a database without SQL
- 03Let non-technical staff ask questions about their data
Connects
Postgres · Telegram · AI Agent · Call n8n Workflow Tool · OpenAI · Postgres Chat Memory · OpenRouter Chat Model · Think Tool