Analyze daily stock news sentiment with Gemini AI, Google Sheets and Gmail
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs on a schedule (every day at 08:00). Along the way it connects Google Gemini, Gmail and Google Sheets. It also calls api.tradient.org over HTTP.
How it runs
Trigger: On a schedule (every day at 08:00).
- Fetch Market News API (HTTP Request): calls api.tradient.org
- Select Top News Articles (Code): runs custom JavaScript code
- Normalize News Fields (Edit Fields (Set)): sets 3 fields: news_object.text, news_object.title, stock_name
- Remove Duplicate News (Code): runs custom JavaScript code
- Process News One-by-One (Loop Over Items (Split in Batches)): loops over the items in batches
- Parse AI JSON Response (Code): runs custom JavaScript code
- Throttle / Rate Limit (Wait): pauses before continuing
- Calculate Impact Score (Code): runs custom JavaScript code
- Generate Sentiment Prompt (Code): runs custom JavaScript code
- Check High Impact News (If): checks a condition and branches into true / false
…plus 3 more steps. See the full node list below.
Services it uses
HTTP calls to: api.tradient.org
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.
Nodes used (10)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets
From the author
Stock News Sentiment Automation using Gemini AI, Google Sheets & Gmail This workflow automatically fetches daily stock market news, analyzes sentiment using Gemini AI, calculates impact scores, sends alerts for high-impact news and stores structured results…