Social media content generator and publisher | X, Linkedin
Needs changesWhat this workflow does
This AI workflow has 8 nodes and runs when someone submits an n8n form (“post”). Along the way it connects Google Gemini Chat Model, X (Formerly Twitter) and LinkedIn.
How it runs
Trigger: When someone submits an n8n form (“post”).
- Generate AI Content (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; output parser: Format AI Output
- Post to X (X (Formerly Twitter)): uses X (Formerly Twitter)
- Post to LinkedIn (LinkedIn): uses LinkedIn
- Append Linkedin And X Publishing Responses (Merge): merges the data from its input branches
- Show Confirmation (n8n Form): shows the next form page
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 Generate AI Content (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) Generate AI Content (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (8)
- Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - n8n Form Trigger
n8n-nodes-base.formTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - X (Formerly Twitter)
n8n-nodes-base.twitter - LinkedIn
n8n-nodes-base.linkedIn - Merge
n8n-nodes-base.merge - n8n Form
n8n-nodes-base.form
From the author
Generate and Publish AI Content to LinkedIn and X (Twitter) with n8n Overview This n8n workflow automates the generation and publishing of AI-powered social media content across LinkedIn and X (formerly Twitter). By leveraging AI, this workflow helps social…