Auto-Generate Platform-Optimized Social Media Posts from WordPress with Claude & Postiz - n8n Workflow | Neura Market

    Auto-Generate Platform-Optimized Social Media Posts from WordPress with Claude & Postiz

    This workflow automates the process of **generating and scheduling social media posts using content from a WordPress blog**. It leverages advanced AI (OpenAI & Anthropic Claude), Google Sheets, and the [Postiz](https://postiz.com/?ref=n3witalia) platform to create and publish platform-specific posts across **LinkedIn, Facebook, Instagram, and Twitter (X)**. This system streamlines cross-platform social media publishing, ensuring consistent branding and AI-optimized content. --- ### **Key Features** 1. **Content Source: WordPress** Automatically fetches the content of a WordPress post by its **Post ID**. 2. **Content Transformation via AI** Uses Anthropic Claude and OpenAI to generate unique, optimized captions for each platform: - **LinkedIn**: professional and insight-driven - **Instagram**: creative with emojis and storytelling - **Facebook**: community-oriented and friendly - **Twitter (X)**: concise, hashtag-optimized 3. **Visual Generation (Optional)** Uses OpenAI's DALL·E (via OpenRouter) to generate **custom images** based on the AI-generated Instagram and Facebook/LinkedIn captions. 4. **Post Management with Google Sheets** Uses a Google Sheet as the control panel: - Simply input the WordPress **Post ID** - Marks each post as “done” by updating corresponding columns (TWITTER, FACEBOOK, INSTAGRAM, LINKEDIN) 5. **Publishing via Postiz** Uses the **Postiz API** to schedule or immediately publish posts to your connected social accounts. - Handles image uploads and scheduling time for each platform. --- ### **Benefits** - **Intelligent automation**: Saves time by removing manual copywriting and platform formatting. - **Platform optimization**: Ensures posts are tailored to each platform's audience and algorithm. - **No-code friendly**: Simple setup via Google Sheets + Postiz + WordPress. - **Repeatable & Scalable**: Ideal for agencies or content creators managing multiple posts per week. - **+20 Social Media Platforms**: Easy to start with social integrations. --- ### **How It Works** 1. **Input & Data Fetching**: - The workflow starts with a manual trigger (e.g., test workflow) or scheduled execution. - It retrieves a WordPress post ID from a Google Sheets document, then fetches the full post content (title and body) via the WordPress API. 2. **AI-Powered Content Generation**: - The Social Media Manager node (powered by Claude Opus 4.1) analyzes the post and generates **platform-optimized captions** for: - **Twitter/X**: Concise, hashtag-rich text (≈150 chars). - **Facebook/LinkedIn**: Professional yet engaging copy with CTAs. - **Instagram**: Visual-focused captions with emojis and hashtags. - AI-generated images are created for Instagram (square) and Facebook/LinkedIn (landscape) using OpenAI's image model. 3. **Publishing Automation**: - Captions and images are uploaded to **Postiz**, a social media scheduler. - Postiz publishes the content to connected platforms (Twitter, Facebook, LinkedIn, Instagram) at the specified time. - Google Sheets is updated with status markers (e.g., x in columns like `TWITTER`, `FACEBOOK`) to track published posts. --- ### **Set Up Steps** 1. **Prerequisites**: - **Postiz Account**: Sign up for [Postiz](https://postiz.com/?ref=n3witalia) (free trial available). - **API Keys**: Configure Postiz API credentials in the Postiz and Upload Image nodes. - **Social Channels**: Link your social accounts in Postiz's dashboard and note their `integrationId` values (replace XXX in Postiz nodes). 2. **Google Sheets Setup**: - Clone the [template Sheet](https://docs.google.com/spreadsheets/d/1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U/edit) and add WordPress post IDs to the POST ID column. 3. **Configure Nodes**: - **WordPress**: Add credentials for your WordPress site in the Get Post node. - **AI Models**: Ensure API keys for Claude (Anthropic) and OpenAI (for images) are valid. - **Postiz Nodes**: Replace placeholder `integrationId` values with your actual Postiz channel IDs. 4. **Test & Deploy**: - Trigger the workflow manually to verify captions, images, and Postiz scheduling. - Activate the workflow for automation (e.g., run daily to publish new WordPress posts). **Note**: This workflow requires **self-hosted n8n** due to community nodes (Postiz, LangChain). --- ### **Need help customizing?** [Contact me](mailto:info@n3w.it) for consulting and support or add me on [Linkedin](https://www.linkedin.com/in/davideboizza/).

    Platform
    n8n
    Category
    Marketing
    Price
    Free
    Creator
    Davide
    • Google Drive
    • OpenRouter
    • X
    • Instagram
    • Facebook
    • Linkedin
    • OpenAI
    • postiz
    • wordpress
    • stickyNote
    Back to MarketplaceMore n8n Workflows

    How to import this workflow into n8n

    1. 1Purchase or download the workflow to get the n8n workflow JSON file.
    2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
    3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
    4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

    Related Marketing workflows

    • Automate UGC Video Creation and Instagram Posting with Google Gemini and Veo 3Free
    • Automate Lead Generation and Cold Email Outreach
    Free
  1. Automate Professional Video Ad Creation from Product ImagesFree
  2. Track SEO Keyword Rankings with Bright Data MCP and GP-40 AI AnalysisFree
  3. Automate Google Maps Data Scraping and Email Discovery for Local Business OutreachFree
  4. Automate AI-Driven Social Media Content for Auto ServicesFree
  5. More from Davide

    • Transform Images into AI Videos with MiniMax Hailuo 02 & Upload to YouTube/TikTok
    • Build a PDF Document RAG System with Mistral OCR, Qdrant, and Gemini AI
    • Drive-o-Store Lead Generation (with Coupon) with Google Sheets & SuiteCRM
    All Marketing workflows →All n8n workflows →

    Need help customizing this workflow?

    Our automation experts adapt it to your exact stack, data, and process — or build one from scratch.

    Get a Custom Build
    Neura Market
    Neura Market
    Marketplace
    Directories
    Resources

    Marketplace

    • Prompts
    • Workflows
    • Agents Store
    • Workflow Packs
    • Categories
    • Marketplace

    Directories

    • AI Tools Directory
    • ChatGPT
    • Claude
    • Gemini
    • Cursor
    • Grok
    • DeepSeek
    • Perplexity
    • CoPilot
    • Midjourney
    • Stable Diffusion
    • MCP Servers
    • .md Directory
    • All Directories

    Free Tools

    • AI Text Humanizer
    • AI Content Detector
    • Workflow Generator
    • Model Comparison
    • AI Pricing Calculator
    • AI Benchmarks
    • ROI Calculator
    • All Free Tools

    Resources

    • AI News
    • Blog
    • AI Models
    • Integrations
    • Alternatives
    • n8n vs Zapier
    • Make vs Zapier
    • n8n vs Make
    • Resource Library
    • Documentation

    Community

    • AI Jobs
    • AI Events
    • AI Companies
    • Start Selling
    • Sell n8n Workflows
    • Sell AI Agents
    • Sell Prompts
    • Creator Guide
    • Advertise
    • Affiliates

    Company

    • About
    • Contact
    • Help
    • Careers
    • Pricing
    • Terms
    • Privacy
    • License
    • DMCA

    Stay Updated

    Get the latest AI tools and insights delivered to your inbox.

    Neura Market Logoneuramarket

    © 2026 Neura Market. All rights reserved.