Actions8
Post → Get
AI-generatedSummary
Fetches a single Ghost post by ID through the Ghost Admin API and returns the full post object, including rendered HTML and Lexical content plus its tags and authors.
Inputs
- postId (required) — The Ghost post ID to retrieve. It is inserted into the request path (GET posts/{postId}/). It can be set with an expression for each input item.
Output shape
One output item per input item. Each item's json is the raw Ghost post object, taken from posts[0] of the Admin API response.
Unlike Create, Update and List, Get does not trim the post to a summary. The request asks for formats=html,lexical and include=tags,authors, so the item carries html, lexical, tags and authors alongside the standard post fields. Authentication uses a short-lived JWT generated from the Admin API key in the ghostBlocksApi credentials. If the ID doesn't exist, the node throws an API error. With Continue On Fail enabled, it outputs {error: message} for that item instead.
Examples
Example 1: Read an existing post's content and metadata before editing it elsewhere in the workflow.
Resource: Post; Operation: Get; Post ID: a Ghost post ID such as 64f1c2e8a1b2c3d4e5f6a7b8.
Example 2: Look up posts by IDs produced by an upstream node, such as a webhook or a Get Many step.
Resource: Post; Operation: Get; Post ID: ={{ $json.id }}