Resources · n8n integration

Wordpress n8n integrationAutomate Wordpress with n8n.

Your editorial calendar should not need a browser tab. The Wordpress n8n integration exposes 12 operations on posts, pages and users, so a workflow drafts, publishes and updates content on its own. No trigger node ships with this tool, so a schedule starts the run.

Verified Trustpilot reviews · AI, automation & growth agency

Why automate

What does the Wordpress n8n integration actually give you?

The Wordpress node ships with n8n and talks to the Wordpress API on behalf of one site. It covers three resources, posts, pages and users, with four operations each: create one, get one, get many, update. That adds up to 12 operations, enough to draft and publish content, read what is already online, and manage the accounts behind it, from a workflow that runs without anyone watching.

Start with the publishing pipeline. A Schedule Trigger wakes the workflow, a row from Google Sheets carries the topic, a generation step writes the body, and post.create drops the article in with Status set to draft. Nobody publishes blind. An editor opens the draft, a second workflow flips it with post.update, and the notice lands in Slack the moment the status changes.

The second scenario is the audit nobody wants to run by hand. post.getAll with Return All enabled walks the whole archive page by page, Before narrows it to anything published before a given ISO8601 date, and the titles and slugs that need a refresh come back as plain data. Same shape for page.getAll, which is how you find the landing pages still pointing at last year's offer.

The third one is about people. A contributor joins, user.create opens the account with its six required fields, and user.update fills the bio later through Description. Pair it with Gmail for the welcome message and onboarding stops waiting on someone with admin rights.

The node stops at those three resources. Media uploads, comments, categories as objects, plugin endpoints: none of them have an operation here. That is what the HTTP Request node is for. It calls any endpoint of the Wordpress API and reuses the same credential through predefined authentication, so there is no second set of keys to manage.

Two limits are worth knowing before you build. There is no Wordpress trigger in n8n, so nothing reacts to a new comment or a fresh article by itself; the workflow always starts somewhere else. And OAuth2 only covers Wordpress.com sites, so a self-hosted install goes through basic auth. If you are still comparing platforms, the n8n review covers the rest, and the n8n training walks through building workflows like these.

Connect

How do you connect Wordpress to n8n?

  1. 01

    Pick the right credential type

    Two authentication methods exist for this node, and the Authentication field on every operation switches between them. basicAuth works with any Wordpress install, hosted or on your own server, and is the only option for a self-hosted site. oAuth2 is reserved for Wordpress.com, and it needs a developer application created in the Wordpress.com developer portal. Decide first, because the fields you gather next depend on the answer.

  2. 02

    Generate an application password

    Basic auth does not use your login password. Open your Wordpress profile, go to Security, then Two-Step Authentication, and enable it if it is off, because the application password section only appears once two-step is active. Then select Add new application password, give it a name such as n8n integration, and copy the generated value straight away. It is shown once, and it is what n8n stores.

  3. 03

    Fill the credential in n8n

    In the Credentials menu, create the Wordpress credential and paste four things: Username, the application Password you just copied, the WordPress URL of the site, and your choice for Ignore SSL Issues. Leave that last one off to respect certificate validation. A credential is created once and reappears in the dropdown of every node that needs it, so the next workflow costs nothing to connect.

Actions

What can the Wordpress node do?

The Wordpress node exposes 12 operations across 3 resources. For each one: the node as you configure it in n8n, the required fields, and our field notes.

Resources × operations matrix
ResourceCreateGetGet ManyUpdate
Post✓✓✓✓
Page✓✓✓✓
User✓✓✓✓

Post

4 operations
01

Create a post

post.create

What you see in n8n

Notes & use cases

This operation pushes a new article into Wordpress and returns its identifier, which the rest of the workflow reuses to log the URL or share the link elsewhere.

Key parameters

  • Title: the only required field, often {{ $json.title }} coming from the step that wrote the article.
  • Content: the body text, inside Additional Fields.
  • Status: draft keeps it out of sight for review, publish sends it live, future waits for the Date you set.
