Ai-powered social media content generator & publisher
Needs changesWhat this workflow does
This AI workflow has 20 nodes and runs when someone submits an n8n form. Along the way it connects Google Gemini Chat Model, Facebook Graph API, LinkedIn and X (Formerly Twitter).
How it runs
Trigger: When someone submits an n8n form.
- Split Form Input (Edit Fields (Set)): sets or maps fields
- Split Data (Edit Fields (Set)): sets or maps fields
- Data for AI (Edit Fields (Set)): sets or maps fields
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
- Aggregate: combines items into one
- Upload Image (n8n Form): shows the next form page
- Nest Top Meta (Edit Fields (Set)): sets or maps fields
- Rename Image Binary Top Image (Code): runs custom JavaScript code
- X (X (Formerly Twitter)): uses X (Formerly Twitter)
- Publish to LinkedIn (LinkedIn): uses LinkedIn
…plus 7 more steps. See the full node list below.
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 AI Agent (v1.7): 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.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (13)
- n8n Form Trigger
n8n-nodes-base.formTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Edit Fields (Set)
n8n-nodes-base.set - n8n Form
n8n-nodes-base.form - Aggregate
n8n-nodes-base.aggregate - Code
n8n-nodes-base.code - Facebook Graph API
n8n-nodes-base.facebookGraphApi - LinkedIn
n8n-nodes-base.linkedIn - X (Formerly Twitter)
n8n-nodes-base.twitter - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge
From the author
AI-Powered Social Media Content Generator & Publisher 🚀 This AI-driven n8n workflow automates social media content creation and publishing across LinkedIn, Instagram, Facebook, and Twitter (X). It generates engaging, platform-optimized posts using Google…