Track weekly UK grocery EAN price changes with Apify, Google Sheets and Gmail
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs on a schedule (every week at 08:00). Along the way it connects Google Sheets and Gmail.
How it runs
Trigger: On a schedule (every week at 08:00).
- Settings (Edit Fields (Set)): sets 7 fields: standbyUrl, eans, thresholdPct…
- Build basket request (Code): runs custom JavaScript code
- Valid basket? (If): checks a condition and branches into true / false
- Price the basket (HTTP Request): calls an HTTP API (POST)
- Email a problem (Gmail): uses Gmail
- Check the answer (Code): runs custom JavaScript code
- Answer ok? (If): checks a condition and branches into true / false
- Flatten prices (Code): runs custom JavaScript code
- Read history (Google Sheets): uses Google Sheets
- Compare with last week (Code): runs custom JavaScript code
…plus 5 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102)
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 (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Split Out
n8n-nodes-base.splitOut - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow runs every Monday to price a fixed list of grocery EANs using the UK Supermarket Price Scraper on Apify, stores weekly price history in Google Sheets, compares results with the most recent prior week, and emails you via Gmail only…