Auto-generate LinkedIn content with Gemini AI: posts & images 24/7
Needs changesWhat this workflow does
This AI workflow has 17 nodes and runs on Google Sheets events. Along the way it connects Google Sheets, Google Gemini Chat Model, Google Gemini and Google Drive. It also calls api.linkedin.com over HTTP.
How it runs
Trigger: On Google Sheets events.
- If: checks a condition and branches into true / false
- Limit: keeps the first few items
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
- Code: runs custom JavaScript code
- Generate Image with Gemini (Google Gemini): work with image
- Upload file (Google Drive): uses Google Drive
- Share file (Google Drive): share
- Update row in sheet (Google Sheets): update
- HTTP Request: calls api.linkedin.com
- Register Image Upload (HTTP Request): calls api.linkedin.com (POST)
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: api.linkedin.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (11)
- Google Sheets Trigger
n8n-nodes-base.googleSheetsTrigger - If
n8n-nodes-base.if - Limit
n8n-nodes-base.limit - AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Sheets
n8n-nodes-base.googleSheets - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Google Drive
n8n-nodes-base.googleDrive
From the author
🔄 How It Works - LinkedIn Post with Image Automation Overview This n8n automation creates and publishes LinkedIn posts with AI-generated images automatically. It's a complete end-to-end solution that transforms simple post titles into engaging social media…