πŸ“ˆ Track real-time stock prices with Yahoo Finance, ScrapegraphAI, and Google Sheets

⚑ 3,668 views Β· πŸ“ˆ Crypto Trading & Stock Market

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

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:

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:

πŸ”— Nodes Used

Google Sheets, Schedule Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup