View as Markdown
LINE Messaging icon

LINE Messaging ACTION

Send Broadcast Message

Sends a broadcast message to all users. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's LINE Messaging account once, then configure and run Send Broadcast Message 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: "line_messaging_api-send-broadcast-message",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    line_messaging_api: { authProvisionId: "apn_xxxxxxx" },
    message: "Message Text",
    notificationDisabled: true,
  },
})

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 Broadcast Message inputs
Property Type Description
message Message Text string
The text of message to send
Required
notificationDisabled Disable Notification boolean
The user will receive a push notification when the message is sent
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
line_messaging_api-send-broadcast-message
Version
0.0.2
App
LINE Messaging
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes