{"product_id":"send-keyword-hacker-news-digests-with-algolia-smtp-n8n","title":"Send Keyword Hacker News Digests with Algolia + SMTP (n8n)","description":"\u003ch3\u003eGet a daily Hacker News keyword digest—automatically—sent by SMTP with duplicate protection\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow searches Hacker News via the Algolia API for the keywords you choose, compiles a plain-text digest of new high-scoring stories, and emails it using SMTP. It also remembers which story IDs were already sent so you don’t get repeats on future runs.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eRuns daily (or manually for testing)\u003c\/b\u003e to start the digest process.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eValidates and splits your keyword list\u003c\/b\u003e, building one Hacker News search query per keyword using your configured \u003ci\u003elookbackHours\u003c\/i\u003e window.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eFetches results from the Hacker News Algolia search API\u003c\/b\u003e for each keyword.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eMerges and filters stories\u003c\/b\u003e across all keywords, keeping only items that meet your \u003ci\u003eminPoints\u003c\/i\u003e threshold and removing any story IDs already emailed.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eFormats a plain-text digest\u003c\/b\u003e of the matching stories.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eSends the email via SMTP only when there are new matching stories\u003c\/b\u003e (no “empty” emails).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eTracks sent items using n8n workflow static data\u003c\/b\u003e, storing story IDs to prevent duplicates in subsequent executions.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cb\u003eNote:\u003c\/b\u003e manual test runs don’t save static data, so you may see the same stories again—this is expected.\u003c\/p\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eMonitor specific topics (e.g., “LLM”, “databases”, “devops”) and get a daily email of new Hacker News highlights.\u003c\/li\u003e\n  \u003cli\u003eGive SaaS teams a low-effort way to track emerging discussions relevant to their product roadmap.\u003c\/li\u003e\n  \u003cli\u003eFor automation engineers, validate keyword search logic and email delivery behavior in a repeatable n8n workflow.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cb\u003en8n (tested on 2.41.6)\u003c\/b\u003e\u003c\/li\u003e\n  \u003cli\u003eNodes: \u003ci\u003eif\u003c\/i\u003e, \u003ci\u003eset\u003c\/i\u003e, \u003ci\u003ecode\u003c\/i\u003e, \u003ci\u003ehttp request\u003c\/i\u003e, \u003ci\u003eemail send\u003c\/i\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eIntegration:\u003c\/b\u003e Hacker News via \u003cb\u003eAlgolia\u003c\/b\u003e search API (free; no API key needed)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eEmail delivery:\u003c\/b\u003e \u003cb\u003eSMTP\u003c\/b\u003e (configure an n8n SMTP Email credential and select it in the email-sending step)\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup \u0026amp; customization\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eUpdate Config values: \u003ci\u003ekeywords\u003c\/i\u003e, \u003ci\u003elookbackHours\u003c\/i\u003e, \u003ci\u003eminPoints\u003c\/i\u003e, \u003ci\u003emaxPerKeyword\u003c\/i\u003e, \u003ci\u003ealertTo\u003c\/i\u003e, and \u003ci\u003efromEmail\u003c\/i\u003e.\u003c\/li\u003e\n  \u003cli\u003eActivate the workflow so n8n persists the static “seen” list across executions.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46244547297459,"sku":"N8N-21140","price":77.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/81JrOqrhybhJL7wegIFTv_n1aiOmz2.png?v=1792401302","url":"https:\/\/buyflowscripts.com\/products\/send-keyword-hacker-news-digests-with-algolia-smtp-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}