n8n Workflow: HN GitHub Posts to X & LinkedIn with OpenAI + Airtable
n8n Workflow: HN GitHub Posts to X & LinkedIn with OpenAI + Airtable
Regular price
£23.99
Regular price
£23.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
âš¡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Workflow: HN GitHub Posts to X & LinkedIn with OpenAI + Airtable
Regular price
£23.99
Regular price
£23.99
Sale price
Unit price
/
per
Turn Hacker News GitHub launches into ready-to-post X (Twitter) + LinkedIn updates—automatically
This n8n workflow scans the Hacker News front page every 6 hours for posts that link to GitHub, generates polished X (Twitter) and LinkedIn drafts with OpenAI (gpt-4o-mini), queues them in Airtable, asks you to review via Telegram, and then publishes to both platforms.
What this workflow does
- Runs on a schedule: executes every 6 hours to pull the Hacker News homepage and extract front-page submissions.
- Filters GitHub links: keeps only submissions that link to GitHub repositories.
- Deduplicates with Airtable: checks Airtable for existing records matching each Hacker News post and only processes items not logged before.
- Builds content using OpenAI: fetches each new GitHub repository page, converts it to Markdown, and sends the details to OpenAI (gpt-4o-mini) to generate Twitter/X and LinkedIn copy in JSON format.
- Validates output: drops any items where the expected twitter or linkedin fields are missing.
- Creates drafts in Airtable: stores the source URL, title, and drafted X + LinkedIn content in a new Airtable record.
- Review in Telegram: sends drafts to Telegram for review, waits five minutes, then publishes to X and LinkedIn.
- Marks completion: updates the Airtable record to flag the X and LinkedIn posts as published.
Use cases
- Share daily/weekly developer discovery on social without manual research.
- Promote relevant GitHub projects found on Hacker News while keeping a verifiable Airtable log.
- Maintain human-in-the-loop approval using Telegram before publishing to X and LinkedIn.
Technical details
- Airtable: Airtable Personal Access Token; base/table IDs for storing Post, Title, Url, Tweet, LinkedIn, and publish completion fields (e.g., TDone/LDone).
- OpenAI (LangChain): uses gpt-4o-mini to generate X and LinkedIn drafts from GitHub content converted to Markdown.
- Telegram: sends drafts for review and includes a 5-minute wait before posting.
- X / Twitter: publishes the validated draft content.
- LinkedIn: publishes the validated draft content.
- Workflow nodes: code, no op, wait, merge, filter, twitter (as reflected in the workflow’s design).
