Skip to main content

Create Post

Creates a post in Ghost.

This node is also exposed as an AI Agent tool.

This node has 1 input port and 1 output port.

Common Properties

Every node shares these.

  • Name — the node's display name on the canvas.
  • Color — the node's colour on the canvas.
  • Delay Before (sec) — wait this long before the node runs.
  • Delay After (sec) — wait this long after the node runs.
  • Continue On Error — carry on instead of failing the flow. Defaults to false.
info

When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.

Inputs

PropertyFieldDescription
Client IDinClientIDClient ID from Connect node
HTML ContentinHTMLPost content in HTML format
TitleinTitlePost title

Outputs

PropertyFieldDescription
PostoutPostCreated post object
Post IDoutPostIDCreated post ID

Options

PropertyFieldDescription
CredentialsoptCredentialsGhost Admin API credentials
Custom ExcerptoptExcerptCustom excerpt for the post
FeaturedoptFeaturedMark post as featured
SlugoptSlugCustom URL slug
StatusoptStatusPost status One of: draft, published, scheduled.
TagsoptTagsComma-separated tag names (created if they don't exist)

Requirements

  • A Client ID from this package's Connect node, unless you set credentials directly on this node.
  • Ghost Admin API Key — Admin API key for Ghost CMS authentication
    • url — Site URL (text, required). Your Ghost site URL (without trailing slash)
    • value — Admin API Key (password, required). Admin API key in id:secret format from Ghost Admin > Integrations

Store these in a Vault and reference the vault item from the node, rather than typing the secret into the property.

Get Post · List Posts · Update Post · Delete Post

Elsewhere in the package: Connect · Disconnect · Create Page · Get Page · List Pages · Update Page · Delete Page · Create Member · Get Member · List Members and 6 more

See also