Automate LinkedIn post creation with image using Google Gemini & DALL-E
Needs changesWhat this workflow does
This AI workflow has 14 nodes and runs on a schedule (every 6 hours). Along the way it connects Google Gemini Chat Model, LinkedIn and OpenAI.
How it runs
Trigger: On a schedule (every 6 hours).
- Set Before Starting (Edit Fields (Set)): sets or maps fields
- Content Topic Generator (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
- Content Creator (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Structured Output Parser
- Hashtag Generator / SEO (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
- Generate an image (OpenAI): work with image
- Merge: merges the data from its input branches
- Create a post (LinkedIn): uses LinkedIn
Services it uses
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 Content Topic Generator (v1.8), Hashtag Generator / SEO (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) Content Topic Generator (v1.8), Hashtag Generator / SEO (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - LinkedIn
n8n-nodes-base.linkedIn - Merge
n8n-nodes-base.merge - OpenAI
@n8n/n8n-nodes-langchain.openAi - Edit Fields (Set)
n8n-nodes-base.set
From the author
This n8n template from Intuz delivers a complete AI-powered solution for automated LinkedIn posts, including unique content, custom images, and optimized hashtags. Use cases are many: Generate and schedule tailored LinkedIn content for different use-cases. By…