π Track Google Shopping price alerts with ScraperAPI, Airtable and Gmail
β‘ 73 views Β· π Market Research & Insights
π‘ 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.
Description
Quick Overview
This workflow runs every morning, reads an active watchlist from Airtable, scrapes Google Shopping results via ScraperAPI, and writes offer snapshots back to Airtable for price history. It then compiles todayβs below-target matches and sends an HTML alert digest using Gmail.
How it works
- Runs every day at 8:00 AM on a schedule.
- Reads all active watchlist entries from Airtable.
- For each watchlist query, uses ScraperAPI to fetch Google Shopping results and flattens the response into individual offers with a scrape timestamp and an alert flag when price is at or below the target.
- Appends each offer snapshot (query, title, merchant, price, link, and metadata) to an Airtable results table.
- Searches Airtable for todayβs result rows where the alert flag is true.
- Builds an HTML digest that keeps the cheapest alerting offer per query and, if any alerts exist, sends the digest by email through Gmail.
Setup
- Connect your Airtable credentials and select the base/table for the watchlist and the base/table where offer snapshots should be created.
- Ensure your Airtable watchlist table includes at least {active} (checkbox), {query} (text), and {target_price} (number) fields, and your results table includes fields matching the workflowβs mappings (query, product_title, merchant, price, currency, link, product_id, scraped_at, is_alert).
- Add your ScraperAPI credential and confirm Google Shopping scraping is enabled for your account.
- Connect your Gmail account, set the recipient address in the email node, and optionally adjust the daily schedule time to your preference.
π Nodes Used
Airtable, Gmail, Schedule Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File