Track web page table changes with Google Sheets and Gaffa
UnknownWhat this workflow does
This workflow has 21 nodes and runs on a schedule (every day at 07:00). Along the way it connects Google Sheets and Gaffa (community).
How it runs
Trigger: On a schedule (every day at 07:00).
- Settings (Edit Fields (Set)): sets 6 fields: page_url, table_selector, key_column…
- Read the table (Gaffa): send request
- Read the sheet (Google Sheets): uses Google Sheets
- Table read? (If): checks a condition and branches into true / false
- Only rows still listed (Filter): keeps only the items that match a condition
- Fetch the rows (HTTP Request): calls an HTTP API
- Stop with an error (Stop and Error): stops the run with an error
- Compare with the sheet (Compare Datasets): uses Compare Datasets
- Only rows with a key (Filter): keeps only the items that match a condition
- Mark as new (Edit Fields (Set)): sets 3 fields: first_seen, last_changed, removed_on
…plus 10 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @gaffa-dev/n8n-nodes-gaffa is verified or supports 3.0 (used in Read the table).
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Gaffa
@gaffa-dev/n8n-nodes-gaffa.gaffa - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Filter
n8n-nodes-base.filter - Stop and Error
n8n-nodes-base.stopAndError - Google Sheets
n8n-nodes-base.googleSheets - Compare Datasets
n8n-nodes-base.compareDatasets
From the author
Quick overview This workflow runs every morning to scrape a table from a web page using Gaffa, sync it to a Google Sheets “Table” tab, and append a per-row audit trail of additions, changes, and removals to a “Changes” tab. How it works 1. Runs every morning…