Upload Post icon

Upload Post

Upload content to social media via Upload-Post API

Actions118

Direct Message → Send DM

AI-generated

Summary

Send a direct message on Bluesky, Instagram, or WhatsApp using a specified user profile and platform, optionally targeting a recipient or conversation ID, with support for text messages, replies, sender actions, interactive messages, attachments, templates, reactions, and other platform-specific features.

Inputs

  • User Identifier Name or ID (required) — Select a configured user profile to send the DM from, either by picking from created profiles or specifying an ID via expression.
  • Platform (required) — Choose the social platform for sending the DM, supporting Bluesky, Instagram, or WhatsApp, each with platform-specific requirements and constraints.
  • Recipient ID — Identify the direct message recipient; for WhatsApp provide the phone number in international format, for Instagram the scoped user ID, and for Bluesky a handle, DID, or profile link (optional if Conversation ID is used).
  • Conversation ID — (Bluesky only) Specify the conversation ID to send the message in, superseding recipient lookup; supports group conversations.
  • Message — Text content of the DM; required unless sending a sender action or sharing a Bluesky post. Length and formatting limits vary by platform.
  • Reply To (Message ID) — ID of a message in the conversation to reply to (WhatsApp requires the wamid).
  • Sender Action — Platform-specific sender actions that can be sent instead of or along with a message, such as marking seen, typing indicators, reactions, or conversation actions; some require message IDs.
  • Reaction — Emoji to use with react or unreact sender actions; Bluesky only supports a single emoji.
  • Share Bluesky Post URL — URL or URI of a Bluesky post to share within the direct message.
  • Buttons — Up to three clickable link buttons (Instagram only).
  • Template Name, Language, Components (JSON) — For WhatsApp, specify an approved message template with language code and variable components to send beyond the 24-hour free message window.
  • Attachments — For WhatsApp, up to ten media attachments (images, videos, documents, audio, stickers), each sent as separate messages, with optional captions.
  • Location — For WhatsApp, send a map pin location with latitude, longitude, name, and address; if message text is included, it is sent first.
  • Contacts (JSON) — For WhatsApp, 1-10 contact cards in Meta contact object format to share.
  • Interactive Message Type and Details — For WhatsApp, options to send the message as an interactive call-to-action URL button, list, or reply buttons, including header and footer text.
  • Message ID — The target message ID the sender action applies to; required for actions like react and unreact.
  • Extra Fields (JSON) — Additional platform-specific fields merged directly into the request body, allowing advanced customization beyond the standard parameters.

Output shape

A single record containing the sent message's response data from the respective platform API, such as message IDs or status confirmations.

The output format depends on the platform and API response; failures or errors return as standard node error outputs. Some sender actions may not create message records but indicate action success.

Links

Discussion