View as Markdown
AnnounceKit icon

AnnounceKit ACTION

Create Post

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

IMPLEMENTATION

Call this tool

Connect a user's AnnounceKit 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: "announcekit-create-post",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    announcekit: { authProvisionId: "apn_xxxxxxx" },
    projectId: 10,
    title: "Title",
  },
})

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
projectId Project ID integer
The ID of the project
Required Dynamic
title Title string
The title of the post
Required
labels Labels integer[]
A list of label IDs to attach to the post
Optional Dynamic
body Body string
The body content of the post. You can use basic HTML tags.
Required
locale Locale string
The locale of the post.
Required Dynamic
isDraft Is Draft boolean
Whether to create the post as a draft. Set to false to publish immediately.
Required

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
announcekit-create-post
Version
0.0.1
App
AnnounceKit
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes