WordPress
WordPress site content — posts, pages, media, users, categories, tags and comments through the core wp/v2 REST API, authenticated with an Application Password.
OCNORA ships 21 typed WordPress operations. Each node has a schema-driven form, input and output tables beside its settings, and is pre-flighted by Workflow Health before your first real run. Endpoints not covered by a typed node are called at https://{site_url}/wp-json through the HTTP node with the same credential.
Before you connect WordPress
- Authentication
- Username & password
- Credential
- {"username": "…", "password": "… the application password …"}
- Connection test
- Available: the stored credential can be checked against the provider when you add it. This is not a record that a test was run or passed.
What you can do with WordPress
Operations, grouped by what they do to your data.
Create and send 7
Read and search 10
Update 2
Delete and cancel 1
Other operations 1
A sample WordPress workflow
- 1A core triggerStart the run from a chat, form, manual, schedule, webhook, workflow trigger — no WordPress trigger is needed.
- 2Get Pagewordpress.get_pageFetch one page by id. Choose context=edit when the workflow needs the raw block markup rather than the rendered HTML.
- 3Moderate Commentwordpress.approve_commentApprove a pending comment, or move it to hold, spam or trash. The connection user needs moderate_comments rights.
An outline built from this provider’s node contracts, not a recorded run. Each step’s output fields are available to the next in the field picker.
Every node below has a reference page: what it does, the connection it needs, its config fields with types, constraints and examples, and the shapes it emits.
Operations 21
- Moderate CommentApprove a pending comment, or move it to hold, spam or trash. The connection user needs moderate_comments rights.wordpress.approve_comment
- Create CategoryCreate a category term and return its id, which is what a post's categories field expects.wordpress.create_category
- Create CommentPost a comment on one post, as the connection's user unless another author is named.wordpress.create_comment
- Create PageCreate a page on the site. Like posts, a page with no explicit status is saved as a draft.wordpress.create_page
- Create PostCreate a post on the site. Without an explicit status WordPress saves it as a draft, so set status to publish when the post should go live.wordpress.create_post
- Create TagCreate a post tag and return its id, which is what a post's tags field expects.wordpress.create_tag
- Create UserCreate a user account. WordPress requires a username, an email address and a password, and the connection user must be an administrator.wordpress.create_user
- Delete PostDelete a post. By default it goes to the trash and can be restored; set force to remove it permanently.wordpress.delete_post
- Get PageFetch one page by id. Choose context=edit when the workflow needs the raw block markup rather than the rendered HTML.wordpress.get_page
- Get PostFetch one post by id. Choose context=edit when the workflow needs the raw block markup rather than the rendered HTML.wordpress.get_post
- Get UserFetch one user by id. The literal id 'me' resolves to the user the connection authenticates as.wordpress.get_user
- List CategoriesList category terms so a workflow can map a name to the id posts need.wordpress.list_categories
- List CommentsList comments, optionally for one post. WordPress returns only approved comments unless status asks for another and the user may moderate.wordpress.list_comments
- List MediaList items in the media library, optionally narrowed to one media type or one parent post.wordpress.list_media
- List PagesList pages on the site, optionally filtered by search text, status or parent page.wordpress.list_pages
- List PostsList posts on the site, filtered by search text, status, author, category or tag. Only published posts are returned unless status says otherwise.wordpress.list_posts
- List TagsList post tags so a workflow can map a name to the id posts need.wordpress.list_tags
- List UsersList the site's users, optionally filtered by search text or role.wordpress.list_users
- Update PageUpdate an existing page. Only the fields you fill in are sent to WordPress.wordpress.update_page
- Update PostUpdate an existing post. Only the fields you fill in are sent, so a status-only change leaves the content untouched.wordpress.update_post
- Upload MediaUpload a file to the media library and return its attachment id, ready to use as a post's featured image.wordpress.upload_media
WordPress questions
- How does OCNORA authenticate with WordPress?
- With a stored Username & password credential, shaped {"username": "…", "password": "… the application password …"}. A connection test can check it when you add it.
- What can I automate with WordPress?
- 21 typed operations, each with a reference page listing its config fields and the shapes it emits.
- What if the WordPress operation I need is not listed?
- Call https://{site_url}/wp-json from the HTTP node with the same credential, or describe the step to the AI builder, which asks our team for a typed node when one is missing.
- Are there templates that use WordPress?
- Not yet. Start from a blank workflow, or describe the workflow to Build with AI.
- How are WordPress calls controlled?
- Every call and every run step is audited, runs count against the execution budget, and Workflow Health pre-flights the workflow when you save it.
More in Business apps
See your first WordPress workflow run.
Book a technical demo. We add the connection, pick a template or describe the workflow to Build with AI, and Workflow Health checks it before it runs.