Templates / Auto-post GitHub code summaries to LinkedIn using Gemini AI

Auto-post GitHub code summaries to LinkedIn using Gemini AI

Ready for 3.0

by karnVen · 42 views · created 2026-03-20 · Content Creation, 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 10 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects GitHub, Google Gemini Chat Model and LinkedIn.

How it runs

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

  1. List Repository Files (GitHub): list (file)
  2. Fetch File Content (GitHub): get (file)
  3. Decode Base64 Content (Code): runs custom JavaScript code
  4. Merge Code Snippets (Code): runs custom JavaScript code
  5. Analyze Code Context (AI Agent): runs an AI agent, with model: Gemini Analysis Model
  6. Draft LinkedIn Post (AI Agent): runs an AI agent, with model: Gemini Drafting Model
  7. Publish to LinkedIn (LinkedIn): uses LinkedIn

Services it uses

GitHubGoogle Gemini Chat ModelLinkedIn

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 (6)

From the author

How it works - Listens for a GitHub push event via Webhook - Lists and fetches all files from the pushed repository - Decodes base64 file content and merges it into a single text block - AI Agent (Gemini 2.5 Flash) analyzes the code and generates a article -…

Excerpt from karnVen'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.