Skip to main content

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

Workflow preview

Workflow preview
100%
Generate AI stock reports w/ fundamental, technical, & news analysis (Free APIs) preview
Open on n8n.io

Important notice

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

1. Workflow Overview

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

Best for

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

Tools used

@n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.html, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.toolthink, @n8n/n8n-nodes-langchain.toolworkflow, @n8n/n8n-nodes-langchain.lmchatgooglegemini

Source and attribution

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

Original n8n.io source

1.1 Workflow description

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

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 delivered to your inbox. All API Keys can be acquired for free!

How it Works

  • Orchestration: An AI Agent acts as the central "brain," managing the analysis pipeline. It's triggered either on a schedule for a list of stocks or manually for a single ticker.
  • Specialist Agents (Tools): The orchestrator invokes three sub-workflows as tools to gather intelligence:
    1. Technical Analysis: Fetches TA data (RSI, MACD, Bollinger Bands) and uses a vision-AI to analyze the stock's chart, identifying trends and patterns.
    2. Fundamental Analysis: Retrieves financial statements (Income, Balance Sheet) to generate a summary of the company's financial health and valuation.
    3. News Sentiment Analysis: Aggregates and analyzes market news to determine overall sentiment and identify key discussion topics.
  • Synthesis & Delivery: The main agent synthesizes all findings to formulate a final recommendation (Buy, Hold, Sell), generates a professional HTML report, and delivers it via email.

Setup (Est. 10-15 mins)

This is an advanced, multi-workflow template. Please follow the steps precisely.

  1. Split Modules: Separate the 5 color-coded modules on this canvas into 5 new, individual workflows.
  2. Acquire APIs: Acquire the 7 APIs needed for this workflow. These need Credentials: Gemini,, OpenRouter, SMTP, Alpaca. These just need to be pasted in: AlphaVantage, TwelveData, Chart-Img.
  3. Configure & Link: Insert your API keys and email, then re-link the Execute Workflow and Tool nodes to connect your new workflows.
  4. Activate: Toggle all 5 workflows to "Active."

➡️ For the complete, detailed guide, visit: https://docs.google.com/document/d/1Ri_GfuIlc0QVm1aDrWJjRCg_2vWRCrw_SjRV9cBoKmw/edit?usp=sharing

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 - Structured Output Parser

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

Block 4 - Generate HTML

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

Block 5 - Adjust HTML Colors

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

Block 6 - Think

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

Block 7 - Technical Analysis Tool

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 2

Block 8 - Trends Analysis Tool

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 2

Block 9 - Google Gemini Chat Model

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

Block 10 - Buy?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 11 - Buy in Alpaca

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

Block 12 - Send Stock Analysis

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

Block 13 - When Executed by Another Workflow

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

Block 14 - Fundamental Analysis Tool

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 2.2

Block 15 - Get Chart URL

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

Block 16 - Get Price History

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

Block 17 - Get Bollinger Bands

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

Block 18 - Get MACD

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

Block 19 - Merge

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

Block 20 - Calculate Support Resistance

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

Block 21 - Organizing Data

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

Block 22 - Merge-2

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

Block 23 - ChatGPT 4o

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 24 - Set Variable

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

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

3. Summary Table

Workflow Generate AI stock reports w/ fundamental, technical, & news analysis (Free APIs)
Complexity advanced
Nodes 85
Categories Crypto Trading, AI RAG
Author Deven G
Published 13 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11772/11772.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 Generate AI stock reports w/ fundamental, technical, & news analysis (Free APIs) do?

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

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 RAG use case.