Publish to WordPress
publish_to_wordpressPublish HTML to a WordPress site using the site's Application Password. Creates a post with the given title and HTML body. status is draft, publish, or pending. Default is draft. Needs a free StartupHub.ai account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tag names (created in WP if missing). Max 30. | |
| title | Yes | Article title (becomes the post title in WP) | |
| status | No | Default 'draft'. Use 'publish' to go live immediately, 'pending' to queue for editor review. | |
| excerpt | No | Optional WP excerpt (manual excerpt overrides WP's auto-generated one). | |
| site_url | Yes | WordPress site URL, e.g. 'https://blog.example.com'. https:// is auto-added if missing. | |
| username | Yes | WordPress username (the one shown in /wp-admin → Users) | |
| categories | No | Category names (created in WP if missing). Max 10. | |
| content_html | Yes | Full article body as HTML. Will land verbatim in the WP block editor. | |
| featured_image_url | No | Optional public URL of an image to sideload to WP media and attach as the featured image. | |
| application_password | Yes | Application Password generated at /wp-admin/profile.php → Application Passwords. NOT the user's login password. 24 chars with spaces: paste as-is, we strip the spaces. |