πŸ“Š Send daily AI competitor change digests via ScraperAPI, Claude, Slack and email

⚑ 36 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

Quick Overview

This workflow monitors a list of competitor web pages daily using ScraperAPI, detects meaningful content changes, summarizes them with Anthropic Claude, stores the latest snapshots in an n8n Data Table, and sends a daily digest to Slack and email (Gmail or SMTP).

How it works

  1. Runs on a daily schedule at 8am (and can be run manually to initialize the storage table).
  2. Builds a list of competitor URLs to monitor, including the ScraperAPI proxy country code for each target.
  3. Iterates through the URLs, scrapes each page via ScraperAPI, cleans/truncates the markdown content, and computes a hash for change detection.
  4. Looks up the previous snapshot for each URL in an n8n Data Table and determines whether the content has materially changed.
  5. For changed pages, sends the previous and current snapshots to Anthropic Claude to generate a short change summary and upserts the updated snapshot and summary back into the Data Table.
  6. For unchanged pages, upserts the latest β€œlast seen” timestamp and hash into the Data Table.
  7. After processing, fetches today’s changed summaries from the Data Table, assembles a daily digest, and posts it to Slack and sends it via Gmail and/or SMTP.

Setup

  1. Add a ScraperAPI credential and ensure it is selected in the ScraperAPI node.
  2. Add an Anthropic credential for the Claude chat model used by the AI agent.
  3. Configure the competitor URL list (and optional countryCode) in the β€œPrepare URL List” code step.
  4. Add Slack credentials and set the target channel for posting the digest.
  5. Configure email delivery by setting up either Gmail credentials and the recipient address, or SMTP settings (from/to addresses and SMTP credential details).

πŸ”— Nodes Used

Send Email, Slack, Webhook, Gmail, Schedule Trigger, AI Agent

πŸ“₯ Import

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

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