What it does
An n8n workflow that adds charts to a SQL Agent. It extracts the user's question, queries the database, decides whether a chart helps, and if so asks OpenAI for a chart definition and builds the image through a QuickChart.io URL.
Use cases
- 01Ask a database a question in plain language
- 02Return a chart alongside the SQL answer when it helps
- 03Share quick visual answers from a team dataset
Connects
HTTP Request · AI Agent · OpenAI Chat Model · Simple Memory · Text Classifier · Information Extractor