Block 1 - Google Gemini Chat Model
- Type / Role
- @n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
- Config choices
- Version 1
AI Powered SENSEX Signal Generator Gemini, Yahoo Finance & Google Sheets This n8n workflow automatically analyzes SENSEX market data using technical indicators and AI (Google Gemini) to genera...
@n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.googlesheets, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.agent
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by WeblineIndia.
Original n8n.io source> Gemini, Yahoo Finance & Google Sheets
This n8n workflow automatically analyzes SENSEX market data using technical indicators and AI (Google Gemini) to generate trading signals (Buy/Sell). It filters only high-confidence signals and logs them into Google Sheets for tracking.
Date | Index | Signal | Confidence | Trend | Reason This workflow automates stock market signal generation for the SENSEX index using a hybrid approach that combines technical analysis and AI-based reasoning.
First, it fetches historical market data from Yahoo Finance and computes key indicators such as moving averages, momentum, volatility and price change. These indicators help identify the current market trend and behavior.
Next, it retrieves the latest SENSEX-related news headlines and feeds both the technical data and news into a Google Gemini AI model. The AI analyzes this combined input to generate a trading signal (Buy/Sell), along with confidence, strength, risk level and reasoning.
Finally, the workflow calculates a score based on AI output, filters only high-quality signals (score > 70) and logs them into Google Sheets for further tracking and decision-making.
To use this workflow, you need:
HTTP Request Node
Change index (e.g., NIFTY, NASDAQ) by updating the URL
Code Node (Indicators)
Modify moving average window (e.g., 10-day, 50-day)
Add RSI, MACD, etc.
AI Agent Prompt
Customize signal logic
Add stricter risk rules or additional outputs
Score Calculator
Adjust scoring weights:
Confidence threshold
Strength importance
Risk penalties
Google Sheets Node
Add more columns like:
Risk Level
Strength
Score
There can be many more use cases depending on how you want to extend this workflow.
| Issue | Possible Cause | Solution |
|---|---|---|
| No data from Yahoo Finance | API URL incorrect or rate-limited | Verify endpoint and retry |
| AI output not parsing | Invalid JSON from AI | Ensure prompt enforces strict JSON |
| No rows in Google Sheets | Validation failed (score ≤ 70) | Check score logic or lower threshold |
| Credential errors | Missing or incorrect API keys | Reconfigure credentials |
| Empty news input | RSS feed issue | Verify RSS URL and connectivity |
| Workflow stops early | Node misconfiguration | Check execution logs in n8n |
If you need assistance with:
Feel free to reach out to n8n automation developers at WeblineIndia
We can help you build powerful automation workflows tailored to your business needs.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Generate SENSEX trading signals using Gemini, Yahoo Finance and Google Sheets |
|---|---|
| Complexity | advanced |
| Nodes | 18 |
| Categories | Crypto Trading, AI Summarization |
| Author | WeblineIndia |
| Published | 13 May 2026 |
Use the JSON export at /data/workflows/15679/15679.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
AI Powered SENSEX Signal Generator Gemini, Yahoo Finance & Google Sheets This n8n workflow automatically analyzes SENSEX market data using technical indicators and AI (Google Gemini) to genera...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading, AI Summarization use case.