Skip to main content

Real-time stock monitor with smart alerts for Indian & US markets

Workflow preview

Workflow preview
100%
Real-time stock monitor with smart alerts for Indian & US markets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Monitor Indian (NSE/BSE) and US stock markets with intelligent price alerts, cooldown periods, and multi channel notifications (Email + Telegram). Automatically tracks price movements and sends ale...

Best for

  • Crypto Trading automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.cron, n8n-nodes-base.googlesheets, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.emailsend, n8n-nodes-base.telegram, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oneclick AI Squad.

Original n8n.io source

1.1 Workflow description

Title
Real-time stock monitor with smart alerts for Indian & US markets
Workflow name
Real-time stock monitor with smart alerts for Indian & US markets

Monitor Indian (NSE/BSE) and US stock markets with intelligent price alerts, cooldown periods, and multi-channel notifications (Email + Telegram). Automatically tracks price movements and sends alerts when stocks cross predefined upper/lower limits.

Perfect for day traders, investors, and portfolio managers who need instant notifications for price breakouts and breakdowns.

How It Works

Market Hours Trigger - Runs every 2 minutes during market hours Read Stock Watchlist - Fetches your stock list from Google Sheets Parse Watchlist Data - Processes stock symbols and alert parameters Fetch Live Stock Price - Gets real-time prices from Twelve Data API Smart Alert Logic - Intelligent price checking with cooldown periods Check Alert Conditions - Validates if alerts should be triggered Send Email Alert - Sends detailed email notifications Send Telegram Alert - Instant mobile notifications Update Alert History - Records alert timestamps in Google Sheets Alert Status Check - Monitors workflow success/failure Success/Error Notifications - Admin notifications for monitoring

Key Features:

  • Smart Cooldown: Prevents alert spam
  • Multi-Market: Supports Indian & US stocks
  • Dual Alerts: Email + Telegram notifications
  • Auto-Update: Tracks last alert times
  • Error Handling: Built-in failure notifications

Setup Requirements:

1. Google Sheets Setup:

Create a Google Sheet with these columns (in exact order):

  • A: symbol (e.g., TCS, AAPL, RELIANCE.BSE)
  • B: upper_limit (e.g., 4000)
  • C: lower_limit (e.g., 3600)
  • D: direction (both/above/below)
  • E: cooldown_minutes (e.g., 15)
  • F: last_alert_price (auto-updated)
  • G: last_alert_time (auto-updated)

2. API Keys & IDs to Replace:

  • YOUR_GOOGLE_SHEET_ID_HERE - Replace with your Google Sheet ID
  • YOUR_TWELVE_DATA_API_KEY - Get free API key from twelvedata.com
  • YOUR_TELEGRAM_CHAT_ID - Your Telegram chat ID (optional)
  • [email protected] - Your sender email
  • [email protected] - Alert recipient email

3. Stock Symbol Format:

  • US Stocks: Use simple symbols like AAPL, TSLA, MSFT
  • Indian Stocks: Use .BSE or .NSE suffix like TCS.NSE, RELIANCE.BSE

4. Credentials Setup in n8n:

  • Google Sheets: Service Account credentials
  • Email: SMTP credentials
  • Telegram: Bot token (optional)

Example Google Sheet Data:

symbol          upper_limit  lower_limit  direction  cooldown_minutes
TCS.NSE         4000         3600         both       15
AAPL            180          160          both       10
RELIANCE.BSE    2800         2600         above      20

Output Example:

Alert: TCS crossed the upper limit. Current Price: ₹4100, Upper Limit: ₹4000.

1.2 Logical Blocks

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.

2. Block-by-Block Analysis

Block 1 - Market Hours Trigger

Type / Role
n8n-nodes-base.cron - cron
Config choices
Version 1

Block 2 - Read Stock Watchlist

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 3 - Parse Watchlist Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Fetch Live Stock Price

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 5 - Smart Alert Logic

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Check Alert Conditions

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 7 - Send Email Alert

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 8 - Send Telegram Alert

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1

Block 9 - Update Alert History

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 10 - Alert Status Check

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 11 - Success Notification

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 12 - Error Notification

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 13 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Real-time stock monitor with smart alerts for Indian & US markets
Complexity intermediate
Nodes 14
Categories Crypto Trading, Multimodal AI
Author Oneclick AI Squad
Published 21 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7701/7701.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

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.

Frequently asked questions

What does Real-time stock monitor with smart alerts for Indian & US markets do?

Monitor Indian (NSE/BSE) and US stock markets with intelligent price alerts, cooldown periods, and multi channel notifications (Email + Telegram). Automatically tracks price movements and sends ale...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

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, Multimodal AI use case.