Example
5 min read

Hacker News Alerts

June 4, 2024

Our "Hacker News Alerts" graph will monitor Hacker News for any topic you input and send customised email alerts based on the search results to an email of your choosing! Obviously, the use case here is might not be your first choice but with some tweaking you can make some pretty powerful automations...

This graph is particularly useful for those who want to stay updated on specific subjects on Hacker News without manually searching the site regularly. It automates the process of finding relevant discussions or news articles and promptly informs the user via email, so you miss nothing of interest!

Workflow Breakdown

  1. Input Search and Pages:
    • Enter a search query (e.g., a topic to monitor) and the number of pages to fetch from Hacker News.
  2. Fetch and Parse Data:
    • Fetch specified pages from Hacker News and parse the HTML to extract titles and links.
  3. Match Topics:
    • Use a regular expression to find titles that match the search query.
  4. Send Email Alerts:
    • Format the matching topics into an email and send it to the specified address.

This setup could be adapted for other uses as well, such as monitoring other news sites, forums, or even social media for specific keywords or phrases, we just wanted to demonstrate the flexibility and power of NodeScript in automating web monitoring and notification tasks.

👇👇Try it here 👇👇