Send trending "Show HN" to email
Needs changesWhat this workflow does
This workflow has 7 nodes and runs on a schedule (legacy Cron node). It uses only n8n's built-in nodes. It also calls news.ycombinator.com over HTTP.
How it runs
Trigger: On a schedule (legacy Cron node).
- HTTP Request: calls news.ycombinator.com
- HTML Extract: uses HTML Extract
- HTML Extract: uses HTML Extract
- If: checks a condition and branches into true / false
- Function: runs custom JavaScript (legacy Function node)
- Send Email: sends an email over SMTP
HTTP calls to: news.ycombinator.com
Scraping pages by hand? Firecrawl is a simpler option (10% off for new users).
Before you upgrade to n8n 3.0
3 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- Cron: replace with Schedule Trigger.
- Function (legacy) in Function: replace with Code node, mode 'Run Once for All Items'.
- HTML Extract in HTML Extract Items, HTML Extract Data: replace with HTML node, 'Extract HTML Content' operation.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2020 — 25% of templates published before 2025 need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| Cron Cron | Schedule Trigger |
| Function (legacy) Function | Code node, mode 'Run Once for All Items' |
| HTML Extract HTML Extract Items, HTML Extract Data | HTML node, 'Extract HTML Content' operation |
Nodes used (6)
- If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend - Cron
n8n-nodes-base.cron - Function
n8n-nodes-base.function - HTTP Request
n8n-nodes-base.httpRequest - HTML Extract
n8n-nodes-base.htmlExtract
From the author
1. Triggers every day at 1pm 1. Gets the current content from Hacker News 1. Gets all the different submission items 1. Extracts the rank, title and url 1. Checks if it is a "Show HN" submission 1. Combines the items into a simple email text 1. Sends an email…