Create and post AI social captions from WordPress blogs to Facebook, Instagram, X, and LinkedIn with GPT-4o via OpenRouter
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenRouter Chat Model, X (Formerly Twitter) and LinkedIn.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- If: checks a condition and branches into true / false
- HTML To Markdown (Markdown): converts between Markdown and HTML
- Clean Data (Edit Fields (Set)): sets 6 fields: post_title, post_content, post_link…
- AI Agent: runs an AI agent, with model: OpenRouter Chat Model; output parser: Structured Output Parser
- Create Tweet (X (Formerly Twitter)): uses X (Formerly Twitter)
- Post on FB (HTTP Request): calls an HTTP API (POST)
- Create Media Container (HTTP Request): calls an HTTP API (POST)
- HTTP Request: calls an HTTP API
- Post On IG (HTTP Request): calls an HTTP API (POST)
- Create a post (LinkedIn): uses LinkedIn
Services it uses
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 (10)
- Webhook
n8n-nodes-base.webhook - Markdown
n8n-nodes-base.markdown - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - X (Formerly Twitter)
n8n-nodes-base.twitter - LinkedIn
n8n-nodes-base.linkedIn - HTTP Request
n8n-nodes-base.httpRequest
From the author
Every time you publish a blog post on WordPress, this workflow automatically creates unique, platform-optimised captions for Facebook, Instagram, Twitter and LinkedIn — and publishes them all simultaneously without any manual effort. Built for content…