View as Markdown
LoopMessage icon

LoopMessage ACTION

Send Outbound Message

Action to send a message to an individual recipient.
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

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

Send Outbound Message inputs
Property Type Description
contact Contact string
Recipient phone number or email address.
Required
text Text string
Message text.
Required
subject Subject string
Optional. Message subject. A recipient will see this subject as a bold title before the text. For iMessage only.
Optional
effect Effect string
Optional. Add effect to your message. For iMessage only.
Optional
sender Sender string
Optional. Use a specific Sender Name for outbound message.
Optional Dynamic
attachments Attachments string[]
Optional. An array of strings. The string must be a full URL of your image. URL should start with https://. HTTP links (without SSL) are not supported. This must be a publicly accessible file URL: we will not be able to reach any URLs that are hidden or that require authentication.
Optional
replyToId Reply To ID string
Optional. Reply to a message with a specific ID
Optional
channel Channel string
Optional. You can choose which service to use to deliver the message. By default, the required channel will be determined automatically. Use this parameter only in cases when you need to override the delivery channel for a specific request. DON'T use it as a default parameter for all requests.
Optional
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-text-message
Version
0.0.4
App
LoopMessage
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes