Automate Trending Show HN Alerts Using n8n Workflow

Stay updated with trending posts from Hacker News’ Show HN section effortlessly. This n8n workflow scrapes data every day, filters for Show HN posts, formats and sends concise email alerts — saving you hours of manual tracking.
cron
httpRequest
htmlExtract
+4
Workflow Identifier: 1519
NODES in Use: Cron, HTTP Request, HTML Extract Items, HTML Extract Data, IF, Function, Email Send

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Automation Does ⚙️

This workflow runs each day at 1 PM.

It fetches the Hacker News homepage HTML.

It finds posts with titles that contain “Show HN:” and are trending.

The workflow lists these posts with their ranks and URLs.

Then it sends this list as a clean email to people you choose.

This helps avoid spending time looking through all posts by hand.

You get only the most interesting Show HN posts every day without errors.


Workflow Inputs, Processing, and Outputs

Inputs

  • Cron trigger: Time set to 1 PM daily to start the workflow.
  • Hacker News frontpage HTML: HTTP Request grabs current homepage code.

Processing Steps

  • HTML Extract Items node: Selects each story row (using CSS selector tr.athing).
  • HTML Extract Data node: Pulls out rank, title, and URL from each post.
  • IF node: Filters posts so only titles with “Show HN:” proceed.
  • Function node: Formats a text email body with rank, title, URL for each Show HN post.

Output

  • Email Send node: Sends a ready email alert with daily trending Show HN posts.

Who Should Use This Workflow

This is for people who want to save time sending daily Show HN posts.

If you spend time copying titles and links from Hacker News manually, this fits.

Also, it helps if you want only relevant posts without email clutter.


Tools and Services Used

  • n8n Automation Platform: Runs the workflow with nodes.
  • Hacker News website: Public source for latest posts.
  • SMTP Email Service: Sends the daily email alert.

Beginner Step-by-Step: How to Use This Workflow in n8n

Step 1: Import the Workflow

  1. Click the Download button on this page to save the workflow file locally.
  2. In the n8n editor, choose “Import from File.”
  3. Select the saved workflow file to load it inside n8n.

Step 2: Configure Credentials and Settings

  1. Add required email SMTP credentials in the Email Send node.
  2. Update email recipient addresses as needed inside the Email Send node.
  3. Check and confirm any URLs, IDs, or other parameters match your needs.

Step 3: Test the Workflow

  1. Manually trigger the workflow inside n8n to check it runs and emails data.
  2. Look at each node’s output for errors or missing data.
  3. Fix any configuration problems found in the test.

Step 4: Activate for Production

  1. Enable the Cron node to start daily scheduled runs.
  2. Monitor workflow runs by checking execution logs in n8n.
  3. Optionally, adjust schedule or email settings anytime.
  4. If using self-host n8n or running on a server, see self-host n8n for hosting help.

Common Customizations

  • Change schedule time: Modify Cron node for different daily alert hours.
  • Filter by other keywords: Add conditions in IF node for other titles besides “Show HN:”.
  • Send alerts to many recipients: Add multiple emails comma-separated in Email Send node.
  • HTML formatted emails: Edit the Function node to output HTML for rich email style.
  • Save post history: Add Google Sheets or Airtable nodes to log data.

Possible Problems and Fixes

  • No posts pass to IF node: Often wrong CSS selectors or missing HTML from HTTP Request; check selectors like tr.athing.
  • Email not sent: SMTP credentials missing or invalid; test email setup separately.
  • Email content wrong: Function node may have code errors or reference wrong fields; verify proper property names.

Pre-Production Checklist ✅

  • Manually trigger Cron node to check timing.
  • Confirm HTTP Request outputs full Hacker News page HTML.
  • Verify HTML Extract nodes extract correct post data.
  • Make sure IF node filters only “Show HN:” posts.
  • Send test email to confirm format and delivery.
  • Backup workflow and email settings.

Deployment Guide

Activate Cron node after testing.

Watch logs to catch errors at first runs.

Tweaks may be needed if Hacker News page layout changes.

This workflow works well on both n8n cloud and self-host n8n.


Summary

✓ Saves 20+ minutes daily by auto-finding Show HN posts.

✓ Avoids missing any trending Show HN stories on Hacker News.

✓ Sends clean, simple emails with title, rank, and link.

→ Workflow triggers each day at 1 PM automatically.

→ No manual copying or filtering needed once set up.

Frequently Asked Questions

Download the workflow file from this page. In the n8n editor, use ‘Import from File’ to upload it. Then add email SMTP credentials and update recipient emails as needed. Test once then activate the Cron node to start daily runs.
Usually the CSS selectors in HTML Extract nodes are wrong or HTTP Request did not get full HTML. Check selector ‘tr.athing’ and confirm HTTP Request returns complete page.
Yes. The workflow works on both n8n cloud and self-hosted environments. If hosting n8n on your server, see https://buldrr.com/hosting/ for setup help.
Modify the hour setting inside the Cron node to any preferred daily time. This controls when the workflow runs and sends the email.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free