n8n

How to Automate WordPress to Medium Publishing?

Turn your WordPress articles into Medium posts with one click. Great for marketing teams that want more reach without extra copy and paste work.

Here is how it runs. A manual start loads your blog listing page with an HTTP request. The HTML parser collects post titles and links, then the list tools split and limit them so you can control how many go live. A loop goes through each link, opens the article page, and extracts the title, intro, and main content. The Medium node then publishes with your chosen tags, HTML format, and visibility settings. This setup reduces errors, keeps formatting clean, and helps you ramp up content syndication without heavy effort.

You need a public blog page and a Medium account. Adjust the CSS selectors to match your WordPress theme so the parser grabs the right fields. Start with a small limit and set Medium to draft for testing. Expect time savings on every batch and a steady feed on Medium. Agencies, content teams, and founders can republish top posts to reach new readers fast.

What are the key features?

  • Manual start lets you control when content is sent to Medium
  • HTTP request loads your WordPress blog listing page
  • HTML parsing extracts post titles and links with CSS selectors
  • List tools split arrays and limit how many posts run each time
  • Loop processes each article link one by one for stable runs
  • Second HTTP request opens each article page to read full content
  • HTML extractor pulls title, intro, and main content blocks
  • Medium node publishes with mapped title, HTML content, tags, and status

What are the benefits?

  • Reduce manual copy and paste from 2 hours to 10 minutes for a batch of 5 posts
  • Automate 90 percent of cross posting steps from WordPress to Medium
  • Improve formatting accuracy by up to 95 percent by using HTML output
  • Scale posting volume by processing multiple links in one run
  • Connect WordPress content to Medium without extra tools

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Medium and WordPress. See the Tools Required section above for links to create accounts with these services.
  3. Open the workflow and double click the Medium node. In the credential dropdown, click Create new credential and follow the on screen steps to connect your Medium account.
  4. Confirm your WordPress blog listing page is public and reachable in a browser. Copy its URL.
  5. Open the HTTP Request node that loads the blog list and paste your blog listing URL into the URL field. Save and test the node to make sure it returns HTML.
  6. Open the HTML parser for the list page and check the CSS selectors for post titles and links. Adjust them to match your theme so titles and href links are captured.
  7. In the Item Lists node, ensure the arrays for post and Link are split into items. Run this node to verify you see one item per post.
  8. Set the Item Lists limit to a small number, like 2, for safe testing. You can raise it later.
  9. In Loop Over Items, confirm it reads from the limited list. Then open HTTP Request1 and make sure the URL field uses the Link from the current item.
  10. Open the HTML node for article pages. Check selectors for Title, Introduction, and your main content container. Use preview to confirm clean text or HTML is returned.
  11. In the Medium node, map title to the Title field and content to the HTML content field. Set content format to HTML and set publish status to draft while testing.
  12. Click Execute Workflow. Check Medium for new drafts. If formatting looks off, refine the CSS selectors or reduce the number of posts and test again.
  13. If the blog blocks requests or returns 403, add a User Agent header in the HTTP Request nodes to mimic a browser and test again.
  14. Once results look good, raise the limit to your desired batch size and change publish status to public.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Medium

Sign up

API: Free; Medium no longer issues new API tokens (existing tokens only)

WordPress

Sign up

Free plan: $0 / mo (WordPress.com REST API supports creating posts)

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.