Actions12
Post → Create or Update
AI-generatedSummary
Create a new WordPress post or update an existing one based on the provided data, optionally using the post slug to determine whether to update an existing post rather than creating a new one.
Inputs
- Title (required) — Title of the post
- Content (required) — HTML-supported content of the post
- Status — Status of the post (e.g., Published, Draft, Pending Review, Private, Future)
- Update by Slug — If enabled during creation, update an existing post with the same slug instead of creating a new one
- Publish Date — Scheduled publication date and time (required if status is Future), supports timezone notation
- Excerpt — Short summary of the post for archives and SEO
- Slug — URL-friendly slug for the post
- Featured Image URL — URL of an image to download and set as featured image
- Categories — Comma-separated list of category names or IDs to associate with the post
- Tags — Comma-separated list of tag names or IDs to associate with the post
- SEO Options — SEO metadata fields including meta title, description, keywords, social sharing titles and descriptions, and JSON-LD structured data, managed by AI GROWTH - SEO WP plugin
- FAQ — FAQ items to update or add to the post
- CTA (Call to Action) — Call to Action button text and URL to include or update in the post
Output shape
a single WordPress post record
Returns the created or updated post including enriched SEO metadata, categories, tags, featured image URL, and optionally FAQs and CTAs if supported. Handles both creation and update actions internally based on input parameters. Slug-based update applies only on create when 'Update by Slug' is enabled. The operation automatically processes categories, tags, SEO, FAQs, CTAs, and featured images. Scheduled publication (future status) requires a valid publish date.