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

FieldTypeDescription
TitlestringPost title
ContentstringPost content (HTML supported)

Optional Fields

FieldTypeDefaultDescription
Post Typeselectpostpost, page, or custom type
Statusselectdraftdraft, publish, pending, private
AuthorselectCurrent userPost author
Excerptstring-Post excerpt
Categoriesmulti-select-Category IDs (posts only)
Tagsstring-Comma-separated tags
Featured Imagestring-Image URL or attachment ID
SlugstringAutoCustom URL slug
DatestringNowPublication date
Comment Statusselectopenopen 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 TypeDescription
postStandard blog posts
pageStatic pages
productWooCommerce products
custom_typeAny 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:

VariableTypeDescription
{{Action.post_id}}integerCreated post ID
{{Action.post_url}}stringPost permalink
{{Action.edit_url}}stringAdmin edit URL

You can use these in subsequent actions:

# In next action
Subject: New post created: {{Action1.post_url}}

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 draft status for review workflows
  • Set appropriate authors for attribution
  • Use custom post types to organize automated content
  • Include relevant metadata for searchability

Common Use Cases

  1. User-generated content - Create posts from form submissions
  2. Content syndication - Import content from external sources
  3. Order archives - Create private records of transactions
  4. Profile pages - Auto-generate member profiles
  5. Log entries - Create searchable activity records