View as Markdown
LoopMessage icon

LoopMessage ACTION

Send Outbound Voice Message

Send a voice memo. Supports only in: iMessage, RCS, WhatsApp.
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's LoopMessage account once, then configure and run Send Outbound Voice 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: "loopmessage-send-voice-message",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    loopmessage: { authProvisionId: "apn_xxxxxxx" },
    contact: "Contact",
    sender: "Sender",
  },
})

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 Outbound Voice Message inputs
Property Type Description
contact Contact string
Recipient phone number or email address.
Required
sender Sender string
Optional. Use a specific Sender Name for outbound message.
Optional Dynamic
mediaUrl Media URL string
Voice/Media file URL. The string must be a full URL of your audio file. URL should start with https://..., http links (without SSL) are not supported. This must be a publicly accessible URL: we will not be able to reach any URLs that are hidden or that require authentication. Max length of each URL: 256 characters. Audio files of the following formats are supported: mp3, wav, m4a, caf, aac.
Required
passthrough Passthrough string
Optional. A string of metadata you wish to store in this request. Max length: 1000 characters.
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
loopmessage-send-voice-message
Version
0.0.1
App
LoopMessage
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes