Quick overview
This workflow checks a web page on a schedule, uses Gaffa to extract the listed articles in a browser, filters out URLs it has already seen, and emails you an HTML digest of newly found articles via SMTP.
How it works
- Runs every hour on a scheduled trigger.
- Sets the target page URL and the CSS selector that contains the article list.
- Uses Gaffa to load the page in a real browser and extract article title, URL, and date/age from the selected element.
- Splits the extracted article list into individual items.
- Filters out articles whose URLs were already processed using workflow static data.
- Builds a single HTML digest and sends it by email via SMTP.
Setup
- Install the Gaffa community node (@gaffa-dev/n8n-nodes-gaffa) and add a Gaffa API key credential from gaffa.dev.
- Add an SMTP email credential and set the From and To email addresses in the email step.
- Update the page URL and CSS selector values to match the page you want to monitor.
- Adjust the schedule interval to how often you want the page checked, then activate the workflow.