LinkedIn content machine: Email-approved posts with Gemini AI
Ready for 3.0Ready 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.
Worth a look
- Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger)
Nodes used (10)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - Gmail Trigger
n8n-nodes-base.gmailTrigger - Google Sheets
n8n-nodes-base.googleSheets - Switch
n8n-nodes-base.switch - LinkedIn
n8n-nodes-base.linkedIn
What it does
Turn a simple email workflow into a LinkedIn content machine. Generate post ideas, draft full posts, and auto-publish to LinkedIn all controlled by replying to emails. --- π Purpose Automate your LinkedIn posting pipeline using AI + Email approvals. - Generate 10 scroll-stopping post ideas tailored to your niche & audience. - Approve your favorite by replying to the email with a number. - Receive 3 AI-written drafts for the chosen idea. - Pick your favorite draft via email reply. - The selected post gets auto-published to LinkedIn β
. - All steps are logged in Google Sheets. --- π Apps Used - Google Gemini β generates ideas & drafts - Gmail β email-based approval workflow - Google Sheets β tracks ideas, drafts, and published posts - LinkedIn API β posts directly to your company or personal account --- β¨ Highlights - π¬ Email-based approval β no dashboards, just reply with a number - π 10 AI-generated content ideas + 3 full drafts per topic - π End-to-end tracking in Google Sheets (ideas β drafts β published) - β‘ Auto-posting directly to LinkedIn - β
Final confirmation email with preview --- π€ Best For - Startup founders - Agencies managing multiple clientsβ LinkedIn - Solopreneurs & creators who want consistent posting --- π οΈ Workflow Overview mermaid flowchart TB A"Manual Trigger" --> B"AI Agent - Generate 10 Ideas" B --> C"Code - Parse JSON + Correlation ID" C --> D"Google Sheets - Append Ideas" D --> E"Gmail - Send Ideas Email" E --> F"Gmail Trigger - Await Reply" F --> G"Code1 - Extract Reply Number" G --> H"Google Sheets - Fetch Row" H --> I{"Switch Stage"} I -- Ideas --> J"AI Agent - Generate 3 Drafts" J --> K"Code3 - Parse Drafts" K --> L"Google Sheets - Update Drafts" L --> M"Gmail - Send Drafts Email" I -- Drafts --> N"Code4 - Select Final Draft" N --> O"LinkedIn - Publish Post" O --> P"Google Sheets - Update Posted" P --> Q"Gmail - Send Confirmation"