- Home
- Resources
- Integrations
- Wordpress
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
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.
How do you connect Wordpress to n8n?
- 01
Pick the right credential type
Two authentication methods exist for this node, and the Authentication field on every operation switches between them.
basicAuthworks with any Wordpress install, hosted or on your own server, and is the only option for a self-hosted site.oAuth2is 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. - 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. - 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.
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.
Operations index
Post
4 operationsCreate a post
post.createWhat 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:
draftkeeps it out of sight for review,publishsends it live,futurewaits for the Date you set.
Get a post
post.getWhat 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:
viewreturns the public shape,editadds the raw fields an editor sees,embedkeeps a short preview. - Password: required when the article is password protected.
Get many posts
post.getAllWhat 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
draftitems to see what is stuck in the pipeline.
Update a post
post.updateWhat 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
pendingtopublishis an entire approval step in one node. - Tag Names or IDs: taxonomy terms, picked from the list or passed as identifiers through an expression.
Page
4 operationsCreate a page
page.createWhat 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.
Get a page
page.getWhat 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:
viewfor the rendered shape,editwhen the workflow needs the raw fields before changing them,embedfor a light preview. - Password: for a page kept behind a password.
Get many pages
page.getAllWhat 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:
modifiedsurfaces what changed most recently.
Update a page
page.updateWhat 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:
privatepulls a page out of public view without deleting it.
draft when it ends.User
4 operationsCreate a user
user.createWhat 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.
Get a user
user.getWhat 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:
viewgives the public profile,editexposes the fields an administrator sees,embeda short version.
Get many users
user.getAllWhat 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_dateputs the newest accounts first,namesorts alphabetically. - Search: matches a string against the accounts.
Update a user
user.updateWhat 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.
Need help automating Wordpress with n8n?
A person reads every message.

