Automate fundamental stock analysis with FinnHub data and Google Sheets DCF calculator
Ready for 3.0What this workflow does
This workflow has 22 nodes and runs when someone submits an n8n form. Along the way it connects Google Sheets.
How it runs
Trigger: When someone submits an n8n form.
- Annual Reports (HTTP Request): calls an HTTP API
- Quarterly Reports (HTTP Request): calls an HTTP API
- Ratios (HTTP Request): calls an HTTP API
- MarketCap (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- Merge: merges the data from its input branches
- Filter Important Financials (Code): runs custom JavaScript code
- Aggregate: combines items into one
- DCF Calculator (Code): runs custom JavaScript code
- Merge: merges the data from its input branches
…plus 11 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Split Out
n8n-nodes-base.splitOut - Aggregate
n8n-nodes-base.aggregate - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview Intrinsic Valuation (DCF): The workflow applies a Discounted Cash Flow (DCF) model, using the calculated TTM FCF as the base for a multi-year explicit forecast, generating a theoretical intrinsic price target for the company’s stock. How it…