LinkedIn content machine: Email-approved posts with Gemini AI
Ready for 3.0What this workflow does
This AI workflow has 21 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Gemini Chat Model, Gmail, Google Sheets and LinkedIn.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Edit Fields (Edit Fields (Set)): sets 2 fields: niche, audience
- Code: runs custom JavaScript code
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model
- Get row(s) in sheet (Google Sheets): uses Google Sheets
- Code: runs custom JavaScript code
- Switch: routes items into 3 branches
- Append row in sheet (Google Sheets): append
- Code: runs custom JavaScript code
- Code: runs custom JavaScript code
- Send a message (Gmail): uses Gmail
…plus 7 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Gemini + Google Sheets templates (819) · Other Google Gemini + Gmail templates (518)
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.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
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
From the author
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. -…