Generate AI-Powered LinkedIn Posts with Google Gemini and Gen-Imager
Ready for 3.0What this workflow does
This AI workflow has 8 nodes and runs when someone submits an n8n form (“LinkedIn Post Generator ”). Along the way it connects Google Gemini Chat Model and LinkedIn. It also calls gen-imager.p.rapidapi.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 gen-imager.p.rapidapi.com (POST)
- Decoder (Code): runs custom JavaScript code
- LinkedIn: uses LinkedIn
Services it uses
Other LinkedIn + Google Gemini templates (48)
HTTP calls to: gen-imager.p.rapidapi.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.
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 - LinkedIn
n8n-nodes-base.linkedIn
From the author
🚀 AI-Powered LinkedIn Post Automation --- 🧩 How It Works This workflow automatically generates LinkedIn posts based on a user-submitted topic, including both content creation and image generation, then publishes the post to LinkedIn. Ideal for marketers,…