Automate WordPress content distribution using this powerful n8n workflow. Leverage Gemini AI to create platform-specific posts for Twitter, LinkedIn, and Facebook via the Blotato n8n node.
Download this n8n workflow template and start using it instantly.
Manually drafting social media updates for every new blog post is time-consuming and often leads to non-optimized content. This sophisticated n8n workflow solves this problem by creating an automated publishing pipeline. Utilizing a scheduled n8n trigger, the system monitors WordPress for new articles. If a new post is detected, the workflow leverages the power of the Google Gemini LLM via a specialized n8n node to generate unique, platform-specific copy for Twitter, LinkedIn, and Facebook. Finally, it uses the Blotato service to reliably queue and publish the optimized content. This robust n8n workflow ensures consistent content distribution, saves significant time, and guarantees that every new article gets maximum exposure using tailor-made social posts.
This automation operates on a recurrent schedule, initiating a sequence of checks and creative processes:
{{$json.twitter}}) to easily accessible fields.To set up this powerful n8n workflow using the provided n8n templates, follow these steps:
This n8n workflow relies on several core and community n8n node integrations:
Every 30 Minutes (Schedule n8n Trigger):
Function: Serves as the primary n8n trigger, initiating the content check on a fixed, recurring basis.
Key Configuration: Set to run every 30 minutes.
Check New Posts (WordPress n8n Node):
Function: Connects to the WordPress API to retrieve the latest posts for analysis by the n8n workflow.
Key Configuration: Operation set to getAll to fetch content.
AI Social Content Creator (LangChain Agent n8n Node):
Function: Orchestrates the AI request, defining the persona (social media manager) and the required output structure (strict JSON).
Key Configuration: System Message demanding strict JSON output optimized for Twitter, LinkedIn, and Facebook.
Google Gemini Chat Model (LLM n8n Node):
Function: Provides the language generation capabilities used by the LangChain Agent n8n node.
Parse Social Content (Code n8n Node):
Function: Critical transformation step. It parses the raw JSON output from the AI, stripping markdown formatting (```json), and restructuring the data items for downstream publishing n8n nodes.
Key Configuration: Custom JavaScript code handles parsing and fallback content generation if the AI fails to produce perfect JSON.
Create post [Platform] (Blotato n8n Node):
Function: Handles the final API calls to Blotato, queueing or instantly publishing the AI-generated, platform-optimized social content.
* Key Configuration: postContentText dynamically mapped using expressions like ={{$json.twitter}} and configured for the specific platform (LinkedIn, Facebook, Twitter).
Automate content publishing to X (Twitter) and Meta Threads using this powerful n8n workflow. Pull data from Google Sheets, shorten links, and ensure character limits are optimized for each platform.

Deploy this n8n workflow to automatically publish fresh Medium articles to LinkedIn twice daily. Features Airtable tracking to prevent duplicates and Telegram alerts for status updates.

Use this advanced n8n workflow to automate LinkedIn content creation using GPT-4o, triggering posts from a Google Sheet. High-density n8n templates for social media.

Use this powerful n8n workflow template to curate videos from X, generate engaging captions using OpenRouter, and manage posting history. High-quality social media automation using n8n.

Use this powerful n8n workflow to automatically upload YouTube Shorts from Google Drive, generating SEO-optimized titles and descriptions using an OpenRouter AI model.


I help ambitious businesses eliminate operational bottlenecks and scale faster with AI automation. My clients typically see 40-60% efficiency gains within 90 days. Currently accepting 3 new projects this quarter - [email protected]







































