{"product_id":"n8n-workflow-track-competitor-pages-digest-gmail-alerts","title":"n8n Workflow: Track Competitor Pages, Digest \u0026 Gmail Alerts","description":"\u003ch3\u003eTrack competitor page changes automatically—get an AI-ranked Gmail digest only when it matters\u003c\/h3\u003e\n\u003cp\u003eThis 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.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cp\u003e\u003cstrong\u003eScheduled monitoring:\u003c\/strong\u003e Executes once per day, loading your digest recipient, significance threshold, and diff size limits.\u003c\/p\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cp\u003e\u003cstrong\u003eRead your tracked URLs:\u003c\/strong\u003e Pulls the list of URLs and stored snapshots from a Google Sheets tab named \u003cem\u003e“Pages”\u003c\/em\u003e (columns include \u003cem\u003eurl, name, last_hash, last_snapshot, last_checked\u003c\/em\u003e).\u003c\/p\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cp\u003e\u003cstrong\u003eDetect real content changes:\u003c\/strong\u003e Fetches each page’s HTML, converts it to normalized readable text, then generates a hash that tolerates noisy markup differences.\u003c\/p\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cp\u003e\u003cstrong\u003eSkip unchanged pages:\u003c\/strong\u003e If the hash is unchanged, the workflow avoids unnecessary AI processing.\u003c\/p\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cp\u003e\u003cstrong\u003eCreate a capped diff:\u003c\/strong\u003e For changed pages, it computes an added\/removed line diff (capped by your configured maximum) before analysis.\u003c\/p\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cp\u003e\u003cstrong\u003eAI scoring + summarization:\u003c\/strong\u003e Sends the diff to \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e to assign a significance score (0–5) plus category, headline, summary, and “why it matters,” then writes the verdict back to Google Sheets.\u003c\/p\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cp\u003e\u003cstrong\u003eUpdate snapshots:\u003c\/strong\u003e Stores the latest hash, snapshot text, and last-checked timestamp in Google Sheets.\u003c\/p\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cp\u003e\u003cstrong\u003eEmail only notable updates:\u003c\/strong\u003e Aggregates results, builds a sorted HTML email digest, and sends via \u003cstrong\u003eGmail\u003c\/strong\u003e only if changes meet or exceed the threshold.\u003c\/p\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cp\u003eSaaS operators watching competitor pricing, packaging, and feature pages for meaningful updates.\u003c\/p\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cp\u003eCompetitive intelligence teams wanting daily, ranked change summaries instead of manual browsing.\u003c\/p\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cp\u003eAutomation engineers building a reliable “diff + AI digest” pipeline for web page monitoring.\u003c\/p\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cp\u003e\u003cstrong\u003eWorkflow logic:\u003c\/strong\u003e Uses nodes such as \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, and \u003cstrong\u003eno op\u003c\/strong\u003e to control skipping, diff handling, and aggregation.\u003c\/p\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cp\u003e\u003cstrong\u003eDigest delivery:\u003c\/strong\u003e Sends results via \u003cstrong\u003eGmail\u003c\/strong\u003e (or sends nothing when no significant changes are found).\u003c\/p\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cp\u003e\u003cstrong\u003eChange analysis:\u003c\/strong\u003e Uses a text fingerprint (hash) to detect changes with noise tolerance, then leverages \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e to score and summarize diffs.\u003c\/p\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cp\u003e\u003cstrong\u003eData storage:\u003c\/strong\u003e Reads and updates \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e (OAuth credentials required).\u003c\/p\u003e\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45967630696627,"sku":"N8N-19249","price":68.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/4F0Q9Hen2mT_h3a4xk8of_2RbkDZ9q.png?v=1788686100","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-track-competitor-pages-digest-gmail-alerts","provider":"N8N Commerce","version":"1.0","type":"link"}