Templates / Share new WordPress posts on LinkedIn, X and Facebook via webhook

Share new WordPress posts on LinkedIn, X and Facebook via webhook

Ready for 3.0

by Mateusz Skorupa · 5 views · created 2026-09-18 · Social Media

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 10 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects LinkedIn, X (Formerly Twitter) and Facebook Graph API.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Settings (Edit Fields (Set)): sets 1 field: site_url
  2. Get Post (HTTP Request): calls an HTTP API (GET)
  3. Post Fields (Code): runs custom JavaScript code
  4. Get Featured Image (HTTP Request): calls an HTTP API
  5. Publish on X (X (Formerly Twitter)): uses X (Formerly Twitter)
  6. Publish on Facebook (Facebook Graph API): uses Facebook Graph API
  7. Has Featured Image (If): checks a condition and branches into true / false
  8. Publish on LinkedIn (LinkedIn): uses LinkedIn
  9. Publish Link on LinkedIn (LinkedIn): uses LinkedIn

Services it uses

LinkedInX (Formerly Twitter)Facebook Graph API

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 (8)

From the author

Quick overview Every time a post goes live on your WordPress site, this workflow shares it on LinkedIn, X and a Facebook Page. WordPress calls the workflow once per post, so there is no schedule to tune and no table of already-posted IDs to keep. How it works…

Excerpt from Mateusz Skorupa's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.