> ## 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.

# 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.

<Tabs>
  <Tab title="Create post" icon="book-arrow-up">
    #### **Create Post**

    Create a new post on a connected WordPress site.

    **Required inputs**

    * **WordPress Site**
    * **Title**
    * **Content**

    **Optional inputs**

    * **Status** (e.g., Draft or Publish)
    * **Excerpt**
    * **Slug**

    This step is commonly used after content generation or transformation steps to draft or publish new articles.
  </Tab>

  <Tab title="Update post" icon="pencil">
    #### **Update Post**

    Update an existing post.

    **Required inputs**

    * **WordPress Site**
    * **Post ID**

    **Optional inputs**

    * **Status**
    * **Title**
    * **Content**
    * **Excerpt**
    * **Slug**

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

    <Callout icon="lightbulb" color="#376CFF">
      \*\*Important Notes: \*\*Only the fields you provide will be modified; all other fields remain unchanged.
    </Callout>
  </Tab>

  <Tab title="List posts" icon="table-list">
    #### **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** (e.g., Publish)

    The output is a structured list of posts that can be used in downstream Agent steps (for example, selecting a post to update).
  </Tab>

  <Tab title="Get post" icon="align-justify">
    #### **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.
  </Tab>
</Tabs>
