Ghost Blocks icon

Ghost Blocks

Publish to Ghost CMS using simple content blocks

Actions8

Tag → Get Many

AI-generated

Summary

Fetches all tags from the connected Ghost site via the Admin API and returns one item per tag with basic fields and post count.

Inputs

None.

Output shape

One output item per tag, each with id, name, slug, description, visibility, and post_count (number of posts using the tag, from Ghost's count.posts).

No filters, pagination, or ordering options are exposed; the request always asks Ghost for limit=all. It runs once per input item, so multiple input items repeat the call and return the full tag list each time. Each output item is paired with its input item. With Continue On Fail enabled, a failed item yields {error: message}. Requires the Ghost Blocks API credential (site URL and Admin API key).

Examples

Example 1: Retrieve all tags so an AI agent or a later node can pick valid tag names before creating a post.

Resource: Tag, Operation: Get Many. No other parameters.

Example 2: Report tags that have no posts for site cleanup.

Resource: Tag, Operation: Get Many, then an IF or Filter node on post_count equal to 0.

Links

Discussion