Create Post
Automatically create posts, pages, or custom post types.
Overview
The Create Post action creates a new post, page, or custom post type in your WordPress site. This is useful for automated content creation, user-generated content workflows, and content syndication.
Configuration
Required Fields
| Field | Type | Description |
|---|---|---|
| Title | string | Post title |
| Content | string | Post content (HTML supported) |
Optional Fields
| Field | Type | Default | Description |
|---|---|---|---|
| Post Type | select | post | post, page, or custom type |
| Status | select | draft | draft, publish, pending, private |
| Author | select | Current user | Post author |
| Excerpt | string | - | Post excerpt |
| Categories | multi-select | - | Category IDs (posts only) |
| Tags | string | - | Comma-separated tags |
| Featured Image | string | - | Image URL or attachment ID |
| Slug | string | Auto | Custom URL slug |
| Date | string | Now | Publication date |
| Comment Status | select | open | open or closed |
Using Variables
Title: Order Summary for {{Trigger.billing.first_name}}
Content: |
<h2>Order #{{Trigger.order_number}}</h2>
<p>Total: ${{Trigger.total}}</p>
Post Type: order_summary
Status: private
Post Types
Create any registered post type:
| Post Type | Description |
|---|---|
post | Standard blog posts |
page | Static pages |
product | WooCommerce products |
custom_type | Any registered CPT |
Example Configurations
User Profile Page
Title: Profile: {{Trigger.display_name}}
Content: |
<h1>{{Trigger.display_name}}</h1>
<p>Member since: {{Trigger.registered_date}}</p>
Post Type: member_profile
Status: publish
Author: {{Trigger.user_id}}
Order Archive
Title: Order #{{Trigger.order_number}}
Content: |
Customer: {{Trigger.billing.first_name}} {{Trigger.billing.last_name}}
Items: {{Trigger.items}}
Total: ${{Trigger.total}}
Post Type: order_archive
Status: private
Knowledge Base Article
Title: {{Trigger.fields.title}}
Content: {{Trigger.fields.content}}
Post Type: kb_article
Status: pending
Categories: Support
Tags: {{Trigger.fields.tags}}
Output Data
After creation, this action provides:
| Variable | Type | Description |
|---|---|---|
{{Action.post_id}} | integer | Created post ID |
{{Action.post_url}} | string | Post permalink |
{{Action.edit_url}} | string | Admin edit URL |
You can use these in subsequent actions:
# In next action
Subject: New post created: {{Action1.post_url}}
Featured Images
Set featured images in multiple ways:
By URL
Featured Image: https://example.com/image.jpg
By Attachment ID
Featured Image: {{Trigger.image_id}}
From Trigger
Featured Image: {{Trigger.featured_image.url}}
Best Practices
- Use
draftstatus for review workflows - Set appropriate authors for attribution
- Use custom post types to organize automated content
- Include relevant metadata for searchability
Common Use Cases
- User-generated content - Create posts from form submissions
- Content syndication - Import content from external sources
- Order archives - Create private records of transactions
- Profile pages - Auto-generate member profiles
- Log entries - Create searchable activity records