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

Go to Workflow
53 views
Built by Rahul Joshi Rahul Joshi
Created on June 05, 2026

Description

๐Ÿ“˜ 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

Nodes Used (6)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi