Templates / Scheduled Web Scraper to Google Sheets

Scheduled Web Scraper to Google Sheets

Intermediate   Apps: Schedule, HTTP Request, HTML, Google Sheets  ·  Setup: 15 minutes

Checking a competitor's pricing page or a listings site by hand every day is exactly the kind of work computers should do. Scraping SaaS starts at $30/month. This workflow fetches any public page on a schedule, extracts the pieces you care about with CSS selectors, and appends a dated row to Google Sheets.

Download workflow JSON (free) Setup guide

What this workflow does

  1. A Schedule Trigger fires every morning at 8:00.
  2. An HTTP Request node fetches the target page's HTML.
  3. An HTML node extracts values using CSS selectors (price, title, stock status - whatever you point it at).
  4. A Code node stamps each row with today's date.
  5. A Google Sheets node appends the row, building a time series you can chart.

Setup guide

  1. Import the JSON into n8n (Workflows > Import from File).
  2. Put your target URL in the HTTP Request node.
  3. Open the target page in your browser, right-click the value you want > Inspect, and copy a CSS selector for it into the HTML node.
  4. Connect Google Sheets and pick your spreadsheet; column names come from the Code node output.
  5. Run once manually to verify the extraction, then activate.
  6. Only scrape public pages, respect robots.txt, and keep the schedule gentle (once a day, not once a second).

Want this running 24/7?

Self-host n8n on a cheap VPS and this workflow runs around the clock for less than a coffee a month.

Get an n8n VPS from $5/month

FAQ

The page loads its content with JavaScript and I get empty results - now what?Plain HTTP fetch only sees server-rendered HTML. For JavaScript-heavy sites, check if the site has a JSON API (watch the Network tab), or render the page with a headless browser service and fetch that.
Can I scrape multiple pages in one run?Yes. Start with a Code node that outputs one item per URL and feed them into the HTTP Request node - n8n loops automatically.
Is scraping legal?Scraping public data is generally fine; check the site's terms and robots.txt, don't hammer servers, and never scrape personal data or content behind a login.

Want the workflows this one is a warm-up for?

The Mega Bundle packs both WorkflowForge Pro volumes — 32 production-grade workflows: automations (cart recovery, lead scoring, invoice extraction) and AI agents (support agent, calendar assistant, research agent), each with a setup guide. $39 for both, instant download.

Get the Mega Bundle →

Need it customized for your exact process?

I build custom n8n automations and AI agents professionally: your tools, your edge cases, tested and documented.

Hire me on Fiverr →