Skip to main content

Track real-time stock prices with Yahoo Finance, ScrapegraphAI, and Google Sheets

Workflow preview

Workflow preview
100%
Track real-time stock prices with Yahoo Finance, ScrapegraphAI, and Google Sheets preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This workflow contains community nodes that are only compatible with the self hosted version of n8n. How it works This automated workflow monitors stock prices by scraping real time data from Yahoo...

Best for

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

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-scrapegraphai.scrapegraphai, n8n-nodes-base.googlesheets, n8n-nodes-base.code, 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 vinci-king-01.

Original n8n.io source

1.1 Workflow description

Title
Track real-time stock prices with Yahoo Finance, ScrapegraphAI, and Google Sheets
Workflow name
Track real-time stock prices with Yahoo Finance, ScrapegraphAI, and Google Sheets

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

How it works

This automated workflow monitors stock prices by scraping real-time data from Yahoo Finance. It uses a scheduled trigger to run at specified intervals, extracts key stock metrics using AI-powered extraction, formats the data through a custom code node, and automatically saves the structured information to Google Sheets for tracking and analysis.

Key Steps:

  • Scheduled Trigger: Runs automatically at specified intervals to collect fresh stock data
  • AI-Powered Scraping: Uses ScrapeGraphAI to intelligently extract stock information (symbol, current price, price change, change percentage, volume, and market cap) from Yahoo Finance
  • Data Processing: Formats extracted data through a custom Code node for optimal spreadsheet compatibility and handles both single and multiple stock formats
  • Automated Storage: Saves all stock data to Google Sheets with proper column mapping for easy filtering, analysis, and historical tracking

Set up steps

Setup Time: 5-10 minutes

  1. Configure Credentials: Set up your ScrapeGraphAI API key and Google Sheets OAuth2 credentials
  2. Customize Target: Update the website URL in the ScrapeGraphAI node to your desired stock symbol (currently set to AAPL)
  3. Configure Schedule: Set your preferred trigger frequency (daily, hourly, etc.) for stock price monitoring
  4. Map Spreadsheet: Connect to your Google Sheets document and configure column mapping for the stock data fields

Pro Tips:

  • Keep detailed configuration notes in the sticky notes within the workflow
  • Test with a single stock first before scaling to multiple stocks
  • Consider modifying the Code node to handle different stock symbols or add additional data fields
  • Perfect for building a historical database of stock performance over time
  • Can be extended to track multiple stocks by modifying the ScrapeGraphAI prompt

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 - Schedule Trigger

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

Block 2 - ScrapegraphAI

Type / Role
n8n-nodes-scrapegraphai.scrapegraphAi - scrapegraphAi
Config choices
Version 1

Block 3 - Google Sheets

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

Block 4 - Code

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

Block 5 - Sticky Note1

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

Block 6 - Sticky Note2

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

Block 7 - Sticky Note3

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

Block 8 - Sticky Note

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

3. Summary Table

Workflow Track real-time stock prices with Yahoo Finance, ScrapegraphAI, and Google Sheets
Complexity intermediate
Nodes 8
Categories Crypto Trading, AI Summarization
Author vinci-king-01
Published 23 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6313/6313.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 Track real-time stock prices with Yahoo Finance, ScrapegraphAI, and Google Sheets do?

This workflow contains community nodes that are only compatible with the self hosted version of n8n. How it works This automated workflow monitors stock prices by scraping real time data from Yahoo...

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.