View as Markdown
talkSpirit icon

talkSpirit ACTION

Create Post Comment

Creates a new post or adds a comment to an existing thread in Talkspirit using Incoming Webhooks. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's talkSpirit account once, then configure and run Create Post Comment 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: "talkspirit-create-post-comment",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    talkspirit: { authProvisionId: "apn_xxxxxxx" },
    title: "Title",
    content: "Content",
  },
})

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 Comment inputs
Property Type Description
title Title string
The title of the post. Required for new posts, optional for comments in existing threads.
Optional
content Content string
The content/text of the post or comment.
Optional
url URL string
Optional URL to attach to the post.
Optional
displayName Display Name string
The display name for the bot/webhook sender.
Optional
iconUrl Icon URL string
URL for the bot/webhook sender's avatar icon.
Optional
contactUrl Contact URL string
URL for the bot/webhook sender's profile.
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
talkspirit-create-post-comment
Version
0.0.2
App
talkSpirit
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes