See llms.txt for all machine-readable content.

Back to Templates

Email article digests from any web page with Gaffa and Resend

Quick overview

Get an email whenever a page you follow publishes something new. The workflow checks the page on a schedule, remembers what it has already sent, and mails the new items as one digest. No feed needed.

How it works

  1. The Schedule Trigger checks the page on a cadence you pick, hourly by default.
  2. The Settings node holds the page URL and the CSS selector of the article list, and the Build the Gaffa request node builds the request from them.
  3. Gaffa loads the page in a real browser, so JavaScript-rendered lists work, and extracts every article as title, url and date.
  4. Keep only new articles compares each URL against the seen_articles data table of what has already been sent. The table is created if it is missing.
  5. New articles are recorded in the table, formatted into one HTML digest and sent through Resend.

Setup

  1. Install the Gaffa community node (npm package @gaffa-dev/n8n-nodes-gaffa) and the Resend community node (npm package n8n-nodes-resend).
  2. Create an API key at gaffa.dev and add it as the Gaffa API credential.
  3. Connect your Resend account in the Send the digest node and set the from and to addresses.
  4. Put the page URL and the CSS selector of the article list into the Settings node, then activate the workflow.

Requirements

  • A Gaffa API key.
  • A Resend account.

Customization

  • Adjust the Schedule Trigger to how often the page updates.
  • The selector narrows what Gaffa reads, pick the element that wraps the article list.
  • Clear the seen_articles data table to get the full list again in the next digest.