Recued
Menu
← Back to recipes

Create a WordPress post draft

by recued-core v2 23 views

Use “Create a WordPress post draft” in Recued. It runs the WordPress draft creation with approval before changes are made.

How it works 13 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (13 steps)
■ title_text trim
Trim whitespace from setting title
■ content_html trim
Trim whitespace from setting content
■ excerpt_text trim
Trim whitespace from setting excerpt
■ slug_text trim
Trim whitespace from setting slug
■ publish_date trim
Trim whitespace from setting date
■ has_title compare
Check if title text has data
■ has_content compare
Check if content html has data
■ has_slug compare
Check if slug text has data
■ has_required all
Check if all conditions are true
◆ existing recued-core.wordpress.post.search
Search post on wordpress
skip: step.has_slug not_equal true
◆ created_post recued-core.wordpress.post.create
Create post on wordpress
skip: step.has_required not_equal true
■ skipped compare
Check if has required does not equal true
■ card to_summary
Format results as a summary card
▼
Output
summary card
Settings 11 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

date setting =
slug setting =
tags setting =
title setting =
author setting = 0
status setting = draft
content setting = <p>Draft the post content here.</p>
excerpt setting =
categories setting =
comment status setting = open
featured media setting = 0

Uses (2 operations)

Pack operation Search post on wordpress recued-core.wordpress.post.search
Pack operation Create post on wordpress recued-core.wordpress.post.create

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Read your Wordpress connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

wordpress wordpresscmspostdraftpublishingapprovalcontentpack:wordpress

Details

13 steps 11 configurable settings recipe_id: create-post-draft-wordpress