Generate LinkedIn posts with Gemini content & Imagen images for instant publishing
Ready for 3.0What this workflow does
This AI workflow has 12 nodes and runs when someone submits an n8n form (“LinkedIn Post Generator ”). Along the way it connects Google Gemini Chat Model. It also calls us-central1-aiplatform.googleapis.com and api.linkedin.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“LinkedIn Post Generator ”).
- Mapper (Edit Fields (Set)): sets 1 field: chatInput
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model
- Normalizer (Code): runs custom JavaScript code
- Text to image (HTTP Request): calls us-central1-aiplatform.googleapis.com (POST)
- Register Image Upload (HTTP Request): calls api.linkedin.com (POST)
- Convert to binary buffer (Code): runs custom JavaScript code
- Upload Image to LinkedIn (HTTP Request): calls an HTTP API (PUT)
- Code: runs custom JavaScript code
- Wait: waits 60 seconds
- HTTP Request: calls api.linkedin.com (POST)
Services it uses
Other LinkedIn + Google Gemini templates (48)
HTTP calls to: us-central1-aiplatform.googleapis.com, api.linkedin.com
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- n8n Form Trigger
n8n-nodes-base.formTrigger - 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 - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait
From the author
🚀 AI-Powered LinkedIn Post Generator with Automated Image Creation 📋 Overview Transform any topic into professional LinkedIn posts with AI-generated content and custom images! This workflow automates the entire process from topic input to published LinkedIn…