Templates / Track equity sector rotation with Google Sheets, Yahoo Finance, Groq and Gmail

Track equity sector rotation with Google Sheets, Yahoo Finance, Groq and Gmail

Ready for 3.0

by WeblineIndia ✓ · 340 views · created 2026-04-15 · Crypto Trading, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 18 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Groq Chat Model, Google Sheets and Gmail.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Fetch Historic Data (Google Sheets): uses Google Sheets
  2. Fetch Active Stocks (Google Sheets): uses Google Sheets
  3. Merge: merges the data from its input branches
  4. Set API Base URL (Edit Fields (Set)): sets 1 field: yahoo_finance_base_url
  5. Detect Rotation and Compare Historic Data (Code): runs custom JavaScript code
  6. Get stocks Data (HTTP Request): calls an HTTP API
  7. Save Today's Market Data (Google Sheets): append
  8. Prepare AI Insights Prompt (Code): runs custom JavaScript code
  9. Normalize Data (Code): runs custom JavaScript code
  10. AI Analyzer (AI Agent): runs an AI agent, with model: Insights from Model

…plus 6 more steps. See the full node list below.

Services it uses

Groq Chat ModelGoogle SheetsGmail

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (10)

From the author

Sector Rotation Tracker & Alert System of Equity Market This workflow automates the tracking of stock market sector rotation. It fetches a list of active stocks from Google Sheets, pulls their last 5 days of market data from Yahoo Finance and calculates…

Excerpt from WeblineIndia's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.