Use cases
a weekly batch of articles lands as drafts every Monday, ready for an editor to approve.
02

Get a post

post.get

What you see in n8n

Notes & use cases

Fetching a single article by its identifier gives the workflow the stored version: title, content, status, whatever the site holds right now.

Key parameters

  • Post ID: the identifier of the article, usually carried over as {{ $json.id }} from a previous node.
  • Context: view returns the public shape, edit adds the raw fields an editor sees, embed keeps a short preview.
  • Password: required when the article is password protected.
Use cases
read the current content before an automated rewrite, so the update step does not erase a paragraph someone added by hand.
03

Get many posts

post.getAll

What you see in n8n

Notes & use cases

Listing is where the archive turns into data the workflow can sort, count and compare.

Key parameters

  • Return All: on, n8n walks every page of the Wordpress API until the archive is exhausted; off, Limit caps the batch.
  • After and Before: ISO8601 dates that bracket the publication window.
  • Search: a string matched against the articles, handy to pull everything mentioning a product name.
  • Status: keep only draft items to see what is stuck in the pipeline.
Use cases
a content audit exported every quarter, sorted by date.
04

Update a post

post.update

What you see in n8n

Notes & use cases

Nothing goes live without a change of status, and that change is this operation. It edits an existing article in place, keeping its identifier and its URL.

Key parameters

  • Post ID: the only required field, everything else sits in Update Fields.
  • Status: moving from pending to publish is an entire approval step in one node.
  • Tag Names or IDs: taxonomy terms, picked from the list or passed as identifiers through an expression.
Use cases
an approval in a form flips the article to published and adds the tags chosen by the editor.

Page

4 operations
05

Create a page

page.create

What you see in n8n

Notes & use cases

Pages follow a different logic from articles: they sit in a hierarchy and in a menu, not in a chronological feed. This operation creates one and returns it.

Key parameters

  • Title: required, the rest lives in Additional Fields.
  • Parent ID: the identifier of the parent page, which is what nests a page under a section.
  • Menu Order: the position of the page relative to the others.
  • Featured Media ID: the identifier of a media item already in the library.
Use cases
a new city or service page generated from a spreadsheet row, nested under the right parent.
06

Get a page

page.get

What you see in n8n

Notes & use cases

Reading one page returns exactly what Wordpress stores for it, which is the safest way to check a live page from inside a workflow.

Key parameters

  • Page ID: the identifier of the page, required.
  • Context: view for the rendered shape, edit when the workflow needs the raw fields before changing them, embed for a light preview.
  • Password: for a page kept behind a password.
Use cases
a check before a campaign goes out, confirming the landing page still carries the current offer.
07

Get many pages

page.getAll

What you see in n8n

Notes & use cases

The page collection is usually small enough to walk whole, which makes this operation a good starting point for site-wide checks.

Key parameters

  • Return All: on, every page comes back; off, Limit decides how many.
  • Parent Page ID: keeps only the children of one section.
  • Page: which page of the collection to read, the manual alternative when Return All is off.
  • Order By: modified surfaces what changed most recently.
Use cases
list every child of the services section before a rebrand.
08

Update a page

page.update

What you see in n8n

Notes & use cases

Editing a landing page from a workflow avoids the copy-paste round trip through the admin, and it happens at the same second everywhere.

Key parameters

  • Page ID: required, the fields to change go into Update Fields.
  • Content: the new body of the page.
  • Slug: the identifier in the URL, unique for its type.
  • Status: private pulls a page out of public view without deleting it.
Use cases
a seasonal offer swapped on ten pages at once, then set back to draft when it ends.

User

4 operations
09

Create a user

user.create

What you see in n8n

Notes & use cases

Accounts carry the longest required list of the whole node: six fields must be filled or the execution stops.

Key parameters

  • Username and Email: the login name and the address, both required.
  • First Name, Last Name and Name: the last one is the display name shown on the site.
  • Password: required, and never returned by the API afterwards.
  • Description: the bio, in Additional Fields.
