View as Markdown
Beekeeper icon

Beekeeper ACTION

Send Message to Group Chat

Send a precomposed message to a defined group chat. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Beekeeper account once, then configure and run Send Message to Group Chat 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: "beekeeper-send-message-group-chat",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    beekeeper: { authProvisionId: "apn_xxxxxxx" },
    chatId: "Chat ID",
    body: "Body",
  },
})

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.

Send Message to Group Chat inputs
Property Type Description
chatId Chat ID string
The ID of the chat to send a message
Required Dynamic
body Body string
The message body. Supports rich text formatting.
Optional
attachment Attachment object
JSON object representing attachment. A valid attachment object can be created and fetched using the POST /files/{usage_type}/upload endpoint.
Optional
eventType Event Type string
Type of event that the message corresponds to.
Optional
chatStateAddons Chat State Addons string[]
Array of objects containing type and data fields for chat state addons.
Optional
messageAddons Message Addons string[]
Array of objects containing type and data fields for message addons.
Optional
mentions Mentions string[]
IDs of the users mentioned in the message body. Can also have value of 'all', which means all the chat members were mentioned.
Optional Dynamic

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
beekeeper-send-message-group-chat
Version
0.0.2
App
Beekeeper
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes