Integration · Docs and data
AI agents for WordPress
Find, write, update and publish posts and pages, manage categories and tags, moderate and answer comments, and search the media library on a WordPress site through its REST API, signed in with an application password.
- Actions
- 15
- Read
- 7
- Write
- 8
Actions
What your agents can do in WordPress
15 actions. Each one is a tool your agents can call and a step your workflows can run.
Read 7
Look things up. Nothing changes.
Find posts
Lists posts, newest first, filtered by a search term, status (publish, future, draft, pending, private; any for all), category or tag IDs, author, or a date window.
Get a post
Reads one post by its ID, drafts included, with its editable source.
Find pages
Lists pages, filtered by a search term, status or parent page.
Find categories
Lists post categories, optionally matching a search term, most used first.
Find tags
Lists post tags, optionally matching a search term, most used first.
List comments
Lists comments, newest first, on one post or across the site, by status (approved, hold for moderation, spam, trash) or a search term.
Find media
Lists items in the media library, newest first, optionally matching a search term or a type (image, video, audio, application).
Write 8
Create, change or send.
Write a post
Creates a post with a title and HTML content, as a draft by default, or publishes it (publish), schedules it (future with date), or submits it for review (pending).
Update a post
Changes a post by its ID: title, content (replaces it), status (publishing a draft, unpublishing to draft, scheduling with future and date), excerpt, categories, tags.
Move a post to the trashDeletes data
Moves a post to the trash by its ID (an editor can restore it from Posts > Trash until the trash is emptied, 30 days by default).
Create a page
Creates a page with a title and HTML content, as a draft by default or published, optionally under a parent page and with a slug.
Create a category
Creates a post category with a name and optional slug, parent category and description.
Create a tag
Creates a post tag with a name and optional slug.
Moderate a comment
Sets a comment's status by its ID: approved (shows it), hold (back to moderation), spam or trash.
Reply to a comment
Posts a comment as the signed-in user on a post, as a reply to another comment when parent is given (the post ID must be the parent's).
A person can approve first
Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything. Actions that delete data ask first by default.
Connection
How it connects
Connect it once in the console, then give it to the agents and workflows that need it.
Enter the API credentials from your WordPress account.
What you enter
- WordPress user name
- Application password
Settings
- Site address
Kept safe
- Credentials are stored encrypted with your organization's own keys.
- They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
- Calls go only to the tool's own servers.
Ideas
Ideas to start with
Starting points made only from the actions above. Mix them with any other tool your agents can use.
- 01
Ask about your WordPress data
Ask a question in plain words. The agent can find posts, get a post or find pages in WordPress, then answers with what it found.
- 02
Let an agent update WordPress
Have the agent update a post or create a page in WordPress as part of a larger task. Turn on approval and a person signs off on each change first.
- 03
Share what it finds in Slack
Give one agent WordPress and Slack: it can find posts in WordPress and post a summary to a Slack channel in the same run.
FAQ
WordPress and MyDeepAgents
Can MyDeepAgents connect to WordPress?
Yes. The WordPress connector has 15 actions: 7 read and 8 make changes. Your agents can call them as tools, and your workflows can run them as steps.
How do I connect WordPress?
Enter the API credentials from your WordPress account. You'll need: WordPress user name and Application password. The connection also asks for: Site address. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.
Can an agent change data in WordPress without asking?
Only if you let it. Each of the 8 actions that change data can be set to wait for a person's approval before it runs, and the one that deletes data asks first by default.
Can I use WordPress in workflows as well as agents?
Yes. Every WordPress action also works as a step in a workflow, and the same connection serves your agents and your workflows.
Early access
Put WordPress to work
Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.