Skip to main content

Generate weekly AI equity research reports with Google Sheets, FMP, NewsAPI, OpenAI, and Gmail

Workflow preview

Workflow preview
100%
Generate weekly AI equity research reports with Google Sheets, FMP, NewsAPI, OpenAI, and Gmail preview
Open on n8n.io

1. Workflow Overview

Description This workflow automatically generates professional equity research reports for selected companies using financial data, market news, and AI analysis. It is designed for analysts, fou...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.splitinbatches, n8n-nodes-base.merge, @n8n/n8n-nodes-langchain.lmchatopenai

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate weekly AI equity research reports with Google Sheets, FMP, NewsAPI, OpenAI, and Gmail
Workflow name
Generate weekly AI equity research reports with Google Sheets, FMP, NewsAPI, OpenAI, and Gmail

๐Ÿ“˜ Description

This workflow automatically generates professional equity research reports for selected companies using financial data, market news, and AI analysis. It is designed for analysts, founders, and finance teams who want consistent, data-backed equity insights without manual research. On a weekly schedule, the workflow reads a list of companies from Google Sheets and processes only those marked as enabled. For each company, it collects five years of financial statements and recent market news, calculates key financial signals, and uses AI to generate a structured SWOT analysis, risk assessment, and growth outlook. The final report is converted into a PDF, logged for tracking, and emailed automatically.

โš™๏ธ What This Workflow Does (Step-by-Step)

โฐ Weekly Scheduler Runs the workflow automatically at a fixed weekly time. ๐Ÿ“„ Load Company List from Google Sheets Uses Google Sheets as the control panel to decide which companies are analyzed. ๐Ÿ” Iterate Enabled Companies Processes each enabled company one at a time for stable execution. ๐Ÿ“Š Fetch Financial Statements (FMP) Pulls income statement, balance sheet, and cash flow data for the last five years. ๐Ÿ“ฐ Fetch Recent Market News Retrieves the latest company-related news headlines. ๐Ÿงน Normalize Financials & News Cleans and structures all data into a consistent format. ๐Ÿ“ Compute Financial & Market Signals Calculates revenue growth, margins, leverage, cash flow strength, and buyback signals. ๐Ÿค– AI SWOT Analysis Generates strengths, weaknesses, opportunities, and threats using only derived signals and news. ๐Ÿ“ˆ AI Risk & Growth Outlook Identifies key risks and provides a 12โ€“24 month growth outlook. ๐Ÿ“ Build Equity Research Report (HTML) Combines all insights into a clean, readable report layout. ๐Ÿ“„ Convert Report to PDF Automatically renders the HTML report into a downloadable PDF. ๐Ÿ“Š Log Report Metadata to Google Sheets Stores PDF URL, size, timestamp, and expiry for tracking. ๐Ÿ“ง Email Research Report Sends the PDF download link to stakeholders.

๐Ÿงฉ Prerequisites

โ€ข Google Sheets API access โ€ข Financial Modeling Prep (FMP) API key โ€ข NewsAPI key โ€ข OpenAI API access โ€ข Gmail OAuth2 credentials โ€ข HTML-to-PDF service credentials

๐Ÿ’ก Key Benefits

โœ” Fully automated equity research reporting โœ” Consistent, repeatable analysis every week โœ” Data-backed AI insights with no assumptions โœ” No manual data collection or formatting โœ” Clean PDF reports ready for sharing โœ” Centralized tracking in Google Sheets โœ” Scales easily to multiple companies

๐Ÿ‘ฅ Perfect For

  • Equity analysts
  • Investment research teams
  • Startup founders
  • Finance and strategy teams
  • Advisory and consulting firms
  • Anyone producing regular equity research reports

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 - Weekly Equity Research Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 2 - Fetch Company List

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 3 - Fetch Income Statement

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

Block 4 - Fetch Balance Sheet

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

Block 5 - Fetch Cash Flow

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

Block 6 - Fetch Market Data

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

Block 7 - Parse Risks and Growth Output

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

Block 8 - Build Equity Research Report

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

Block 9 - Filter Enabled Companies

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

Block 10 - Iterate Companies

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 11 - Normalize Income Statement Data

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

Block 12 - Normalize Balance Sheet Data

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

Block 13 - Normalize Cash Flow Data

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

Block 14 - Normalize Market News Data

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

Block 15 - Merge Financials and News

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

Block 16 - Compute Financial and Market Signals

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

Block 17 - LLM โ€“ SWOT Analysis Model

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

Block 18 - Generate SWOT Analysis

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

Block 19 - Parse SWOT Output

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

Block 20 - LLM โ€“ Risk and Growth Model

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

Block 21 - Generate Risks and Growth Outlook

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

Block 22 - Merge All AI Insights

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

Block 23 - Render Research Report to PDF

Type / Role
n8n-nodes-htmlcsstopdf.htmlcsstopdf - htmlcsstopdf
Config choices
Version 1

Block 24 - Validate PDF Generation

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

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

3. Summary Table

Workflow Generate weekly AI equity research reports with Google Sheets, FMP, NewsAPI, OpenAI, and Gmail
Complexity advanced
Nodes 31
Categories Market Research, AI Summarization
Author Rahul Joshi
Published 23 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12949/12949.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 weekly AI equity research reports with Google Sheets, FMP, NewsAPI, OpenAI, and Gmail do?

Description This workflow automatically generates professional equity research reports for selected companies using financial data, market news, and AI analysis. It is designed for analysts, fou...

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 Market Research, AI Summarization use case.