Skip to content
MORNINGMETHOD
When clicking ‘Te…Google SheetsOpenRouter Chat M…Structured Output…Image InstagramImage Facebook e …Social Media Mana…Linkedin OKFacebook OkInstagram OKGet PostPublish on XX OKLIPublish on Linked…Publish on Facebo…Publish on Instag…
The workflow you get16 nodes
  • n8n
  • Google Sheets
  • OpenRouter
  • OpenAI
  • LLM Chain
  • WordPress, X, LinkedIn, Facebook Graph Api, HTTP Request

Blog Posts to Social Media Auto-Publisher

Every new blog post is shared on your social media automatically.

Best for: Businesses with a WordPress blog

$19.00Regular price $49.0061% off
  • Card or PayPal
  • Instant download
  • Setup guide included
Delivery
Download after payment
Format
n8n workflow + guide (ZIP)
Access
Re-download any time

Setup

What you need, and how to set it up

It starts when you click the button. No code needed. Follow the steps in order.

What you need

Setup in 6 easy steps

  1. Step 1: Get n8n

    n8n is the app that runs your automation. Make a free account at n8n.io. That is the easy way. You can also put it on your own computer for free.

  2. Step 2: Download your file

    After you pay, open My downloads and download the ZIP. Double-click it to open it. Inside is a file called workflow.json.

  3. Step 3: Put it in n8n

    In n8n, click Create workflow. Click the three dots (⋯) at the top, then Import from file, and pick workflow.json. Now you see the same boxes as in the picture above.

  4. Step 4: Connect your accounts

    Some boxes show a little red triangle. That means they need a key. Click the box, click Create new credential, and paste the key from your list. Do this for each red box.

  5. Step 5: Try it once

    Click Test workflow. Green ticks on the boxes mean it worked.

  6. Step 6: Use it

    Click Save. Each time you want it to run, open it and click Test workflow.

Stuck? Email support@morningmethod.co and we will help you.

Category: Automations › Social Media & Content · Best for: Businesses with a WordPress blog · Platform: n8n · Steps: 16

What it does

Every new blog post is shared on your social media automatically.

Get the Post ID of the Wordpress article on which you want to generate the caption for social media

Works with: AI Chat Model: OpenRouter, Output Parser Structured, Google Sheets, Chain Llm, WordPress, OpenAI, Twitter, WhatsApp Cloud API, LinkedIn, Facebook

What you get

  • The n8n workflow file (workflow.json), ready to import
  • This setup guide
  • The list of fields to change for your own accounts (see Install below)
  • Email support if you get stuck

Before you start

  1. An n8n account. Easiest: n8n Cloud (free trial). Self-host for free with Docker: docker run -it --rm -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n, then open http://localhost:5678.

  2. Accounts and API keys for these services:

    • Google (Sheets, Gmail, Drive, Calendar, Docs): how to connect (used by Google Sheets, Linkedin OK, Facebook Ok, Instagram OK, X OK)
    • openRouterApi: how to connect (used by OpenRouter Chat Model)
    • OpenAI API key: how to connect (used by Image Instagram, Image Facebook e Linkedin)
    • WordPress application password: how to connect (used by Get Post)
    • X (Twitter) developer app: how to connect (used by Publish on X)
    • LinkedIn app: how to connect (used by Publish on LinkedIn)
    • Meta / Facebook Graph API: how to connect (used by Publish on Facebook, Publish on Instagram)

Install

  1. In n8n, click Create workflow (top right).
  2. Click the ⋯ menu → Import from file and choose workflow.json. Or open the file, copy everything and paste it onto the empty canvas with Ctrl/Cmd + V.
  3. Open each node with a red warning triangle and pick or create the matching credential from the list above.
  4. Point these fields at your own sheets, chats and accounts:
    • Google Sheets → sheetName: choose your own
    • Google Sheets → documentId: choose your own
    • Linkedin OK → sheetName: choose your own
    • Linkedin OK → documentId: choose your own
    • Facebook Ok → sheetName: choose your own
    • Facebook Ok → documentId: choose your own
    • Instagram OK → sheetName: choose your own
    • Instagram OK → documentId: choose your own
    • X OK → sheetName: choose your own
    • X OK → documentId: choose your own
    • Publish on LinkedIn → organization: replace the placeholder with your own
  5. Click Save.

Test it

  1. Click Test workflow (or Execute workflow). When clicking ‘Test workflow’ starts it. Trigger it once with real sample data.
  2. Click each node to check its output. A green tick means the step worked.
  3. Fix any red node: it's almost always a credential or a field that still points at a sheet or chat that isn't yours.

Go live

Toggle Active (top right). From now on it runs on its own. Check Executions in the left sidebar to see every run.

How it works, step by step

  1. When clicking ‘Test workflow’ starts the workflow (Manual).
  2. OpenRouter Chat Model uses AI (AI Chat Model: OpenRouter).
  3. Structured Output Parser uses AI (Output Parser Structured).
  4. Google Sheets uses Google Sheets.
  5. Social Media Manager uses AI (Chain Llm).
  6. Get Post uses WordPress to get.
  7. Image Instagram uses AI (OpenAI).
  8. Image Facebook e Linkedin uses AI (OpenAI).
  9. Publish on X uses Twitter.
  10. Publish on Instagram calls an external API (https://graph.facebook.com/v20.0/433770813646235/media).
  11. Publish on LinkedIn uses LinkedIn.
  12. Publish on Facebook uses Facebook.
  13. X OK uses Google Sheets to update.
  14. Instagram OK uses Google Sheets to update.
  15. Linkedin OK uses Google Sheets to update.
  16. Facebook Ok uses Google Sheets to update.

Extra setup notes

These notes are also on the canvas as yellow sticky notes:

Get the Post ID of the Wordpress article on which you want to generate the caption for social media

The SMM Chain analyses the content of the post and creates the most suitable caption based on the destination social network.

STEP 1

This workflow automates the process of creating and publishing social media posts across multiple platforms (Twitter/X, Facebook, LinkedIn, and Instagram) based on content from a WordPress post. It uses AI models to generate platform-specific captions and images, and integrates with Google Sheets, WordPress, and various social media APIs.

Get the API Keys of the social networks you want to publish on

Authenticate on social media nodes with the access tokens obtained

STEP 2

Clone this Sheet and set ONLY the WordPress Post ID id in the right column

Troubleshooting

  • "Credentials not found": open the node and select your credential again.
  • Google "access blocked": in Google Cloud, add your email as a test user on the OAuth consent screen.
  • Webhook not firing: copy the node's Production URL (not Test URL) into the other app, and make sure the workflow is Active.
  • AI node errors: check your API key has billing enabled and the model name exists on your plan.
  • Nothing happens on schedule: the workflow must be Active, and self-hosted n8n must stay running.

Need help?

Reply to your Morning Method order email and we'll help you get it running.


© Morning Method

$19.00Regular price $49.0061% off
Blog Posts to Social Media Auto-Publisher | n8n Automation | Morning Method