Install
Manage Ghost posts, pages, tags, tiers, newsletters, offers, members, images, and webhooks with the Admin API, read published content with the Content API, and start a workflow on a Ghost webhook event.
- Open System, then Nodes.
- Find Ghost and click Install.
- Use the new nodes at once. You do not restart.
How it works
Ghost (ghost.api) is an action node in the Ghost package (@zerodot/ghost): Manage posts, pages, tags, tiers, newsletters, members, and images in Ghost.
The API field picks the API and the credential type:
- Admin API: read and write. It needs the Ghost Admin API credential.
- Content API: read published content only. It needs the Ghost Content API credential.
Admin API resources:
- Post: create, get (by ID or slug), get many, update, delete, copy
- Page: create, get (by ID or slug), get many, update, delete, copy
- Tag: create, get (by ID or slug), get many, update, delete
- Tier: create, get, get many, update
- Newsletter: create, get, get many, update
- Offer: create, get, get many, update
- Member: create, get, get many (with a filter), update, delete
- User: get (by ID or slug), get many
- Image: upload (from binary data of the input, or from an address)
- Site: get
- Webhook: create, update, delete
Content API resources (read only):
- Post, Page, Author, Tag: get (by ID or slug), get many
- Tier: get many
- Settings: get
Lists have Return All (at most 5000 items) and Limit. The node follows the pages of Ghost. List Options has filter (NQL) and order. Options has include, fields, and formats.
Notes:
- Content of a post or page is HTML by default. The node then adds
source=htmlto the request. Choose Lexical to send the native format of Ghost. - Update of a post or page needs
updated_at. If Updated At is empty, the node gets the item first and uses its value. Tags and authors in an update replace the old ones. - To publish and send an email, set the status Published and Newsletter Slug (and Email Segment, default
all) in the Additional Fields. The newsletter must be active. - To schedule, set the status Scheduled and Published At.
- Copy uses
POST /posts/{id}/copy/orPOST /pages/{id}/copy/. The official docs show the page path. The post path is the same in the Ghost code. - Ghost has no delete call for tiers, newsletters, and offers. Archive a newsletter or an offer with Status in Update. Turn off a tier with Active in Update.
- The official docs list no delete call for members. The node still has Member > Delete, because the Ghost API accepts
DELETE /members/{id}/. - Offer > Update changes only the name, the code, the display title, the display description, and the status. Ghost fixes the other fields (type, amount, cadence, duration, tier) at create.
- Image upload from an address refuses private and local hosts, follows at most 5 redirects, and stops at 25 MB. It gives the
urlof the stored file. Purpose isimage,profile_image, oricon. - A webhook has no get call in Ghost. Keep the ID from Create.
When Ghost gives an error, the node fails with the message and a short help text.
Logins it can use
Ghost Admin API (ghost.adminApi):
url: the address of the site, for examplehttps://my-site.ghost.io.apiKey: the Admin API key of a custom integration (Settings > Integrations). It has the formid:secret. The node makes a short token (HS256 JWT, 5 minutes) from it for each request.apiVersion: theAccept-Versionheader, for examplev5.0.webhookSecret: required for the trigger. Ghost signs each webhook request with it.
Ghost Content API (ghost.contentApi): url, key (the Content API key of the same integration), and apiVersion (the Accept-Version header, default v5.0). The node sends the key as the key query parameter.
The apiKey, the webhookSecret, and the key are secret. The Test button reads one tag (Admin API) or the settings (Content API).
Guides and related hubs
Add Ghost from System > Nodes without restarting.
All CMS nodesAutomate content publishing and updates across Ghost, WordPress, Contentful, Strapi, and headless CMS platforms.
Use credentialsAES-256-GCM encrypted API keys and OAuth2 connections.
Compare alternativesCompare zerodot with n8n, Zapier, Windmill, and Activepieces.