Send a daily Nifty 50 market brief using Gemini AI, Nifty 50 API and Gmail
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs on a schedule (every day at 09:00). Along the way it connects Google Gemini and Gmail.
How it runs
Trigger: On a schedule (every day at 09:00).
- Fetch Market News (HTTP Request): calls an HTTP API
- Fetch Nifty 50 Stock Prices (HTTP Request): calls an HTTP API (POST)
- Analyze News Sentiment (AI) (Google Gemini): uses Google Gemini
- Extract Price Data (Edit Fields (Set)): sets 1 field: prices
- Parse News Response (Code): runs custom JavaScript code
- Normalize Price Data (Code): runs custom JavaScript code
- Merge: merges the data from its input branches
- Calculate Gainers & Losers (Code): runs custom JavaScript code
- Validate Data (If): checks a condition and branches into true / false
- Aggregate Dataset (Code): runs custom JavaScript code
…plus 3 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.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail
From the author
Daily Market Brief Automation > n8n, Gemini AI, Nifty 50 API & Gmail This workflow automatically generates and emails a concise daily stock market brief at 9:30 AM using real-time Nifty 50 data, financial news and AI-powered insights. Quick Implementation…