View as Markdown
WhatsApp Alerts and Notifications by SyncMate icon

WhatsApp Alerts and Notifications by SyncMate ACTION

Send WhatsApp Message

Send a single WhatsApp message using SyncMate by Assistro. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's WhatsApp Alerts and Notifications by SyncMate account once, then configure and run Send WhatsApp 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: "syncmate_by_assitro-send-message",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    syncmate_by_assitro: { authProvisionId: "apn_xxxxxxx" },
    number: "Number",
    message: "Message",
  },
})

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 WhatsApp Message inputs
Property Type Description
number Number string
WhatsApp number with country code
Required
message Message string
The text message to be sent
Required
media Media string
Provide either a file URL or a path to a file in the /tmp directory (for example, /tmp/myFile.pdf).
Optional
fileName File Name string
The name of the file.
Optional
syncDir SyncDir dir
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
syncmate_by_assitro-send-message
Version
0.0.4
App
WhatsApp Alerts and Notifications by SyncMate
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes