Create Page

wordpress.create_page
ActionBusiness appsconnection required

Calls the WordPress API with the connection's credentials.

Create a page on the site. Like posts, a page with no explicit status is saved as a draft.

Connection

Required
Yes — the node will not save without one
Auth type
Username & password
Providers
WordPress
Secret shape
{"username": "…", "password": "… the application password …"}
Config it needs
site_url
Resolved by
config.connection_id, else node.connection_id

Configuration

12 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
title
Title of the page.
stringYes———
content
Body of the item as HTML or Gutenberg block markup.
stringNo———
excerpt
Short summary shown in listings. WordPress generates one when empty.
stringNo———
status
Publication status. Leave unset and WordPress creates a draft that is not visible on the site.
stringNodraftone of "draft", "publish", "pending", "private", "future"—
slug
URL slug. WordPress derives one from the title when this is left empty.
stringNo———
date
Publication date in the site's timezone, ISO 8601 (2026-09-09T10:00:00).
stringNo—iso8601 format—
author
User id to attribute the item to. Defaults to the connection's own user.
numberNo—≥ 1—
parent
Id of the parent page; 0 makes it a top-level page.
numberNo—≥ 0—
menu_order
Position among sibling pages; lower sorts first.
numberNo—≥ 0—
featured_media
Attachment id to use as the featured image; 0 clears it.
numberNo—≥ 0—
comment_status
Whether readers may comment on the item.
stringNo—one of "open", "closed"—
extra_fields
Any other WordPress REST argument, as a JSON object, merged into the request body. Use this for custom post meta or fields a plugin adds.
objectNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "status": "draft"
}

Output

One shape.

result

FieldTypeExample
id
WordPress id of the post.
number—
status
Publication status the post now has.
string—
link
Public permalink of the post.
string—
slug
URL slug WordPress stored.
string—
date
Publication date in the site's timezone.
string—
modified
Last modification date in the site's timezone.
string—
author
User id the post is attributed to.
number—
title.rendered
Title as HTML; title.raw is added by context=edit.
string—
content.rendered
Body as HTML; content.raw is added by context=edit.
string—
excerpt.rendered
Excerpt as HTML; excerpt.raw is added by context=edit.
string—
parent
Id of the parent page, 0 when top level.
number—
{
  "author": 0,
  "content": {
    "rendered": ""
  },
  "date": "",
  "excerpt": {
    "rendered": ""
  },
  "id": 0,
  "link": "",
  "modified": "",
  "parent": 0,
  "slug": "",
  "status": "",
  "title": {
    "rendered": ""
  }
}

Notes

  • POST /wp/v2/pages.

See Create Page run in a workflow.

In a technical demo we add the WordPress connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.