Skip to main content

Automated stock analysis reports with technical & news sentiment using GPT-4o

Workflow preview

Workflow preview
100%
Automated stock analysis reports with technical & news sentiment using GPT-4o preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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...

Best for

  • Crypto Trading automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.html, n8n-nodes-base.emailsend, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Elay Guez.

Original n8n.io source

1.1 Workflow description

Title
Automated stock analysis reports with technical & news sentiment using GPT-4o
Workflow name
Automated stock analysis reports with technical & news sentiment using GPT-4o

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:

  1. Import this template into your n8n instance.
  2. Add your API keys under credentials.
  3. 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).
  4. Activate the workflow.
  5. Fill in the Form.
  6. 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.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Window Buffer Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 2 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 3 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 7 - GPT 4o

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 8 - Generate HTML

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 9 - Send Stock Analysis

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 10 - Adjust HTML Colors

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Think

Type / Role
@n8n/n8n-nodes-langchain.toolThink - toolThink
Config choices
Version 1

Block 12 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Generate Variables For API

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Set Variables

Type / Role
n8n-nodes-base.set - set
Config choices
Version 2

Block 15 - Get News Data

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 16 - Analyse API Input

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 17 - Workflow Input Trigger

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 18 - Download Chart

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 19 - Get Chart URL

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 20 - Get Price History

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 21 - Get Bollinger Bands

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 22 - Get MACD

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 23 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.1

Block 24 - Calculate Support Resistance

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Showing the first 24 of 45 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Automated stock analysis reports with technical & news sentiment using GPT-4o
Complexity advanced
Nodes 45
Categories Crypto Trading, AI Summarization
Author Elay Guez
Published 29 Apr 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3790/3790.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automated stock analysis reports with technical & news sentiment using GPT-4o do?

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...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading, AI Summarization use case.