📊 E-commerce product price tracker with ScrapeGraphAI, Baserow and Slack alerts

⚡ 104 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 Mailchimp 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 scrapes multiple e-commerce sites for product pricing data, stores the historical prices in Baserow, analyzes weekly trends, and emails a neatly formatted seasonal report to your Mailchimp audience. It is designed for retailers who need to stay on top of seasonal pricing patterns to make informed inventory and pricing decisions.

Pre-conditions/Requirements

Prerequisites

Required Credentials

CredentialUsed ByScope
ScrapeGraphAI API KeyScrapeGraphAI nodeWeb scraping
Mailchimp API Key & Server PrefixMailchimp nodeSending emails
Baserow API TokenBaserow nodeReading & writing records

Baserow Table Setup

Create a table named price_tracker with the following fields:

Field NameTypeExample
product_nameText“Winter Jacket”
product_urlURLhttps://example.com/winter-jacket
current_priceNumber59.99
scrape_dateDateTime2023-11-15T08:21:00Z

How it works

This workflow scrapes multiple e-commerce sites for product pricing data, stores the historical prices in Baserow, analyzes weekly trends, and emails a neatly formatted seasonal report to your Mailchimp audience. It is designed for retailers who need to stay on top of seasonal pricing patterns to make informed inventory and pricing decisions.

Key Steps:

Set up steps

Setup Time: 10-15 minutes

  1. Clone the template: Import the workflow JSON into your n8n instance.
  2. Install ScrapeGraphAI: n8n-nodes-scrapegraphai via the Community Nodes panel.
  3. Add credentials:
    a. ScrapeGraphAI API Key
    b. Mailchimp API Key & Server Prefix
    c. Baserow API Token
  4. Configure Baserow node: Point it to your price_tracker table.
  5. Edit product list: In the “Prepare URLs” Code node, replace the sample URLs with your own.
  6. Adjust schedule: Modify the Schedule Trigger CRON expression if weekly isn’t suitable.
  7. Test run: Execute the workflow manually once to verify credentials and data flow.
  8. Activate: Turn on the workflow for automatic weekly monitoring.

Node Descriptions

Core Workflow Nodes:

Data Flow:

  1. Schedule Trigger → Code (Prepare URLs) → SplitInBatches
  2. SplitInBatches → ScrapeGraphAI → If (Price Found?) → Baserow
  3. Baserow → Code (Trend Analysis) → Set (Mail Content) → Mailchimp

Customization Examples

Change scraping frequency

// Schedule Trigger CRON for daily at 07:00 UTC
0 7 * * *

Add competitor comparison column

// Code (Trend Analysis)
item.competitor_price_diff = item.current_price - item.competitor_price;
return item;

Data Output Format

The workflow outputs structured JSON data:

{
  "product_name": "Winter Jacket",
  "product_url": "https://example.com/winter-jacket",
  "current_price": 59.99,
  "scrape_date": "2023-11-15T08:21:00Z",
  "weekly_trend": "decrease"
}

Troubleshooting

Common Issues

  1. Invalid ScrapeGraphAI key – Verify the API key and ensure your subscription is active.
  2. Mailchimp “Invalid Audience” error – Double-check the audience ID and that the API key has correct permissions.
  3. Baserow “Field mismatch” – Confirm your table fields match the names/types in the workflow.

Performance Tips

Pro Tips:

đź”— Nodes Used

Slack, Baserow, Schedule Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup