Back to blog
n8nAutomationWordPress

How to Auto-Post to WordPress with n8n (Step by Step)

By Zain Ul Abedin · 4 November 2026 · 5 min read

n8n can create WordPress posts from almost any source: an RSS feed, a Google Sheet, a form or an AI model. Here is a safe way to set it up.

1. Create an Application Password in WordPress

In WordPress open Users, then your profile, and create an Application Password. Copy it once. Use a user with only the role it needs (Author or Editor), not an Administrator.

2. Add WordPress credentials in n8n

In n8n create WordPress credentials with your site URL, the username and the Application Password. n8n stores them encrypted, so never paste them into workflow fields.

3. Build the workflow

  1. Schedule Trigger: decide how often it runs.
  2. Source: an RSS Read node, a Google Sheets node or an HTTP Request node.
  3. Optional: an AI node to write or rewrite the content.
  4. WordPress node: operation Create a post, then map the title and content.

In the WordPress node you can map fields from the previous step with an expression like this:

{{ $json.title }}

4. Start with drafts

Set the post status to draft first so you can review every article. Switch to publish only after you trust the output.

5. Avoid common problems

  • Duplicates: store the IDs or links of items you already posted, for example in a sheet.
  • Thin content: do not publish raw AI text. Add a human review step.
  • Failures: add an Error Workflow so you get a message when a run fails.
  • Security: use HTTPS and rotate the Application Password if it ever leaks.

Keep reading

Have a project in mind?

Batao aap kya banana chahte ho. Hum 24 ghante me jawab dete hain.

Get a free quote
Hire me on Fiverr