Webhook logo
WordPress.com logo

Workflow template

Create a WordPress.com draft page from a webhook

Turn webhook title and content into a WordPress.com draft page on your selected Site. Review the page in WordPress before any later publishing decision; this template keeps its status set to draft.

How it works

From incoming page content to a WordPress.com draft

1 Trigger · 1 Action
Webhook1 · Trigger

Incoming content webhook

Receive title and content from a backend sender. Title is required and content is optional in the mapping; protect the webhook URL with source authentication before activation.

WordPress.com2 · Action

Create a draft page

Create a page on the Site selected in the action with status fixed to draft. Use incoming title/content without publishing, replacing an existing page or adding a navigation operation.

The result

A page draft ready for review in WordPress

Example WordPress.com draft page

FICTIONAL WordPress draft page

FICTIONAL page content received from a webhook.

Illustrative draft content from the included request sample. The selected Site and draft status come from action settings. No page is published by this workflow.

Before activation

Set up your workflow

  1. Connect WordPress.com and choose the Site

    Select the Site where page drafts should be created. site_id is initially blank and required; it is not taken from the incoming JSON.

  2. Configure the backend sender and authentication

    Send title and content to the generated webhook URL from a backend sender. Keep status: draft in the action and protect the source with authentication before activation.

  3. Inspect a fictional page draft

    Activate and send controlled page content. Review the resulting draft in WordPress and inspect uncertain writes before retrying. Any later publication is a separate action outside this template.

Details and limitations
  • The action creates a page rather than a post. It uses the WordPress.com page-creation action. No menu, navigation, page-parent or page-template configuration is included in the prepared mapping.

  • Site and status are fixed by the action. Incoming site_id or status fields do not override the configured Site or draft status. The template does not publish the page, even if the sender includes a publication value.

  • Repeated requests create additional drafts. Only new requests after activation are processed. There is no lookup by title or page ID and no upsert; manual reruns can create another page rather than updating the first draft.

Questions about this template

Will this publish the new page?

No. status is fixed to draft in the action. Review it in WordPress and make any later publishing decision separately; incoming status fields do not change the prepared mapping.

Can the webhook choose the Site?

Not with these mappings. Choose the WordPress.com Site in the action. The request supplies title and optional content, while site_id stays configured separately.

Does it create a post or add the page to navigation?

It creates a page draft, not a post. No menu, navigation, page-parent or page-template action is configured.

Will a matching title update an existing page?

No. Each accepted request or manual rerun creates another draft page. There is no lookup by title or ID, so inspect an uncertain creation before retrying.

Explore connected apps