This powerful n8n workflow establishes an MCP Server, allowing AI agents to generate and post content directly to LinkedIn. Leverage this n8n template for seamless social media automation and control.
Download this n8n workflow template and start using it instantly.
AI Developers needing robust, externally callable tools.
Automation Specialists managing social media content.
Users seeking high-performance, modular n8n templates for AI integration.
Anyone looking to expose LinkedIn functionality to a LangChain or similar AI agent framework.
This specialized n8n template transforms your n8n instance into a secure, external tool server callable by advanced AI agents using the Multi-Channel Protocol (MCP). Instead of embedding complex LinkedIn API logic and authentication within your AI agent's codebase, this n8n workflow handles all execution logic via a dedicated n8n node.
When an AI agent determines that a new LinkedIn post is required (based on its internal reasoning), it calls the designated n8n trigger (the MCP endpoint) with the necessary input parameters (like post text). The LinkedIn n8n node then executes the action using the dynamic $fromAI() expression to securely retrieve data provided by the AI model. This creates an extremely powerful and modular AI automation workflow, ensuring reliable social media publishing.
The process begins with the LinkedIn Tool MCP Server n8n trigger. This specialized MCP n8n trigger listens for inbound HTTP requests from an AI agent configuration via the defined path /linkedin-tool-mcp. This acts as the primary entry point for the AI automation workflow.
Once the AI agent sends a payload requesting the create operation, the request is routed to the Create a post n8n node (a standard LinkedIn n8n node). This LinkedIn n8n node is configured to use dynamic expressions: ={{ $fromAI('Text', ...) }} for the post body, along with expressions for Person and ShareMediaCategory.
These $fromAI() expressions map the parameters sent by the AI agent directly into the LinkedIn n8n node's fields, ensuring the correct content is published.
After successfully posting the content, the response from the LinkedIn n8n node is automatically formatted by the MCP n8n trigger and returned to the calling AI agent, providing immediate feedback on the operation's status and completing the core n8n workflow execution.
Create a post n8n node.LinkedIn Tool MCP Server n8n trigger node. LinkedIn Tool MCP Server (n8n trigger):
Function: Acts as the HTTP listener and dispatcher for AI agent requests using the Multi-Channel Protocol. This n8n trigger defines the entry point for the AI automation workflow.
Key Configuration: Path is set to linkedin-tool-mcp.
Create a post (LinkedIn n8n node):
Function: Executes the core action of publishing content to LinkedIn.
Key Configuration: All parameters (text, person, shareMediaCategory) are configured to pull data dynamically from the AI agent using the specific MCP expression ={{ $fromAI('ParameterName', 'DefaultValue', 'type') }}. This ensures the n8n node receives tailored instructions from the AI agent.
Automate becoming a LinkedIn Top Voice using this powerful n8n workflow. It discovers advice articles, generates unique contributions via OpenAI, and posts alerts to Slack.

Generate high-quality, research-backed LinkedIn posts daily using this powerful n8n workflow. It combines Perplexity research with GPT-4 content rewriting and saves results to Google Sheets.

Use this powerful n8n workflow to generate, refine, and publish professional LinkedIn content directly from Telegram. Features include voice transcription, GPT-4 integration, and a clear approval loop.

Build a sophisticated literary dictionary endpoint using n8n and GPT-4o-mini. This n8n workflow translates English/German words to Chinese, generates literary examples, and saves vocabulary to Supabase.

A hacker by nature, programmer by trade ⚒️ I'm looking to collaborate on things that save human labor 📫 How to reach me Github👇 -> Discord







