Use cases
a new contributor gets an account the day the contract is signed, with the bio already in place.
10

Get a user

user.get

What you see in n8n

Notes & use cases

One account, one identifier, one lookup. This operation returns the profile behind an author reference found in an article.

Key parameters

  • User ID: the identifier of the account, required, often {{ $json.author }} taken from a post returned earlier.
  • Context: view gives the public profile, edit exposes the fields an administrator sees, embed a short version.
Use cases
resolve the author of an article into a name and an email before sending the monthly performance recap.
11

Get many users

user.getAll

What you see in n8n

Notes & use cases

The account list answers a question editorial teams ask often: who actually writes here, and since when.

Key parameters

  • Return All: on, the whole list comes back; off, Limit sets the ceiling.
  • Who: set to authors, the result keeps only accounts considered authors.
  • Order By: registered_date puts the newest accounts first, name sorts alphabetically.
  • Search: matches a string against the accounts.
Use cases
a quarterly access review, listing every author and flagging the dormant ones.
12

Update a user

user.update

What you see in n8n

Notes & use cases

Profiles drift. Someone changes agency, a bio mentions a job title from two years ago, an address bounces.

Key parameters

  • User ID: required, and the only field outside Update Fields.
  • Email: the new address for the account.
  • URL: the personal site shown on the profile.
  • Nickname and Slug: the short name and the alphanumeric identifier of the account.
Use cases
a change recorded in the HR sheet updates the bio and the address on the site the same night.
Need help

Need help automating Wordpress with n8n?

A person reads every message.

FAQ

Wordpress and n8n, the questions that come next

01Is the Wordpress n8n integration free?
Yes, on the n8n side. The Wordpress node ships with n8n, so there is nothing to install and nothing extra to pay for the connector itself. It behaves the same on n8n Cloud, the hosted offer run by n8n, and on a self-hosted instance installed with Docker or npm under the Community Edition and its Sustainable Use license. A workflow built on one runs on the other without changes. What your Wordpress hosting costs is a separate matter, and it depends on your own setup rather than on n8n.
02What credentials do you need to connect Wordpress to n8n?
Two methods exist. Basic auth works with any Wordpress site and needs four things: your Username, an application password, the WordPress URL of the site, and a choice on Ignore SSL Issues. The application password is generated from the Security section of your profile, under Two-Step Authentication, which has to be enabled first. OAuth2 is the other route, reserved for Wordpress.com sites: you create an application in the Wordpress.com developer portal, paste the n8n redirect URL into it, then bring back the Client ID, the Client Secret and your Wordpress.com site identifier. A self-hosted install uses basic auth.
03What are the limits of the Wordpress node in n8n?
The node covers three resources, posts, pages and users, for 12 operations in total. Creating, reading and updating are there; media uploads, comments and taxonomy objects are not, and neither is anything a plugin adds. When an operation is missing, the HTTP Request node calls the endpoint directly and reuses the same Wordpress credential through predefined authentication, so nothing extra has to be configured. On list operations, remember that Return All is what makes n8n walk every page of the API. Left off, the node stops at the number set in Limit.
04Does the Wordpress node react in real time?
No, because there is no Wordpress trigger node in n8n. Nothing in the workflow notices a published article or a new comment on its own. A workflow that touches Wordpress starts somewhere else: a Schedule Trigger firing at a fixed interval, which fits audits and recurring publishing; an n8n Webhook, a URL that another service calls to start the run, which fits a form or a plugin you can point at n8n; or the trigger of another tool in your setup. In practice the Schedule Trigger covers most content work, since publishing is planned anyway.
05n8n or Make for Wordpress?
It depends on three things. Hosting first: n8n runs on your own server or on n8n Cloud, while Make is hosted only, so if the article content or the account data has to stay on infrastructure you control, that settles it. Cost model second: Make bills per operation, which matters when a single audit walks an entire archive with Return All. Visual logic third: both build workflows on a canvas, and the choice there is a matter of habit more than capability. For a Wordpress site, the deciding factor is usually the volume of items a list operation returns.