Skip to main content

Analyze corporate action impact from NSE RSS with Google Sheets, Gemini, and Gmail

Workflow preview

Workflow preview
100%
Analyze corporate action impact from NSE RSS with Google Sheets, Gemini, and Gmail preview
Open on n8n.io

1. Workflow Overview

Corporate Actions Impact Analyzer n8n, NSE RSS, Google Sheets, Gemini AI and Gmail This workflow automatically tracks corporate actions from NSE RSS, matches them with a single client’s portfo...

Best for

  • Crypto Trading automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.set, n8n-nodes-base.code, n8n-nodes-base.googlesheets, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.googlegemini, n8n-nodes-base.gmail, 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 WeblineIndia.

Original n8n.io source

1.1 Workflow description

Title
Analyze corporate action impact from NSE RSS with Google Sheets, Gemini, and Gmail
Workflow name
Analyze corporate action impact from NSE RSS with Google Sheets, Gemini, and Gmail

Corporate Actions Impact Analyzer

> n8n, NSE RSS, Google Sheets, Gemini AI and Gmail

This workflow automatically tracks corporate actions from NSE RSS, matches them with a single client’s portfolio stored in Google Sheets, calculates financial impact using AI and sends a structured email summary. Every run is logged for tracking and auditing.

Quick Implementation Steps

  1. Connect credentials in your n8n account:
  • Google Sheets
  • Gmail
  • Google Gemini API
  1. Open Config (Edit Fields) and update client_id and admin_email
  2. Ensure your Portfolio Sheet has required columns (see below)
  3. Run workflow manually once for testing
  4. Activate Run Workflow (Scheduler)

What It Does

This workflow automates corporate action monitoring for a single client portfolio. It starts by fetching the latest corporate actions from the NSE RSS feed and converting raw feed data into structured fields such as company name, dividend amount, ratios and important dates.

It then retrieves the client’s holdings from Google Sheets and intelligently matches them with corporate actions using normalized company names. Only relevant matches are processed further.

For matched actions, the workflow uses Gemini AI to calculate financial impact including dividend benefits, bonus shares and required actions. It generates a clean summary and sends it via email, while logging every run.

Who It's For

  • Financial advisors managing client portfolios
  • Wealth management firms
  • Stock analysts tracking corporate actions
  • n8n automation builders
  • Fintech workflow developers

Requirements

Tools Required

Required Google Sheet Structure

Portfolio Sheet (Sheet Name: Portfolio)

Required columns:

client_id, client_name, email, asset_name, company_name, symbol, quantity, avg_buy_price, asset_type
Action_Log Sheet
  • Used for logging workflow results
  • No predefined schema required

How It Works & Setup Guide

Step 1: Scheduler

Node: Run Workflow (Scheduler)

  • Triggers workflow at defined intervals

Step 2: Configuration

Node: Config (Edit Fields)

  • Set:
  • client_id
  • admin_email

Step 3: Fetch RSS Data

Node: Fetch Corporate Actions

  • Pulls NSE corporate action RSS feed

Step 4: Normalize Data

Node: Normalize RSS

  • Converts raw feed into structured fields

Step 5: Fetch Portfolio

Node: Fetch Portfolio (Single Client)

  • Reads holdings from Google Sheets

Step 6: Match + Build Prompt

Node: Compare Holdings + Build Prompt

  • Matches portfolio with corporate actions
  • Builds AI input prompt

Step 7: Match Check

Node: Has Matching Actions?

  • TRUE → AI processing
  • FALSE → No-match flow

Step 8: AI Processing

Node: Generate AI Impact Summary

  • Calculates impact using Gemini

Step 9: Parse Output

Node: Clean + Parse AI Output

  • Cleans and converts response to JSON

Step 10: Validation

Node: AI Output Valid?

  • TRUE → Send results
  • FALSE → Error flow

Step 11A: Success Flow

  • Format Email + Log Row
  • Send Email Notification
  • Log Result to Sheets

Step 11B: No Match Flow

  • Prepare No-Match Output
  • Send No-Match Email
  • Log No-Match Run

Step 11C: Error Flow

  • Prepare Parse-Error Output
  • Send Admin Review Email
  • Log Parse Error

How To Customize Nodes

  • Modify Config (Edit Fields) for different clients
  • Update matching logic in Compare Holdings + Build Prompt
  • Adjust AI prompt for output formatting
  • Customize email content in Format Email + Log Row
  • Replace RSS source if needed

Add-ons

  • Multi-client automation support
  • Slack or WhatsApp alerts
  • Real-time stock price integration
  • Dashboard visualization
  • Historical tracking
  • Risk scoring layer

Use Case Examples

  1. Dividend alerts for clients
  2. Portfolio monitoring automation
  3. Wealth advisor reporting
  4. Corporate action tracking system
  5. Automated financial notifications

There can be many more use cases depending on customization.

Troubleshooting Guide

Issue Possible Cause Solution
No data in output RSS feed issue Check RSS URL
No matches found Client holdings mismatch Verify company names
AI parse error Invalid AI response Check prompt structure
Email not sent Gmail credentials issue Reconnect Gmail
Sheets not updating Wrong sheet ID Verify Google Sheets config

Need Help?

If you need help setting up, customizing or scaling this workflow, you can reach out to our n8n workflow development experts at WeblineIndia.

We can help you with:

  • Custom workflow development
  • Multi-client scaling
  • API integrations
  • AI optimization
  • Production-ready automation systems

Get expert help and build powerful automation tailored to your business needs.

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 - Run Workflow (Scheduler)

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 2 - Config (Edit Fields)

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Normalize RSS

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

Block 4 - Fetch Portfolio (Single Client)

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

Block 5 - Compare Holdings + Build Prompt

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

Block 6 - Has Matching Actions?

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

Block 7 - Generate AI Impact Summary

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1.1

Block 8 - Clean + Parse AI Output

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

Block 9 - AI Output Valid?

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

Block 10 - Format Email + Log Row

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

Block 11 - Send Email Notification

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 12 - Log Result to Sheets

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

Block 13 - Prepare No-Match Output

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

Block 14 - Send No-Match Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 15 - Log No-Match Run

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

Block 16 - Prepare Parse-Error Output

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

Block 17 - Send Admin Review Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 18 - Log Parse Error

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

Block 19 - Overview Note

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

Block 20 - Feed Note

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

Block 21 - AI Note

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

Block 22 - Output Note

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

Block 23 - Fetch Corporate Actions

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

3. Summary Table

Workflow Analyze corporate action impact from NSE RSS with Google Sheets, Gemini, and Gmail
Complexity advanced
Nodes 23
Categories Crypto Trading, AI Summarization
Author WeblineIndia
Published 27 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15336/15336.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 Analyze corporate action impact from NSE RSS with Google Sheets, Gemini, and Gmail do?

Corporate Actions Impact Analyzer n8n, NSE RSS, Google Sheets, Gemini AI and Gmail This workflow automatically tracks corporate actions from NSE RSS, matches them with a single client’s portfo...

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