AcademyWorkflowsData and reporting

SQL Agent Charts with OpenAI and QuickChart

Data and analytics teams that want colleagues to ask questions of a database and get answers with charts.

  • Recommendedour rating
  • 14,128views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

visualize-your-sql-agent-queries-with-openai-and-quickchart-io.json

Loading the file...

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

  1. 01Ask a database a question in plain language
  2. 02Return a chart alongside the SQL answer when it helps
  3. 03Share quick visual answers from a team dataset

Connects

HTTP Request · AI Agent · OpenAI Chat Model · Simple Memory · Text Classifier · Information Extractor

Questions about
SQL Agent Charts with OpenAI and QuickChart.

What is SQL Agent Charts with OpenAI and QuickChart used for?

Data and analytics teams that want colleagues to ask questions of a database and get answers with charts. 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.

How do I import SQL Agent Charts with OpenAI and QuickChart into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is SQL Agent Charts with OpenAI and QuickChart safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.