Ai-powered chart generation from web data with GPT-4o and WordPress upload
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 10 nodes and runs when another workflow calls it (plus 1 other trigger). Along the way it connects OpenAI Chat Model and OpenAI.
How it runs
Trigger: When another workflow calls it (plus 1 other trigger).
- Message a model (OpenAI): uses OpenAI
- Generate Chart AI agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Think); output parser: QuickChart Object Schema
- Create QuickChart (HTTP Request): calls an HTTP API (POST)
- Upload image (HTTP Request): calls an HTTP API (POST)
- Code: runs custom JavaScript code
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Generate Chart AI agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Generate Chart AI agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Manual Trigger
n8n-nodes-base.manualTrigger - OpenAI
@n8n/n8n-nodes-langchain.openAi - Think Tool
@n8n/n8n-nodes-langchain.toolThink - Code
n8n-nodes-base.code
From the author
AI-Powered Chart Generation from Web Data This n8n workflow automates the process of: 1. Scraping real-time data from the web using GPT-4o with browsing capability 2. Converting markdown tables into Chart.js-compatible JSON 3. Rendering the chart using…