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.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.
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
- Log in to your WordPress admin dashboard.
- Go to Users > Profile (or click your username).
- Scroll down to the Application Passwords section.
- Enter a name for the password (e.g., “Slate Integration”).
- Click Add New Application Password.
- 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
- Open Slate and go to Administration > Integrations.
- Find WordPress and click Connect.
- 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
- Click Save.
Step 3: Use the connection in a workflow
- Open or create a workflow.
- Add the WordPress block from the Apps section.
- Select your WordPress connection from the dropdown.
- Choose an action: Create Post, Update Post, or Upload Media.
- 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.| Field | Required | Description |
|---|---|---|
| Title | Yes | Post title |
| Content | Yes | Post body (HTML supported) |
| Slug | No | URL slug for the post |
| Excerpt | No | Short summary |
| Status | No | draft, publish, pending, or private |
| Author ID | No | WordPress user ID for the author |
| Featured Image ID | No | Media library ID for the featured image |
| Categories | No | Comma-separated category IDs |
| Tags | No | Comma-separated tag names |
| Post Type | No | WordPress post type (defaults to post) |
| Template | No | Page template file name |
| Meta | No | Custom 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:| Source | Description |
|---|---|
| URL | Fetch an image from an external URL |
| Upload | Use a file uploaded in the workflow |
| Drive | Pull an image from Slate Drive |
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 postBulk 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 postsImage-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 IDSEO 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 metaContent 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 slugMultilingual 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 categoryManaging 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:- Generate a new Application Password in WordPress.
- Open the connection in Slate.
- 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
| Issue | Cause | Solution |
|---|---|---|
| Connection fails on save | Invalid credentials | Verify your username and Application Password are correct |
| ”401 Unauthorized” errors | Password revoked or expired | Generate a new Application Password in WordPress |
| ”403 Forbidden” errors | User lacks permissions | Ensure the WordPress user has Editor or Administrator role |
| Application Passwords section missing | Site not using HTTPS or WordPress < 5.6 | Enable HTTPS on your site or update WordPress |
| Posts created but not visible | Status set to draft | Check the post status or change the workflow to set status to publish |
| Categories not applied | Wrong category IDs | Look up category IDs in WordPress under Posts > Categories |
| Featured image not showing | Invalid media ID | Upload the image first and use the returned media ID |
| Custom fields not saving | REST API access not enabled for fields | For ACF fields, enable “Show In REST API” in the field group settings |
What’s next
- Building Workflows — learn how to create workflows from scratch
- LLM Block — generate content for your WordPress posts
- Loop Block — process multiple posts in a single workflow
- Human Review Block — add approval steps before publishing
- Google Sheets Block — pull data from Google Sheets into your workflow