Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Visualize your SQL Agent queries with OpenAI and Quickchart.io

n8n template #2559
Overview This workflow aims to provide data visualization capabilities to a native SQL Agent. Together, they can help foster data analysis and data visualization within a team. It uses the native SQL Agent that works well and adds visualization capabilities thanks to OpenAI’s Structured Output and Quickchart.io. How it works Information Extraction: The Information Extractor identifies and extracts the user's question. If the question includes a visualization aspect, the SQL Agent alone may not respond accurately. SQL Querying: It leverages a regular SQL Agent: it connects to a database, queries it, and translates the response into a human-readable format. Chart Decision: The Text Classifier

How to set it up

  1. Open template #2559 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create a credential under Credentials → Add credential: OpenAI Chat Model. Then open each of those nodes and pick the credential.
  3. Check the model in the AI Agent node. The template may point at a model your account can't use; swap it for one you have access to.
  4. Click Execute workflow and step through each node's output to confirm the data looks right.
  5. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "Visualize your SQL Agent queries with OpenAI and Quickchart.io" (https://n8n.io/workflows/2559). It uses: HTTP Request, AI Agent, OpenAI Chat Model, Simple Memory, Text Classifier, Information Extractor. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. Agent Studio published it free on n8n.io as a verified creator, and it has 14K views. It runs on n8n Cloud or a self-hosted n8n instance.

OpenAI Chat Model. The other 5 nodes are built into n8n.

Similar workflows

NameViews
  1. Explore n8n Nodes in a Visual Reference Library5,197
  2. Advanced AI Demo (Presented at AI Developers #14 meetup)24K
  3. Personal Shopper Chatbot for WooCommerce with RAG using Google Drive and openAI12K
  4. Scale Deal Flow with a Pitch Deck AI Vision, Chatbot and QDrant Vector Store6,822
  5. BambooHR AI-Powered Company Policies and Benefits Chatbot3,025
  6. Building Your First WhatsApp Chatbot332K
  7. Build Your First AI Data Analyst Chatbot134K
  8. Create a Branded AI-Powered Website Chatbot88K