Skip to main content

AI-powered automated stock analysis

Workflow preview

Workflow preview
100%
AI-powered automated stock analysis preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Introduction: Streamline your fundamental stock analysis process with AI powered automation. By harnessing the power of SEC 10K reports comprehensive documents required by the SEC containing vital ...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.toolwikipedia, n8n-nodes-base.manualtrigger, @n8n/n8n-nodes-langchain.toolcode, n8n-nodes-base.splitout, n8n-nodes-base.merge, 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 Derek Cheung.

Original n8n.io source

1.1 Workflow description

Title
AI-powered automated stock analysis
Workflow name
AI-powered automated stock analysis

Introduction:

Streamline your fundamental stock analysis process with AI-powered automation.

By harnessing the power of SEC 10K reports - comprehensive documents required by the SEC containing vital company information - this template automates the analysis workflow.

From planning by a Senior Research Analyst to execution by five Research Analysts and final review by a Senior Editor, this template takes an AI persona approach to compose the report that includes an overview of the business, strategy, SWOT (Strengths, Weaknesses, Opportunities, and Threads) analysis, near term catalysts, and top risks.

Additionally, this template allows you to control the length and detail of the report generated.

How it works

There are three personas in the workflow:

  • Senior Research Analyst is the first part of the workflow. They are responsible for planning the work for the rest of the team.

  • Squad of Research Analysts is the second part of the workflow. They execute the plan created.

  • Senior Editor is the third part of the workflow. They polish the draft report and send it to publish

This template uses a custom tool that is able to answer the SEC 10K questions from the Research team.

Setup steps

  1. Setup the Stock Q&A Workflow for the company you want to analyze using this template

  2. Customize the setup node by specifying the company to analyze

  3. Customize the publish step by specifying the file name in the Google docs node

Credit

Inspired by Guilio's template

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 - Sticky Note

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

Block 2 - Settings

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

Block 3 - Sticky Note8

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

Block 4 - Sticky Note16

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

Block 5 - Sticky Note19

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

Block 6 - Sticky Note21

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

Block 7 - Wikipedia

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

Block 8 - Wikipedia1

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

Block 9 - When clicking "Test workflow"

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

Block 10 - SEC10 Tool

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

Block 11 - Delegate work

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

Block 12 - Combine all sections from researchers

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

Block 13 - Draft report

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

Block 14 - Sticky Note1

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

Block 15 - Create new Google docs

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

Block 16 - Update document with report

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

Block 17 - SEC10 Tool1

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

Block 18 - Polish report

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

Block 19 - Plan work for team

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

Block 20 - Do detailed research

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

3. Summary Table

Workflow AI-powered automated stock analysis
Complexity advanced
Nodes 20
Categories Crypto Trading, AI RAG
Author Derek Cheung
Published 31 Mar 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2209/2209.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 AI-powered automated stock analysis do?

Introduction: Streamline your fundamental stock analysis process with AI powered automation. By harnessing the power of SEC 10K reports comprehensive documents required by the SEC containing vital ...

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.