πŸ“Š Track e-commerce price changes with ScrapeGraphAI, Baserow & Pushover alerts

⚑ 205 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.

View All Scrapers

Description

Product Price Monitor with Pushover and Baserow

⚠️ COMMUNITY TEMPLATE DISCLAIMER: This is a community-contributed template that uses ScrapeGraphAI (a community node). Please ensure you have the ScrapeGraphAI community node installed in your n8n instance before using this template.

This workflow automatically scrapes multiple e-commerce sites for selected products, analyzes weekly pricing trends, stores historical data in Baserow, and sends an instant Pushover notification when significant price changes occur. It is ideal for retailers who need to track seasonal fluctuations and optimize inventory or pricing strategies.

Pre-conditions/Requirements

Prerequisites

Required Credentials

Baserow Table Specification

Field NameTypeDescription
Product IDNumberInternal or SKU
NameTextProduct title
URLURLProduct page
PriceNumberCurrent price (float)
CurrencySingle select (USD, EUR, etc.)
Last SeenDate/TimeLast price check
TrendNumber7-day % change

How it works

This workflow automatically scrapes multiple e-commerce sites for selected products, analyzes weekly pricing trends, stores historical data in Baserow, and sends an instant Pushover notification when significant price changes occur. It is ideal for retailers who need to track seasonal fluctuations and optimize inventory or pricing strategies.

Key Steps:

Set up steps

Setup Time: 15-25 minutes

  1. Install Community Node: In n8n, go to β€œSettings β†’ Community Nodes” and install ScrapeGraphAI.
  2. Create Baserow Table: Match the field structure shown above.
  3. Obtain Credentials:
    • ScrapeGraphAI API key from your dashboard
    • Baserow personal token (/account/settings)
    • Pushover user key & API token
  4. Clone Workflow: Import this template into n8n.
  5. Configure Credentials in Nodes: Open each ScrapeGraphAI, Baserow, and Pushover node and select/enter the appropriate credential.
  6. Add Product URLs: Open the first Set node and replace the example array with your actual product list.
  7. Adjust Thresholds: In the If node, change the 5 value if you want a higher/lower alert threshold.
  8. Test Run: Execute the workflow manually; verify Baserow rows and the Pushover notification.
  9. Schedule: Add a Cron trigger or external scheduler to run weekly.

Node Descriptions

Core Workflow Nodes:

Data Flow:

  1. Webhook β†’ Set β†’ SplitInBatches β†’ ScrapeGraphAI
  2. ScrapeGraphAI β†’ If
    • True branch β†’ HTTP Request β†’ Merge β†’ Baserow Upsert β†’ Pushover
    • False branch β†’ Baserow Upsert

Customization Examples

Change Notification Channel to Slack

// Replace the Pushover node with Slack
{
  "channel": "#pricing-alerts",
  "text": `🚨 ${$json["Name"]} changed by ${$json["delta"]}% – now ${$json["Price"]} ${$json["Currency"]}`
}

Additional Data Enrichment (Stock Status)

// Add to ScrapeGraphAI's selector map
{
  "stock": {
    "selector": ".availability span",
    "type": "text"
  }
}

Data Output Format

The workflow outputs structured JSON data:

{
  "ProductID": 12345,
  "Name": "Winter Jacket",
  "URL": "https://shop.example.com/winter-jacket",
  "Price": 79.99,
  "Currency": "USD",
  "LastSeen": "2024-11-20T10:34:18.000Z",
  "Trend": 12,
  "delta": -7.5
}

Troubleshooting

Common Issues

  1. Empty scrape result – Check if the product page changed its HTML structure; update CSS selectors in ScrapeGraphAI.
  2. Baserow β€œRow not found” errors – Ensure Product ID or another unique field is set as the primary key for upsert.

Performance Tips

Pro Tips:

πŸ”— Nodes Used

HTTP Request, Postgres, Webhook, Pushover

πŸ“₯ Import

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

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