Automated Stock Analysis Reports with Technical & News Sentiment using GPT-4o

Go to Workflow
36,976 views
Built by Elay Guez Elay Guez
Created on June 06, 2026

Description

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 (Chart-img, Twelve Data API, Alphavantage)
Performs technical analysis using advanced indicators (RSI, MACD, Bollinger Bands, Resistance and Support Levels)
Scans financial news from Alpha Vantage to capture market sentiment
Uses OpenAI's GPT-4o to identify patterns, trends, and trading opportunities
Generates a fully styled, responsive HTML email (with proper RTL layout) in Hebrew
Sends detailed recommendations directly to your inbox

Perfect for investors, traders, and financial analysts who want data-driven stock insights - combining technical indicators with news sentiment for more informed decisions.

Setup Instructions

Estimated setup time:
15 minutes

Required credentials:
OpenAI API Key
Chart-img API Key (free tier)
Twelve Data API Key (free tier)
Alpha Vantage API Key (free tier)
SMTP credentials (for email delivery)

Steps:

Import this template into your n8n instance.
Add your API keys under credentials.
Configure the SMTP Email node with: Host (e.g., smtp.gmail.com), Port (465 or 587), Username (your email), Password (app-specific password or login).
Activate the workflow.
Fill in the Form.
Enjoy! (Check your Spam mailbox)

Customization Tips

Modify the analysis timeframe (daily, weekly, monthly)
Add integrations with trading platforms or portfolio management tools
Adjust the recommendation criteria based on your risk tolerance

Why Use This?
This is more than just stock data. It's an intelligent financial assistant that combines technical analysis with market sentiment to provide actionable recommendations - automatically.

Important Note:
This report is being generated automatically and does not constitute an investment recommendation. Please consult a licensed investment advisor before making any investment decisions.

Nodes Used (11)

AI Agent
@n8n/n8n-nodes-langchain.agent
Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow
Code
n8n-nodes-base.code
HTML
n8n-nodes-base.html
HTTP Request
n8n-nodes-base.httpRequest
OpenAI
@n8n/n8n-nodes-langchain.openAi
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Send Email
n8n-nodes-base.emailSend
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
Think Tool
@n8n/n8n-nodes-langchain.toolThink