Templates / Generate AI stock reports w/ fundamental, technical, & news analysis (Free APIs)

Generate AI stock reports w/ fundamental, technical, & news analysis (Free APIs)

Needs changes

by Deven G · 5,296 views · created 2025-12-13 · Crypto Trading, AI RAG

Needs 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 58 nodes and runs on a schedule (every week at 06:00) (plus 2 other triggers). Along the way it connects Google Gemini Chat Model and OpenAI. It also calls paper-api.alpaca.markets and api.chart-img.com over HTTP.

How it runs

Trigger: On a schedule (every week at 06:00) (plus 2 other triggers).

  1. Stock List (Edit Fields (Set)): sets 1 field: tickers
  2. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; 4 tools (Think, Trends Analysis Tool, Technical Analysis Tool, Fundamental Analysis Tool); memory: Window Buffer Memory; output parser: Structured Output Parser
  3. Set Ticker for AI Agent (Edit Fields (Set)): sets 1 field: body.ticker
  4. Split Out: splits a list into separate items
  5. Buy? (If): checks a condition and branches into true / false
  6. Generate HTML (HTML): parses or builds HTML
  7. Execute Workflow (Execute Sub-workflow): calls another n8n workflow
  8. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  9. Buy in Alpaca (HTTP Request): calls paper-api.alpaca.markets (POST)
  10. Adjust HTML Colors (Code): runs custom JavaScript code

…plus 38 more steps. See the full node list below.

Services it uses

Google Gemini Chat ModelOpenAI

HTTP calls to: paper-api.alpaca.markets, 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.0Replace 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 (22)

From the author

This template deploys a multi-agent system that fully automates advanced stock analysis. It uses a central AI orchestrator to call specialized sub-workflows, synthesizing technical, fundamental, and news sentiment data into a single, actionable report…

Excerpt from Deven G's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.