Archive changed web pages as PDFs in Google Drive with Google Sheets and Gaffa
UnknownWhat this workflow does
This workflow has 14 nodes and runs on a schedule (every day at 06:00). Along the way it connects Google Sheets, Google Drive and Gaffa (community).
How it runs
Trigger: On a schedule (every day at 06:00).
- Settings (Edit Fields (Set)): sets 4 fields: sheet_url, sheet_name, folder_url…
- Read the pages (Google Sheets): uses Google Sheets
- Only pages with a URL (Filter): keeps only the items that match a condition
- Read the page (Gaffa): send request
- Page read? (If): checks a condition and branches into true / false
- Hash the page text (Edit Fields (Set)): sets 3 fields: row_number, hash, pdf_url
- Note the error (Edit Fields (Set)): sets 3 fields: row_number, Last checked, Status
- Changed? (If): checks a condition and branches into true / false
- Update the row (Google Sheets): update
- Fetch the PDF (HTTP Request): calls an HTTP API
…plus 3 more steps. See the full node list below.
Services it uses
Other Google Drive + Google Sheets templates (720)
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 page).
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Filter
n8n-nodes-base.filter - Gaffa
@gaffa-dev/n8n-nodes-gaffa.gaffa - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Google Drive
n8n-nodes-base.googleDrive
From the author
Quick overview This workflow runs every morning, reads a list of web pages from Google Sheets, uses Gaffa to capture each page as text and a PDF, and saves a new dated PDF to Google Drive only when the page content changes, updating the tracking columns back…