Send Hacker News keyword digests with Claude and Gmail
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs on a schedule (every 6 hours). Along the way it connects Gmail. It also calls api.anthropic.com over HTTP.
How it runs
Trigger: On a schedule (every 6 hours).
- Set config: keywords & filters (Edit Fields (Set)): sets 8 fields: keywords, context, minPoints…
- Expand keyword searches (Code): runs custom JavaScript code
- Fetch HN per keyword (HTTP Request): calls an HTTP API
- Parse & tag HN stories (Code): runs custom JavaScript code
- Build AI analysis request (Code): runs custom JavaScript code
- Analyze HN with Claude (HTTP Request): calls api.anthropic.com (POST)
- Format the HN digest (Code): runs custom JavaScript code
- Email the HN digest (Gmail): uses Gmail
Services it uses
Other Anthropic + Gmail templates (192)
HTTP calls to: api.anthropic.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (5)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Gmail
n8n-nodes-base.gmail
From the author
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 1. Runs on a schedule every 6…