GenAiHub

Last checked 23 October 2026 — responded normally.

Archive changed web pages as PDFs in Google Drive with Google Sheets and Gaffa

Quick overview

Live
Open / InstallLast updated October 23, 2026

Description

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 in the sheet. How it works Runs every morning on a schedule. Reads the “Pages” tab in Google Sheets and keeps only rows that contain a “Page URL”. Uses Gaffa to load each URL in a browser, optionally scopes extraction to a provided CSS selector, then generates page text and a PDF. If the page cannot be read or no text is returned, writes an error status and “Last checked” date back to the same Google Sheets row. Hashes the extracted page text and compares it with the row’s previous “Last hash” value. When the hash has changed, downloads the generated PDF and uploads it to the target Google Drive folder with a dated filename, then updates “Last hash”, “Last changed”, “Last PDF”, “Last checked”, and “Status” in Google Sheets. When the hash has not changed, updates “Last checked” and sets the status to “no change” in Google Sheets. Setup Install the community node @gaffa-dev/n8n-nodes-gaffa and create a Gaffa API credential using your API key from gaffa.dev. Connect Google Sheets and Google Drive credentials in n8n. Create a Google Sheet with a tab named “Pages” and columns including Name, Page URL, Selector, Last hash, Last changed, Last PDF, Last checked, and Status. Create (or choose) a Google Drive folder for the archived PDFs and paste both the Google Sheet URL and Drive folder URL into the workflow’s Settings values. Adjust the schedule time and the wait_seconds setting if your pages load slowly or rely on JavaScript rendering. An n8n automation workflow template by James Mundy.

Community Metrics

Views
0
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

James Mundy

Platform

web

Pricing model

free

Categories

  • Automation

Tags

  • n8n
  • workflow
  • google-sheets
  • http-request
  • google-drive

Capabilities

  • 3 nodes

Information

TypeWorkflow
Sourcen8n
AddedOctober 21, 2026

Comments

?

Others in the same category, ranked by how often they are opened.