Automated stock analysis reports with technical & news sentiment using GPT-4o
Needs changesWhat this workflow does
This AI workflow has 33 nodes and runs when someone submits an n8n form (“Advance Stock Analysis”) (plus 2 other triggers). Along the way it connects OpenAI Chat Model and OpenAI. It also calls api.chart-img.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Advance Stock Analysis”) (plus 2 other triggers).
- AI Agent: runs an AI agent, with model: GPT 4o; 3 tools (Think, Trends Analysis Tool, Technical Analysis Tool); memory: Window Buffer Memory; output parser: Structured Output Parser
- Generate Variables For API (Code): runs custom JavaScript code
- Set Stock Symbol and API Key (Edit Fields (Set)): sets 2 fields: ticker, TwelveData_API_Key
- Refine Text (OpenAI): uses OpenAI
- Set Variables (Edit Fields (Set)): sets or maps fields
- Get Chart URL (HTTP Request): calls api.chart-img.com (POST)
- Get Price History (HTTP Request): calls an HTTP API
- Get Bollinger Bands (HTTP Request): calls an HTTP API
- Get MACD (HTTP Request): calls an HTTP API
- Generate HTML (HTML): parses or builds HTML
…plus 14 more steps. See the full node list below.
Services it uses
HTTP calls to: api.chart-img.com
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 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.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) 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 (16)
- Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - HTML
n8n-nodes-base.html - Send Email
n8n-nodes-base.emailSend - Code
n8n-nodes-base.code - Think Tool
@n8n/n8n-nodes-langchain.toolThink - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Merge
n8n-nodes-base.merge - OpenAI
@n8n/n8n-nodes-langchain.openAi - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - n8n Form Trigger
n8n-nodes-base.formTrigger
From the author
Stock Analysis Agent (Hebrew, RTL, GPT-4o) Overview Get comprehensive stock analysis with this AI-powered workflow that provides actionable insights for your investment decisions. On a weekly basis, this workflow: - Analyzes stock data from multiple sources…