Send daily AI competitor change digests with ScraperAPI, Claude and Slack
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 Runs on a daily schedule at 8am (and can be run manually to initialize the storage table). Builds a list of competitor URLs to monitor, including the ScraperAPI proxy country code for each target. Iterates through the URLs, scrapes each page via ScraperAPI, cleans/truncates the markdown content, and computes a hash for change detection. Looks up the previous snapshot for each URL in an n8n Data Table and determines whether the content has materially changed. 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. For unchanged pages, upserts the latest “last seen” timestamp and hash into the Data Table. 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 Add a ScraperAPI credential and ensure it is selected in the ScraperAPI node. Add an Anthropic credential for the Claude chat model used by the AI agent. Configure the competitor URL list (and optional countryCode) in the “Prepare URL List” code step. Add Slack credentials and set the target channel for posting the digest. Configure email delivery by setting up either Gmail credentials and the recipient address, or SMTP settings (from/to addresses and SMTP credential details).
Related Templates
AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)
This workflow is designed for freelancers, solopreneurs, and business owners who receive a high volume of irrelevant mes...
Generate Food Recipes from Gmail & Form Requests with Ollama & Llama 3.2
This n8n template demonstrates how to create an intelligent food recipe assistant that accepts requests via Gmail and we...
Automatic News Summarization & Email Digest with GPT-4, NewsAPI and Gmail
📰 AI News Digest Agent: Auto News Summarizer & Email Newsletter Create an intelligent news curation system that automat...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments