FlowRunner
Pricing
Theme

WordPress

CMS & Content

Connect AI agents to a self-hosted WordPress site through the REST API. Agents manage posts, pages, categories, tags, users, media, comments, settings, and custom types, and react to new published posts and new comments.

2 triggers 52 actions available
A content brief lands in a backlog sheet or upstream system
Agent reads the brief and formats the title and HTML body
Agent adds the cover image with Upload Media From URL
Agent stages the article with Create Post at status draft
The editorial channel gets a link to the staged draft
An editor approves before the agent flips the post to publish

What This Integration Enables

An agent can manage the full WordPress content surface. It lists, gets, creates, updates, and deletes posts and pages, curates categories and tags, and manages users with the role and profile fields you set. It mirrors media into the library from an external URL, reads and updates media metadata, and moderates comments by creating, editing, approving, or deleting them. It can also read and update site-wide settings, search across the site, and work with custom post types, custom fields, and custom taxonomies by their REST base. Two polling triggers let flows react to the site in near real time. On New Published Post fires for each newly published post, with an optional category filter, so an announcement or cross-post flow starts the moment an article goes live. On New Comment fires for each new comment, with optional post and moderation-status filters, so a moderation or reply flow starts as conversations come in. This lets an agent draft content for review, curate the taxonomy, and respond to activity, while a person still owns the moment a draft becomes public.

Without FlowRunner

Manual publishing Someone copies each draft into WordPress and clicks publish
Media handled by hand Cover images are downloaded and re-uploaded one at a time
Announcements are ad hoc A new post is shared to Slack and social whenever someone notices

With FlowRunner

Drafts staged for review The agent creates each article as a draft with media attached
Media mirrored by URL The agent pulls the cover image into the library automatically
Announcements fire on publish On New Published Post kicks off the notify and cross-post flow

Use Case Scenarios

Stage Articles for Review

When a content brief lands in [Google Sheets](/integrations/google-sheets), the agent calls Upload Media From URL to add the cover image, then Create Post at status draft to stage the article with its title, HTML body, categories, and tags set. The editor opens WordPress to a ready-to-review draft instead of a blank editor and a folder of images.

Announce New Posts

When On New Published Post fires, the agent posts to the marketing channel with [Slack](/integrations/slack) Send Message To Channel and cross-posts the article to [Medium](/integrations/medium) with the source URL as a canonical reference. The launch checklist that used to run by hand runs the instant the post goes live.

Onboard a Contributor

When a new contributor submission arrives by email, the agent calls Create User to onboard them with the author role and Create Post to seed their first draft. The new writer starts with an account and a working draft instead of a back-and-forth thread.

Human-in-Loop Highlight

Drafting posts, mirroring media, curating tags, and reading the site are safe to automate, so the agent handles them on its own. Publishing is the consequential act, because moving a post from draft to publish makes it live for every visitor and fires the site's own publish hooks. So when a flow would change a post's status to publish, the agent stops. It routes the staged draft to an editor as a [human-in-the-loop](/concepts/human-in-the-loop/) step, showing the title, the rendered excerpt, the categories and tags, and a preview link, and asks: "Publish this post to the live blog, or hold for edits?" On approval the agent calls Update Post to set the status to publish. On hold, the post stays a draft and nothing goes public. The AI stages and formats every article; the decision to publish gets a person.

Agent processes routinely
Detects exception requiring judgment
Clear match Continues automatically
Ambiguous Routes to human via preferred channel
Human decides
Agent resumes with decision

Agent Capabilities

52 actions

Posts

5
  • List Posts Retrieves a paginated list of posts with filtering by status, author, categories, tags, search query, and date ranges.
  • Get Post Fetches a single post by ID, returning its full title, content, excerpt, taxonomy assignments, featured media, and metadata.
  • Create Post Creates a post with a title, HTML content, status, and optional taxonomy or scheduling fields. Set the status to draft to stage it or publish to go live.
  • Update Post Updates fields of an existing post, changing only what you set. Useful for publishing a draft, editing content, or reassigning categories.
  • Delete Post Moves a post to trash by default, or permanently deletes it when force is set. Permanent deletion cannot be undone.

Pages

5
  • List Pages Retrieves a paginated list of pages with filtering by status, parent, author, and search query.
  • Get Page Fetches a single page by ID, returning its full title, content, parent, menu order, and metadata.
  • Create Page Creates a page with a title and content, optionally nested under a parent, ordered with a menu order, and rendered with a theme template.
  • Update Page Updates fields of an existing page, changing only what you set. Useful for editing static content, re-parenting, or changing status.
  • Delete Page Moves a page to trash by default, or permanently deletes it when force is set. Permanent deletion cannot be undone.

Categories

