Monitor competitor pages and email AI-ranked digests with Sheets, Gemini, Gmail
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on a schedule (every day at 08:00). Along the way it connects Google Sheets, Gmail and Google Gemini.
How it runs
Trigger: On a schedule (every day at 08:00).
- Set Monitor Configurations (Edit Fields (Set)): sets 3 fields: digest_recipient, significance_threshold, max_diff_lines
- Read Tracked Pages from Sheets (Google Sheets): uses Google Sheets
- Loop Over Tracked Pages (Loop Over Items (Split in Batches)): loops over the items in batches
- Aggregate: combines items into one
- Fetch HTML from Page URL (HTTP Request): calls an HTTP API
- Construct Email Digest (Code): runs custom JavaScript code
- Extract Comparable Text (Code): runs custom JavaScript code
- Check for Notable Changes (If): checks a condition and branches into true / false
- Check Page Change (If): checks a condition and branches into true / false
- Send Digest via Gmail (Gmail): uses Gmail
…plus 5 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Gemini + Google Sheets templates (819) · Other Google Gemini + Gmail templates (518)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Aggregate
n8n-nodes-base.aggregate - Gmail
n8n-nodes-base.gmail - No Operation, do nothing
n8n-nodes-base.noOp - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini
From the author
Quick overview This workflow runs daily to fetch competitor web pages listed in Google Sheets, detects meaningful content changes using a text fingerprint, scores and summarizes changes with Google Gemini, and emails a ranked HTML digest via Gmail only when…