π¬ Auto-post GitHub code summaries to LinkedIn using Gemini AI
β‘ 42 views Β· π¬ Content Creation & Video
π‘ Pro Tip β If youβre pulling LinkedIn data through HTTP requests or dealing with API restrictions, thereβs a community node called ScraperNode that handles this natively. It has dedicated scrapers for profiles, companies, jobs, and people search β you just pass a URL and get structured data back.
Description
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
- A second AI Agent converts the article into a LinkedIn-ready post (max 2500 chars)
- Automatically publishes the post to your LinkedIn profile
Set up steps
- Connect your GitHub account and configure the Webhook in your repoβs settings
- Add your Google Gemini API key under credentials
- Connect your LinkedIn OAuth2 account
- Activate the workflow β posts will publish automatically on every push
π Nodes Used
GitHub, Webhook, LinkedIn, AI Agent, Google Gemini Chat Model
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File