5
  • List Categories Retrieves a paginated list of post categories with search, ordering, and filtering by parent for hierarchical trees.
  • Get Category Fetches a single category by ID, including its name, slug, description, and post count.
  • Create Category Creates a post category, optionally nested under a parent for hierarchical trees.
  • Update Category Updates fields of an existing category, changing only what you set.
  • Delete Category Permanently deletes a category. Posts assigned only to it are reassigned to the default category.

Tags

5
  • List Tags Retrieves a paginated list of post tags with search, ordering, and the option to exclude unused tags.
  • Get Tag Fetches a single post tag by ID.
  • Create Tag Creates a post tag.
  • Update Tag Updates fields of an existing tag, changing only what you set.
  • Delete Tag Permanently deletes a tag.

Users

6
  • List Users Retrieves a paginated list of users with filtering by role, slug, search query, or whether they have published posts.
  • Get User Fetches a single user by ID, returning name, slug, roles, capabilities, and avatar URLs.
  • Get Current User Returns the user account tied to the configured Application Password, useful for verifying connectivity and reading the acting user's roles.
  • Create User Creates a WordPress user account with the supplied credentials and optional profile fields.
  • Update User Updates fields on an existing user account, changing only what you set.
  • Delete User Permanently deletes a user account. A reassign target is required so the deleted user's posts transfer to another user.

Media

5
  • List Media Retrieves a paginated list of media items with filtering by mime type, media type, search query, and parent post.
  • Get Media Fetches a single media item by ID, including its source URL, mime type, alt text, caption, and metadata.
  • Upload Media From URL Downloads a file from a URL and uploads it to the media library with optional title, alt text, and caption, returning the public source URL.
  • Update Media Updates metadata on an existing media item such as title, alt text, caption, description, or post attachment.
  • Delete Media Permanently deletes a media item and removes the underlying file from disk.

Comments

5
  • List Comments Retrieves a paginated list of comments with filtering by post, author, parent, status, and search query.
  • Get Comment Fetches a single comment by ID, including author details, content, and moderation status.
  • Create Comment Creates a comment on a post using either an authenticated author ID or guest author details, and can nest it as a reply.
  • Update Comment Updates fields of an existing comment such as content, moderation status, or author metadata.
  • Delete Comment Moves a comment to trash by default, or permanently deletes it when force is set.

Search

1
  • Search Site Performs a sitewide search across posts, pages, and terms and returns lightweight result objects with id, title, url, type, and subtype.

Settings

2
  • Get Settings Returns site-wide settings such as title, description, URL, timezone, language, and default category. Requires the manage_options capability.
  • Update Settings Updates site-wide settings, changing only what you set. Requires the manage_options capability and affects the whole site.

Taxonomies

2
  • List Taxonomies Returns all registered taxonomies on the site, including category, post_tag, and any custom taxonomies.
  • List Post Types Returns all registered post types on the site, useful for discovering custom post type slugs and their REST bases.

Custom Fields

2
  • Get Post Meta Reads the custom fields stored on a post or page as a key and value map. Only meta keys registered with show_in_rest are exposed.
  • Update Post Meta Sets one or more custom fields on a post or page, overwriting the given keys and leaving other meta untouched. Only keys registered with show_in_rest are saved.

Custom Post Types

5
  • List Custom Posts Lists items of any registered post type by its REST base, with filtering by status, search, ordering, and pagination.
  • Get Custom Post Fetches a single item of any registered post type by its REST base and ID, including content, status, and meta.
  • Create Custom Post Creates an item of any registered post type by its REST base, with title, content, status, and custom fields via meta.
  • Update Custom Post Updates an item of any registered post type by its REST base and ID, changing only what you set.
  • Delete Custom Post Moves an item of any registered post type to trash by default, or permanently deletes it when force is set.

Custom Taxonomies

4
  • List Taxonomy Terms Lists terms of any registered taxonomy by its REST base, with search, ordering, and filtering by parent for hierarchical taxonomies.
  • Create Taxonomy Term Creates a term in any registered taxonomy by its REST base. The parent field applies only to hierarchical taxonomies.
  • Update Taxonomy Term Updates a term in any registered taxonomy by its REST base and term ID, changing only what you set.
  • Delete Taxonomy Term Permanently deletes a term from any registered taxonomy by its REST base and term ID. Content assigned only to that term loses the assignment.

Triggers

2 triggers

Event Triggers

2
  • On New Published Post Fires for each new post published on the site since the previous poll, with an optional category filter. Starts announcement, cross-post, and downstream notification flows the moment an article goes live.
  • On New Comment Fires for each new comment posted on the site since the previous poll, with optional post and moderation-status filters that default to approved comments. Starts moderation and reply flows as conversations come in.

Start building with WordPress

$100 in credits. No card required. Connect in minutes.