n8n Workflow: Track Competitor Pages, Digest & Gmail Alerts
n8n Workflow: Track Competitor Pages, Digest & Gmail Alerts
Couldn't load pickup availability
n8n Workflow: Track Competitor Pages, Digest & Gmail Alerts
Track competitor page changes automatically—get an AI-ranked Gmail digest only when it matters
This n8n workflow runs daily to monitor competitor URLs from your Google Sheets, detects meaningful content changes using a text fingerprint, and then emails a ranked HTML digest via Gmail—summarized and scored by Google Gemini—only when changes meet your significance threshold.
What this workflow does
Scheduled monitoring: Executes once per day, loading your digest recipient, significance threshold, and diff size limits.
Read your tracked URLs: Pulls the list of URLs and stored snapshots from a Google Sheets tab named “Pages” (columns include url, name, last_hash, last_snapshot, last_checked).
Detect real content changes: Fetches each page’s HTML, converts it to normalized readable text, then generates a hash that tolerates noisy markup differences.
Skip unchanged pages: If the hash is unchanged, the workflow avoids unnecessary AI processing.
Create a capped diff: For changed pages, it computes an added/removed line diff (capped by your configured maximum) before analysis.
AI scoring + summarization: Sends the diff to Google Gemini to assign a significance score (0–5) plus category, headline, summary, and “why it matters,” then writes the verdict back to Google Sheets.
Update snapshots: Stores the latest hash, snapshot text, and last-checked timestamp in Google Sheets.
Email only notable updates: Aggregates results, builds a sorted HTML email digest, and sends via Gmail only if changes meet or exceed the threshold.
Use cases
SaaS operators watching competitor pricing, packaging, and feature pages for meaningful updates.
Competitive intelligence teams wanting daily, ranked change summaries instead of manual browsing.
Automation engineers building a reliable “diff + AI digest” pipeline for web page monitoring.
Technical details
Workflow logic: Uses nodes such as if, set, code, and no op to control skipping, diff handling, and aggregation.
Digest delivery: Sends results via Gmail (or sends nothing when no significant changes are found).
Change analysis: Uses a text fingerprint (hash) to detect changes with noise tolerance, then leverages Google Gemini to score and summarize diffs.
Data storage: Reads and updates Google Sheets (OAuth credentials required).
