View as Markdown
BuildChatbot icon

BuildChatbot ACTION

Attach Single Content to Bot

Attach a single content to a bot. See the API documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's BuildChatbot account once, then configure and run Attach Single Content to Bot 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: "buildchatbot-attach-single-content-to-bot",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    buildchatbot: { authProvisionId: "apn_xxxxxxx" },
    chatbotId: "Chatbot ID",
    text: "Text",
  },
})

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.

Attach Single Content to Bot inputs
Property Type Description
chatbotId Chatbot ID string
The unique identifier for the chatbot
Required Dynamic
text Text string
The text to attach to the bot
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
buildchatbot-attach-single-content-to-bot
Version
0.0.1
App
BuildChatbot
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes