> ## 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 Workflows create, update, retrieve, and list posts on a connected WordPress site

The WordPress integration lets Profound Workflows create, update, retrieve, and list posts on a connected WordPress site. Use it to build automated content pipelines that generate, transform, and publish articles directly from Profound Workflows.

## Setup and authentication

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

1. Create an application password using [WordPress's documentation](https://developer.wordpress.org/advanced-administration/security/application-passwords/#creating-an-application-password-in-wp-admin).
2. Copy the generated password. You'll need it to connect to Profound.

**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. Select **Connect account** to finish.

After you connect, the WordPress site appears as an available integration that you can select inside Workflows. You can connect multiple WordPress sites to the same Profound organization.

## Using WordPress in Workflows

After connecting a site, WordPress actions become available as Workflow 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

Use this step to publish drafts, revise existing content, or update posts created earlier in the Workflow.

> [!WARNING]
>
> This step modifies only the fields you provide. All other fields remain unchanged.

### 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 you can use in downstream Workflow 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, which later steps in the Workflow can reference.

## Tips and troubleshooting

1. If you don't see **Application Passwords**, refer to [WordPress's application password documentation](https://developer.wordpress.org/advanced-administration/security/application-passwords/#availability-and-disabling).
2. If you lose the application password, create a new one using [WordPress's documentation](https://developer.wordpress.org/advanced-administration/security/application-passwords/#creating-an-application-password-in-wp-admin) and reconnect the integration in Profound.
3. Make sure the Site URL matches the address you use to access your WordPress site, including https and any subdirectory.
