Skip to content
FlowHubFluxonLab
A
AI Automationfree

AI Agent with charts capabilities using OpenAI Structured Output and Quickchart

by Agent Studioadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentCall n8n Workflow ToolCall n8n Workflow ToolHTTP RequestHTTP RequestOpenAI Chat ModelOpenAI Chat ModelSSimple Memory
Share Post Share
OpenAI Chat ModelOpenAI Chat Mod…MBWindow Buffer MemoryWindow Buffer M…TWGenerate a chartEWExecute "Generate a chart" toolExecute "Genera…HROpenAI - Generate Chart definition with Structured OutputOpenAI - Genera…SeSet responseAgAI AgentChWhen chat message receivedWhen chat messa…1234
1/5
FLOWS
STEPS · 4
Starts from a chat message

This workflow is an experiment to integrate charts in AI Agents, using the new Structured Output from OpenAI and Quickchart.io. How it works Users chat with an AI Agent. Anytime the AI Agent considers a chart is needed, it calls a tool to generate a chart OpenAI generates a chart using the Quickchart definition This object is added at the end of a Quickchart.io URL (see documentation) The url is added in the conversation via the AI Agent as markdown. Set up steps Create an OpenAI API Key Create the OpenAI credentials Use the credentials for the HTTP Request node (as Predefined Credential type) Activate your workflow Start chatting For example, you can ask the AI Agent to generate a chart about the top 5 movies at the box office Start exploring the limits Shout-out Quickchart.io is an amazing open source project that provides a free API to test. Go check them out!

Tags

n8nreference-onlyagentlm-chat-open-aimemory-buffer-windowtool-workflow
Connects
AAI Agentcalln8nworkflowtoolCall n8n Workflow ToolWHTTP RequestopenaichatmodelOpenAI Chat ModelSSimple Memory
CategoryAI Automation
Triggermanual
Complexitymedium
Nodes8
AddedSep 4, 2024

Related workflows

See all AI Automation
AopenaichatmodelserpapigooglesearchS
free

AI chatbot that can search the web

This workflow is designed for dynamic and intelligent conversational capabilities. It incorporates OpenAI's GPT-4o model for natural language understanding and generation. Additional tools include SerpAPI and Wikipedia for enriched, data-driven responses. The workflow is triggered manually, and utilizes a 'Window Buffer Memory' to maintain the context of the last 20 interactions for better conversational continuity. All these components are orchestrated through n8n nodes, ensuring seamless interconnectivity. To use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team
AopenaichatmodelserpapigooglesearchS
free

AI agent chat

This workflow employs OpenAI's language models and SerpAPI to create a responsive, intelligent conversational agent. It comes equipped with manual chat triggers and memory buffer capabilities to ensure seamless interactions. To use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team
AopenaichatmodelserpapigooglesearchS
free

Slack chatbot powered by AI

This workflow offers an effective way to handle a chatbot's functionality, making use of multiple tools for information retrieval, conversation context storage, and message sending. It's a setup tailored for a Slack environment, aiming to offer an interactive, AI-driven chatbot experience. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team