Skip to main content
Use WORDPRESS_POST_ARTICLE to create a post on a WordPress site. Configure the site’s base url, a username, and a WordPress application password. The required title and content inputs define the post; content is HTML. The optional draft input defaults to true, so a new post remains a draft unless you choose to publish it.

Create a draft

Replace the sample site and credentials. On success, inspect result.id, result.slug, and result.status; the status should be draft. Set draft to false only when the flow should publish the post immediately. If the step fails, check the site URL, application password, account permissions, and HTML content.