Send portfolio price move alerts with Google Sheets, OpenAI and Telegram
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on a schedule (cron 0 10,14,18 * * 1-5). Along the way it connects Google Sheets, OpenAI and Telegram. It also calls api.frankfurter.dev and sec.gov over HTTP.
How it runs
Trigger: On a schedule (cron 0 10,14,18 * * 1-5).
- ⚙️ Config (Edit Fields (Set)): sets 4 fields: chat_id, threshold_pct, big_move_pct…
- Normalize Trigger (Code): runs custom JavaScript code
- Fetch FX (HTTP Request): calls api.frankfurter.dev
- Fetch CIK Map (HTTP Request): calls sec.gov
- Read Portfolio (Google Sheets): uses Google Sheets
- Build Symbol Batches (Code): runs custom JavaScript code
- Fetch Quotes (HTTP Request): calls an HTTP API
- Compute Moves (Code): runs custom JavaScript code
- Anything moved? (If): checks a condition and branches into true / false
- Fetch Filings (HTTP Request): calls an HTTP API
…plus 6 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Telegram + OpenAI templates (807) · Other Telegram + Google Sheets templates (674)
HTTP calls to: api.frankfurter.dev, sec.gov
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 (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - OpenAI
@n8n/n8n-nodes-langchain.openAi - Telegram
n8n-nodes-base.telegram - Edit Fields (Set)
n8n-nodes-base.set
From the author
Quick overview This workflow checks your Google Sheets portfolio for large daily price moves using Yahoo Finance data, enriches movers with SEC EDGAR filings and Google News results via SerpAPI, has OpenAI generate an explanation, then sends a Telegram alert…