Send daily stock and crypto market briefs with Twelve Data, Google Sheets, OpenAI, Gmail and Telegram
Ready for 3.0What this workflow does
This AI workflow has 24 nodes and runs on a schedule (every day at 07:00) (plus 1 other trigger). Along the way it connects Google Sheets, OpenAI Chat Model, Gmail and Telegram.
How it runs
Trigger: On a schedule (every day at 07:00) (plus 1 other trigger).
- Edit Your Watchlist (Edit Fields (Set)): sets 3 fields: tickers, cryptos, email
- Read the Score History From Google Sheets (Google Sheets): read
- Split Into One Item per Ticker (Code): runs custom JavaScript code
- Loop Over Each Ticker (Loop Over Items (Split in Batches)): loops over the items in batches
- Rank the Watchlist and Detect Flips (Code): runs custom JavaScript code
- Fetch 250 Days of Prices (HTTP Request): calls an HTTP API
- Prepare the History Rows (Code): runs custom JavaScript code
- Fetch Crypto Prices From CoinGecko (HTTP Request): calls an HTTP API
- Compute the Technical Indicators (Code): runs custom JavaScript code
- Save Today's Scores to Google Sheets (Google Sheets): append
…plus 10 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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 (13)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - RSS Read
n8n-nodes-base.rssFeedRead - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Wait
n8n-nodes-base.wait - Gmail
n8n-nodes-base.gmail - Telegram
n8n-nodes-base.telegram
From the author
Quick overview This workflow runs each morning (or manually) to generate a daily market brief by pulling stock price history from Twelve Data, scoring Google News headlines with an OpenAI-compatible model, adding CoinGecko crypto data, saving scores to Google…