Templates / Auto-generate social posts from GitHub README/CHANGELOG updates with GPT-4o and OAuth

Auto-generate social posts from GitHub README/CHANGELOG updates with GPT-4o and OAuth

Ready for 3.0

by Jorge Martínez ✓ · 613 views · created 2025-08-19 · Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects GitHub, OpenAI Chat Model, X (Formerly Twitter) and LinkedIn.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. If: checks a condition and branches into true / false
  2. Get CHANGELOG (GitHub): get (file)
  3. Get README (GitHub): get (file)
  4. Extract from File: extracts data from a file (text)
  5. Extract from File: extracts data from a file (text)
  6. Merge: merges the data from its input branches
  7. Aggregate: combines items into one
  8. Basic LLM Chain: sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
  9. Post tweet (X (Formerly Twitter)): uses X (Formerly Twitter)
  10. LinkedIn: uses LinkedIn

Services it uses

GitHubOpenAI Chat ModelX (Formerly Twitter)LinkedIn

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (12)

From the author

Generate social posts from GitHub pushes to Twitter and LinkedIn On each GitHub push, this workflow checks if the commit set includes README.md and CHANGELOG.md, fetches both files, lets an LLM generate a Twitter and LinkedIn post, then publishes to Twitter…

Excerpt from Jorge Martínez's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.