{"product_id":"n8n-share-trending-github-from-hacker-news-to-x-linkedin","title":"n8n: Share Trending GitHub from Hacker News to X, LinkedIn","description":"\u003ch3\u003eAutomate sharing: pull trending GitHub links from Hacker News, draft posts with OpenAI, and publish to X + LinkedIn\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow scans the Hacker News homepage every 6 hours for GitHub links, drafts tailored copy with OpenAI for \u003cstrong\u003eX (Twitter)\u003c\/strong\u003e and \u003cstrong\u003eLinkedIn\u003c\/strong\u003e, stores everything in \u003cstrong\u003eAirtable\u003c\/strong\u003e, notifies you in \u003cstrong\u003eTelegram\u003c\/strong\u003e, then publishes to both social networks automatically.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns on a schedule\u003c\/strong\u003e (every 6 hours).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFinds GitHub links on Hacker News\u003c\/strong\u003e by requesting the Hacker News homepage HTML and extracting posts that link to GitHub (capturing the post title, the GitHub URL, and the Hacker News item link).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePrevents duplicates\u003c\/strong\u003e by looking up each Hacker News post ID in \u003cstrong\u003eAirtable\u003c\/strong\u003e and filtering out items already saved.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReads the GitHub repository page\u003c\/strong\u003e, converts the HTML to Markdown, and sends it to \u003cstrong\u003eOpenAI\u003c\/strong\u003e to generate JSON containing an \u003cstrong\u003eX\u003c\/strong\u003e post and a \u003cstrong\u003eLinkedIn\u003c\/strong\u003e post.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates outputs\u003c\/strong\u003e, saves the draft content to a new Airtable record (including source link, generated Tweet\/X copy, and LinkedIn copy), and discards errored results.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNotifies you via Telegram\u003c\/strong\u003e, waits 5 minutes, then publishes to \u003cstrong\u003eX\u003c\/strong\u003e and \u003cstrong\u003eLinkedIn\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUpdates Airtable status\u003c\/strong\u003e after completion (e.g., marking X and LinkedIn as done).\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS teams that want a steady stream of tech-focused updates without manual browsing of Hacker News.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers who need a reliable pipeline: \u003cstrong\u003eHacker News → GitHub → OpenAI → X + LinkedIn\u003c\/strong\u003e with Airtable tracking.\u003c\/li\u003e\n  \u003cli\u003eCreators and communities curating trending developer tools and repos with consistent messaging.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\/credentials:\u003c\/strong\u003e OpenAI, Airtable (Personal Access Token), Telegram, X (Twitter) OAuth2, LinkedIn OAuth2.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWorkflow logic:\u003c\/strong\u003e code, no op, wait, merge, filter, and twitter-related publishing steps.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAirtable fields:\u003c\/strong\u003e Post ID, Title, Url, Tweet, LinkedIn, plus status fields (e.g., TDone and LDone).\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45895369588915,"sku":"N8N-18668","price":43.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/bbwnP7Nl46QK9zkWPG5bE_HWKd75Dz.png?v=1787648736","url":"https:\/\/buyflowscripts.com\/products\/n8n-share-trending-github-from-hacker-news-to-x-linkedin","provider":"N8N Commerce","version":"1.0","type":"link"}