Skip to main content

Documentation Index

Fetch the complete documentation index at: https://slatehq.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

The WordPress integration lets you create and update posts on your WordPress site directly from Slate workflows. Generate content with AI, upload images, and publish — all without leaving Slate.

Why connect WordPress to Slate?

Slate generates content through AI-powered workflows. WordPress powers your website. Connecting the two lets you go from content generation to published post in a single automated flow.

Prerequisites

  • A Slate account with an active workspace
  • A self-hosted WordPress site or WordPress.com site with REST API access
  • A WordPress user account with permission to create and edit posts
  • An Application Password generated from WordPress

Setup

Step 1: Generate a WordPress Application Password

  1. Log in to your WordPress admin dashboard.
  2. Go to Users > Profile (or click your username).
  3. Scroll down to the Application Passwords section.
  4. Enter a name for the password (e.g., “Slate Integration”).
  5. Click Add New Application Password.
  6. Copy the generated password. WordPress shows it only once.
Application Passwords require WordPress 5.6 or later. If you do not see the Application Passwords section, check that your site uses HTTPS — WordPress disables this feature on non-HTTPS sites.

Step 2: Connect WordPress in Slate

  1. Open Slate and go to Administration > Integrations.
  2. Find WordPress and click Connect.
  3. Fill in the connection details:
    • Connection Name — A label for this connection (e.g., “Company Blog”)
    • Site URL — Your WordPress site URL (e.g., https://yoursite.com)
    • Username — Your WordPress username
    • Application Password — The password you generated in Step 1
  4. Click Save.
Slate validates the credentials by calling the WordPress REST API. If the credentials are valid, the connection appears as active.

Step 3: Use the connection in a workflow

  1. Open or create a workflow.
  2. Add the WordPress block from the Apps section.
  3. Select your WordPress connection from the dropdown.
  4. Choose an action: Create Post, Update Post, or Upload Media.
  5. Map your workflow data to the post fields.

What you can do

Once connected, the WordPress integration supports three actions through the workflow block:

Create Post

Add a new post to your WordPress site.
FieldRequiredDescription
TitleYesPost title
ContentYesPost body (HTML supported)
SlugNoURL slug for the post
ExcerptNoShort summary
StatusNodraft, publish, pending, or private
Author IDNoWordPress user ID for the author
Featured Image IDNoMedia library ID for the featured image
CategoriesNoComma-separated category IDs
TagsNoComma-separated tag names
Post TypeNoWordPress post type (defaults to post)
TemplateNoPage template file name
MetaNoCustom fields as JSON

Update Post

Modify an existing post by matching its slug. All fields except slug are optional. Only the fields you map are updated — everything else stays unchanged.

Upload Media

Upload an image to the WordPress media library. Three source options:
SourceDescription
URLFetch an image from an external URL
UploadUse a file uploaded in the workflow
DrivePull an image from Slate Drive
The uploaded image returns a media ID that you can use as the featured image in a Create Post or Update Post action.

Use cases

AI-powered blog publishing

Generate blog posts with the LLM block and publish them as drafts on WordPress for editorial review. Example flow: Target keywords → LLM generates article with title, body, excerpt, and slug → WordPress block creates a draft post

Bulk content generation from a sheet

Store topic ideas or content briefs in a Slate sheet. Loop through each row, generate content, and publish to WordPress. Example flow: Sheet with content briefs → Loop block iterates rows → LLM writes article per row → WordPress block creates draft posts

Image-rich content publishing

Generate content and images together. Upload AI-generated images to the WordPress media library, then attach them as featured images on new posts. Example flow: LLM generates article → Generate Image block creates a featured image → WordPress block uploads media → WordPress block creates post with featured image ID

SEO landing pages at scale

Use keyword data from Semrush blocks to generate optimized landing pages and publish them to WordPress. Example flow: Semrush keyword data → LLM writes landing page copy → WordPress block creates pages with target slug and meta

Content refresh and updates

Identify outdated posts, regenerate their content, and push updates back to WordPress using the slug to match existing posts. Example flow: Sheet with post slugs to update → LLM rewrites content → WordPress block updates each post by slug

Multilingual content publishing

Translate content into multiple languages and publish each version as a separate post or to a multilingual plugin’s post type. Example flow: Source content → LLM translates to target language → WordPress block creates post in language-specific category

Managing connections

View connections

Go to Administration > Integrations to see all your WordPress connections and their status.

Re-authenticate

If your Application Password is revoked or your credentials change:
  1. Generate a new Application Password in WordPress.
  2. Open the connection in Slate.
  3. Enter the new username and password, then save.
The site URL cannot be changed when re-authenticating. To connect a different site, create a new connection.

Remove a connection

Delete a connection from Administration > Integrations. Any workflows using that connection will need to be updated with a new one.

Troubleshooting

IssueCauseSolution
Connection fails on saveInvalid credentialsVerify your username and Application Password are correct
”401 Unauthorized” errorsPassword revoked or expiredGenerate a new Application Password in WordPress
”403 Forbidden” errorsUser lacks permissionsEnsure the WordPress user has Editor or Administrator role
Application Passwords section missingSite not using HTTPS or WordPress < 5.6Enable HTTPS on your site or update WordPress
Posts created but not visibleStatus set to draftCheck the post status or change the workflow to set status to publish
Categories not appliedWrong category IDsLook up category IDs in WordPress under Posts > Categories
Featured image not showingInvalid media IDUpload the image first and use the returned media ID
Custom fields not savingREST API access not enabled for fieldsFor ACF fields, enable “Show In REST API” in the field group settings

What’s next