π Send Hacker News keyword digests with Claude and Gmail
β‘ 5 views Β· π Market Research & Insights
Description
Quick Overview
This workflow runs every 6 hours to search Hacker News (Algolia API) for your keywords, uses Anthropic Claude to filter and rank the most relevant stories, and emails you a concise digest via Gmail.
How it works
- Runs on a schedule every 6 hours.
- Builds an Algolia Hacker News search URL for each configured keyword using a look-back window and minimum points threshold.
- Fetches matching stories from the public HN Algolia API, then tags each story with its keyword, de-duplicates results, and sorts by points.
- Sends the matched stories and your reader context to Anthropic Claude to remove off-topic items and select the top picks with a short βwhy it mattersβ and an importance score.
- Formats the selected picks into an HTML email with story links, points, comment links, and the matching keyword.
- Sends the digest email to the configured recipient using Gmail.
Setup
- Add an Anthropic API key (used in the HTTP request headers) and choose the Claude model in the configuration.
- Connect your Gmail account credentials for sending email.
- Update the configuration values for keywords, reader context, minimum points, look-back window (hoursBack), topN, and the digest recipient email address.
π Nodes Used
HTTP Request, Gmail, Schedule Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File