Give your chat users instant charts on request. A built in agent turns plain text questions into clean images you can drop into marketing updates and meeting notes. Great for teams that need quick visuals without opening a dashboard.
A chat message starts the flow and routes into an AI agent. The agent uses an OpenAI chat model with short term memory to keep context. When a chart is needed, it triggers a tool with a simple input called query. That tool runs a sub flow that sends a structured request to OpenAI to create a Chart.js style JSON. A Set node then turns that JSON into a quickchart link with width 200 and sends the URL back. The agent replies in the chat with the image so the chart appears inline.
You need an OpenAI API key and n8n access. Quickchart links work without an account. Teams often cut ad hoc report prep from about 30 minutes to about 1 minute per request. Common uses include campaign snapshots, weekly sales summaries, and quick status visuals for standups. Start by importing the template, add your OpenAI key, test with a simple prompt like bar chart of top 5 movies, and adjust width if your chat UI needs a different size.