> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tryprofound.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WordPress

> Let Agents create, update, retrieve, and list posts on a connected WordPress site

The WordPress integration allows [Profound Agents](/agents/about) to programmatically create, update, retrieve, and list posts on a connected WordPress site. This enables fully automated content pipelines, such as generating, transforming, and publishing articles, directly from Profound Agents.

## Setup & Authentication

### Step 1: Create an application password in WordPress

1. Log in to your WordPress admin panel.
2. Navigate to **Users > Profile** (or **Users > Edit** for the relevant admin user).
3. Scroll to **Application Passwords**.
4. Create a new application password (for example, "Profound Integration").
5. Copy the generated password immediately. It won't be shown again.

**Important notes**

* Use your **actual WordPress username**, not the application password label.
* Application Passwords require **WordPress 5.6 or later**.
* Treat the application password like a **standard credential**. It grants REST API access to your site.

### Step 2: Connect WordPress to Profound

1. In Profound, select your organization name in the top-left corner of the platform, then select **Settings > Integrations > WordPress**.
2. Select **+ Add account**.
3. Enter your **Username** (your WordPress login username), **Password** (the application password you generated), and **Site URL** (for example, [https://example.com](https://example.com)).
4. Click **Connect account** to finish.

Once connected, the WordPress site will appear as an available integration and can be selected inside Agents. Multiple WordPress sites can be connected to the same Profound organization.

## Using WordPress in Agents

After connecting a site, WordPress actions become available as Agent steps. Each step requires you to select a connected WordPress site from a dropdown.

### 1. Create post

Create a new post on a connected WordPress site.

**Required inputs:**

* WordPress site
* Title
* Content

**Optional inputs:**

* Status (for example, Draft or Publish)
* Excerpt
* Slug

Use this step after content generation or transformation steps to draft or publish new articles.

#### 2. Update post

Update an existing post.

**Required inputs:**

* WordPress site
* Post ID

**Optional inputs:**

* Status
* Title
* Content
* Excerpt
* Slug

This step is useful for publishing drafts, revising existing content, or programmatically updating posts created earlier in the Agent.

<Warning>Only the fields you provide will be modified. All other fields remain unchanged.</Warning>

#### 3. List posts

Retrieve a list of posts from a connected WordPress site.

**Required inputs:**

* WordPress site

**Optional inputs:**

* Page (pagination)
* Per page (number of posts to return)
* Post status (for example, **Publish**)

The output is a structured list of posts that can be used in downstream Agent steps, for example to select a post to update.

#### 4. Get post

Retrieve a single post by ID.

Required inputs:

* WordPress site
* Post ID

The output includes the post's data and can be referenced by later steps in the Agent.

## Tips and troubleshooting

1. If you don't see **Application Passwords** in WordPress, confirm your WordPress version and check whether a security plugin is disabling the feature.
2. If you lose the application password, generate a new one in WordPress and reconnect the integration in Profound.
3. Ensure the Site URL exactly matches how your WordPress site is accessed, including https and any subdirectory if applicable.
