LinkedIn Content Machine: Email-Approved Posts with Gemini AI

Go to Workflow
0 views
Built by Parag Javale Parag Javale
Created on June 05, 2026

Description

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


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"]
`

Nodes Used (6)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
Google Sheets
n8n-nodes-base.googleSheets
LinkedIn
n8n-nodes-base.linkedIn