Ghost Blocks icon

Ghost Blocks

Publish to Ghost CMS using simple content blocks

Actions8

Post → Get Many

AI-generated

Summary

Retrieves posts from a Ghost site via the Admin API, optionally filtered by status, tag, or title text, and returns one summarized item per post.

Inputs

  • Filters > Status — Draft, Published, Scheduled, or Sent. Defaults to published when the filter is added, and is sent as a Ghost filter status:<value>.
  • Filters > Tag — Tag slug to match, sent as tag:<value>.
  • Filters > Search (Title Contains) — Text matched against the post title using Ghost's title:~'...' filter. Single quotes are escaped.
  • Filters > Limit — Max posts per request (minimum 1, default 50). This is passed to Ghost as the limit parameter, so it caps a single page.
  • Filters > Page — Page number for pagination (default 1).
  • Filters > Order — Ghost order string, default published_at desc.

Output shape

A list of items, one per matching post, each with id, uuid, url, status, title, slug, created_at, updated_at, and published_at.

The request asks Ghost for html and lexical formats plus tags and authors, but the node trims each post to the summary fields above, so body content, tags, and authors are not returned. Only one page is fetched per input item, so use Page to retrieve more. Active filters are joined with + (AND). With Continue On Fail enabled, errors are returned as an item with an error field.

Examples

Example 1: List the 20 most recent published posts

Filters: Status=Published, Limit=20, Order=published_at desc

Example 2: Find drafts about a topic

Filters: Status=Draft, Search="newsletter"

Example 3: Page through posts with a given tag

Filters: Tag=news, Limit=50, Page=2

Links

Discussion