Ecommerce and publishing

Hacker News and GitHub curation to X, LinkedIn and Telegram

Short answer

This n8n workflow crawls Hacker News every six hours, extracts GitHub project links in Python and deduplicates against Airtable. It fetches repository pages as Markdown, drafts X and LinkedIn copy with OpenAI and validates JSON. Two nodes include built-in error flags before posting and notifying via Telegram.

Catalogue ID
#1280
Functional nodes
19
Connections
20
Trigger
scheduleTrigger
AI layer
AI-assisted
Business problem solved

Business problem solved

Developer-focused teams spend hours scanning Hacker News and repository pages to curate daily social updates without repeating items already shared. Publishing raw project URLs without tailored LinkedIn and X copy lowers engagement.

Trigger

A schedule trigger runs every six hours to crawl new GitHub links and prepare social posts.

Connected systems

Connected systems

  • Hacker News and GitHub HTTP
  • Airtable
  • OpenAI
  • LinkedIn
  • X (Twitter)
  • Telegram
  • Self-hosted n8n

Every workflow is deployed on your own server with documentation, a run log and an error queue.

Workflow architecture

Workflow architecture

  1. 1. Crawl HN Home (Service and data) (connects to Extract Meta)
  2. 2. Extract Meta (Logic and routing) (connects to Search Item, Merge)
  3. 3. Filter Unposted Items (Logic and routing) (connects to Visit GH Page)
  4. 4. Visit GH Page (Service and data) (connects to Convert HTML To Markdown)
  5. 5. Convert HTML To Markdown (Service and data) (connects to Generate Content)
  6. 6. Filter Errored (Logic and routing) (connects to Create Item)
  7. 7. No Operation, do nothing (Logic and routing)
  8. 8. Update X Status (Service and data) (connects to No Operation, do nothing)
  9. 9. LinkedIn (Service and data) (connects to Update L Status)
  10. 10. Update L Status (Service and data) (connects to No Operation, do nothing)
  11. 11. Search Item (Service and data) (connects to Merge)
  12. 12. Create Item (Service and data) (connects to Ping Me)
  13. 13. X (Service and data) (connects to Update X Status)
  14. 14. Validate Generate Content (Logic and routing) (connects to Filter Errored)
  15. 15. Schedule Trigger (Trigger) (connects to Crawl HN Home)
  16. 16. Merge (Logic and routing) (connects to Filter Unposted Items)
  17. 17. Generate Content (AI layer) (connects to Validate Generate Content)
  18. 18. Ping Me (Service and data) (connects to Wait for 5 mins before…)
  19. 19. Wait for 5 mins before… (Logic and routing) (connects to X, LinkedIn)
  • Trigger
  • AI layer
  • Logic and routing
  • Service and data

Node positions and directed links are generated from the verified catalogue record.

Workflow steps

Workflow steps

  1. 01

    Hacker News crawl and Airtable diff

    Python BeautifulSoup extracts GitHub links from Hacker News and filters out repositories already logged in Airtable.

  2. 02

    GitHub page fetch and OpenAI copy

    Unposted repositories are fetched as Markdown and sent to gpt-4o-mini to draft X and LinkedIn copy.

  3. 03

    Error-guarded validation and filter

    The validation Code node carries a built-in error flag, and Filter Errored drops malformed generations safely.

  4. 04

    Wait, social post, Airtable and Telegram

    After a five-minute wait, posts go to LinkedIn and X with a built-in error flag, Airtable updates and Telegram pings you.

Error queue and human approval

Error queue and human approval

Built-in state in the catalogue workflow

The verified catalogue workflow includes two built-in node error flags using continueRegularOutput on the X posting node and the Validate Generate Content code node.

Production layer added by ALTAI

During live deployment, ALTAI inserts an explicit Telegram approval gate before external X or LinkedIn publishing, HTTP timeouts and a dead-letter run log.

Frequently asked

Social media AI agent to Telegram Frequently asked questions

One error flag isolates JSON parsing errors in Validate Generate Content, while the second prevents an X API failure from blocking Airtable and Telegram updates.

Yes. In production we move Telegram notifications ahead of the X and LinkedIn nodes behind an inline approval gate.

Every processed link is stored in Airtable and matched against incoming Hacker News items before AI drafting starts.

Mert Can Gundogdu
The founder takes the call, not a sales team
Next step

We write the proposal after we have found the problem together

In a thirty-minute call we listen to how you work and talk through where time and customers are slipping away. If you do not need a digital fix, we will tell you that too.

30 minutes · no preparation needed

The call and the week of discovery are both free.Read the terms

Chat on WhatsApp