πŸ“Š Automated product price tracking with ScrapeGraphAI, Slack alerts and Jira tickets

⚑ 57 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 Slack and Jira

Workflow Preview Image

⚠️ 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, analyses weekly seasonal price trends, and notifies your team in Slack while opening Jira tickets for items that require price adjustments. It helps retailers plan inventory and pricing by surfacing actionable insights every week.

Pre-conditions/Requirements

Prerequisites

Required Credentials

Specific Setup Requirements

ResourcePurposeExample
Product URL listSeed URLs to monitorhttps://example.com/products-winter-sale
Slack ChannelReceives trend alerts#pricing-alerts
Jira Project KeyTickets are created hereECOM

How it works

This workflow automatically scrapes multiple e-commerce sites, analyses weekly seasonal price trends, and notifies your team in Slack while opening Jira tickets for items that require price adjustments. It helps retailers plan inventory and pricing by surfacing actionable insights every week.

Key Steps:

Set up steps

Setup Time: 15-20 minutes

  1. Install Community Nodes: In n8n, go to Settings β†’ Community Nodes, search for β€œScrapeGraphAI”, and install.
  2. Add Credentials:
    a. Slack β†’ Credentials β†’ New, paste your Bot/User OAuth token.
    b. Jira β†’ Credentials β†’ New, enter your domain, email/username, API token/password.
    c. ScrapeGraphAI β†’ Credentials β†’ New, paste your API key.
  3. Import Workflow: Upload or paste the JSON template into n8n.
  4. Edit the β€œSet Product URLs” Node: Replace placeholder URLs with your real product pages.
  5. Configure Schedule: Replace the Webhook Trigger with a Cron node (e.g., every Monday 09:00) or keep as webhook for manual runs.
  6. Map Jira Fields: In the Jira node, ensure Project Key, Issue Type (e.g., Task), and Summary fields match your instance.
  7. Test Run: Execute the workflow. Confirm Slack message appears and a Jira issue is created.
  8. Activate: Toggle the workflow to Active so it runs automatically.

Node Descriptions

Core Workflow Nodes:

Data Flow:

  1. Webhook β†’ Set (Product URLs) β†’ SplitInBatches β†’ ScrapeGraphAI β†’ Code (Trend Logic) β†’ If β†’ Slack / Jira β†’ Merge

Customization Examples

Change Price Deviation Threshold

// Code (Trend Logic) node
const threshold = 0.05; // 5% instead of default 10%

Alter Slack Message Template

{
  "text": `*${item.name}* price changed from *$${item.old}* to *$${item.new}* (${item.diff}%).`,
  "attachments": [
    {
      "title": "Product Link",
      "title_link": item.url,
      "color": "#4E79A7"
    }
  ]
}

Data Output Format

The workflow outputs structured JSON data:

{
  "product": "Winter Jacket",
  "url": "https://example.com/winter-jacket",
  "oldPrice": 129.99,
  "newPrice": 99.99,
  "change": -23.06,
  "scrapedAt": "2023-11-04T09:00:00Z",
  "status": "Below Threshold",
  "slackMsgId": "A1B2C3",
  "jiraIssueKey": "ECOM-101"
}

Troubleshooting

Common Issues

  1. ScrapeGraphAI returns empty data – Verify selectors; many sites use dynamic rendering, require a headless browser flag.
  2. Slack message not delivered – Check that the OAuth token scopes include chat:write; also confirm channel ID.
  3. Jira ticket creation fails – Field mapping mismatch; ensure Issue Type is valid and required custom fields are supplied.

Performance Tips

Pro Tips:

πŸ”— Nodes Used

Slack, Webhook, Jira Software

πŸ“₯ Import

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

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