View as Markdown
Ghost.org (Admin API) icon

Ghost.org (Admin API) ACTION

Create post

Create a post. See the documentation.
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Ghost.org (Admin API) account once, then configure and run Create post from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "ghost_org_admin_api-create-post",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    ghost_org_admin_api: { authProvisionId: "apn_xxxxxxx" },
    title: "Title",
    featuredImage: "Featured Image",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create post inputs
Property Type Description
title Title string
Title of the post
Required
featuredImage Featured Image string
URL of the featured image
Optional
html HTML string
HTML content of the post
Optional
status Status string
Status of the post
Optional
tags Tags string[]
Tags of the post
Optional
featured Featured boolean
Set to true to make the post featured
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
ghost_org_admin_api-create-post
Version
0.0.6
App
Ghost.org (Admin API)
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes