Imp Imp
← Back to Arsenal
WordPress Integration - Auto Publisher

WordPress Integration - Auto Publisher

Automation

Automatically publish content to WordPress sites. Schedule posts, manage categories, upload media & sync with your content calendar. REST API & XML-RPC support.

WordPress Integration

"Auto-Publish to WordPress from Anywhere" by John Rippy | johnrippy.link
🏆 2025 Zapier Automation Hero of the YearProject Phoenix: A 95-step AI sales pipeline cutting development time by 50%. Read more →

---

Seamless WordPress Publishing via REST API

Stop manually copying content into WordPress. This actor auto-publishes posts, pages, and custom post types directly via the WordPress REST API. What can you do with this? Automate your WordPress publishing workflow.

---

Why Use This?

1. Connect Any Data Source to WordPress

Combine with other Apify actors to build powerful content pipelines:

2. No Plugin Required

Uses native WordPress REST API. Works with any WordPress site with REST API enabled (WordPress 4.7+).

3. Full Content Control

4. Webhook Notifications

Get notified when posts are published. Integrate with Zapier, Make, n8n.

---

Quick Start Examples

Example 1: Publish a Blog Post

{

"action": "create_post",

"wordpressUrl": "https://your-site.com",

"authType": "application_password",

"username": "your-username",

"applicationPassword": "xxxx xxxx xxxx xxxx xxxx xxxx",

"posts": [

{

"title": "My First Automated Post",

"content": "<p>This post was created automatically via API!</p>",

"status": "publish",

"categories": ["Technology", "Automation"],

"tags": ["apify", "wordpress", "api"]

}

]

}

Example 2: Schedule a Post for Later

{

"action": "create_post",

"wordpressUrl": "https://your-site.com",

"authType": "application_password",

"username": "admin",

"applicationPassword": "xxxx xxxx xxxx xxxx xxxx xxxx",

"posts": [

{

"title": "Scheduled Post",

"content": "<p>This will go live on New Year's Day!</p>",

"status": "future",

"date": "2025-01-01T09:00:00"

}

]

}

Example 3: Create Page with Featured Image

{

"action": "create_page",

"wordpressUrl": "https://your-site.com",

"authType": "application_password",

"username": "admin",

"applicationPassword": "xxxx xxxx xxxx xxxx xxxx xxxx",

"posts": [

{

"title": "About Us",

"content": "<h2>Our Story</h2><p>We started in 2020...</p>",

"status": "publish",

"featuredImageUrl": "https://example.com/team-photo.jpg",

"template": "page-about"

}

]

}

Example 4: Batch Create Multiple Posts

{

"action": "create_post",

"wordpressUrl": "https://your-site.com",

"authType": "application_password",

"username": "admin",

"applicationPassword": "xxxx xxxx xxxx xxxx xxxx xxxx",

"posts": [

{

"title": "Post 1",

"content": "<p>First post content...</p>",

"status": "draft"

},

{

"title": "Post 2",

"content": "<p>Second post content...</p>",

"status": "draft"

},

{

"title": "Post 3",

"content": "<p>Third post content...</p>",

"status": "draft"

}

]

}

---

Authentication Methods

Application Passwords (Recommended)

1. Go to Users → Profile in WordPress admin

2. Scroll to Application Passwords

3. Enter a name (e.g., "Apify Integration")

4. Click Add New Application Password

5. Copy the generated password

{

"authType": "application_password",

"username": "your-username",

"applicationPassword": "xxxx xxxx xxxx xxxx xxxx xxxx"

}

Basic Auth (with Plugin)

Requires the Application Passwords plugin for WordPress < 5.6.

{

"authType": "basic",

"username": "your-username",

"password": "your-password"

}

JWT Token

Requires the JWT Authentication plugin.

{

"authType": "jwt",

"jwtToken": "your-jwt-token"

}

---

Input Parameters

Post Object Properties

---

Output Format

{

"success": true,

"action": "create_post",

"totalPosts": 3,

"created": 3,

"failed": 0,

"results": [

{

"title": "My First Automated Post",

"postId": 1234,

"postType": "post",

"status": "publish",

"url": "https://your-site.com/my-first-automated-post/",

"publishedAt": "2025-12-23T12:00:00.000Z"

}

]

}

---

Pay-Per-Event Pricing

You only pay for what you use. No monthly fees. No minimums.

Cost Examples

---

Use Cases

Content Automation

Blog Networks

E-commerce (WooCommerce)

SEO & Marketing

---

Webhook Integration

Webhook Payload

{

"event": "publish_completed",

"timestamp": "2025-12-23T12:00:00.000Z",

"actor": "wordpress-integration",

"wordpressSite": "https://your-site.com",

"action": "create_post",

"totalPosts": 5,

"created": 5,

"failed": 0,

"results": [...]

}

Common Automations

---

API Integration

Using the Apify API (JavaScript)

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const run = await client.actor('localhowl/wordpress-integration').call({

action: 'create_post',

wordpressUrl: 'https://your-site.com',

authType: 'application_password',

username: 'admin',

applicationPassword: 'xxxx xxxx xxxx xxxx xxxx xxxx',

posts: [

{

title: 'Automated Post',

content: '<p>Published via API</p>',

status: 'publish'

}

]

});

const { items } = await client.dataset(run.defaultDatasetId).listItems();

console.log(items[0]);

Using cURL

curl -X POST "https://api.apify.com/v2/acts/localhowl~wordpress-integration/runs?token=YOUR_API_TOKEN" \

-H "Content-Type: application/json" \

-d '{

"action": "create_post",

"wordpressUrl": "https://your-site.com",

"authType": "application_password",

"username": "admin",

"applicationPassword": "xxxx xxxx xxxx xxxx xxxx xxxx",

"posts": [

{

"title": "API Test Post",

"content": "<p>Created via cURL</p>",

"status": "draft"

}

]

}'

---

Requirements

---

Troubleshooting

---

Limitations

---

Support

🏆 2025 Zapier Automation Hero of the YearProject Phoenix: A 95-step AI sales pipeline cutting development time by 50%. Read more →

---

Built by John Rippy | johnrippy.link
🏆 2025 Zapier Automation Hero of the YearProject Phoenix: A 95-step AI sales pipeline cutting development time by 50%. Read more →

---

Keywords

wordpress api, wordpress automation, wordpress rest api, auto publish wordpress, wordpress integration, blog automation, content automation, wordpress headless cms, wordpress programmatic publishing, woocommerce api, batch wordpress publishing, wordpress webhook, zapier wordpress, make wordpress

149,000
KILLS
100%
HEALTH
Doomguy
274
ACTORS
0/3
SECRETS