Actions15
Message → Reply
AI-generatedSummary
Sends a reply to a received message via WhatsApp, Instagram, or Facebook.
Inputs
- messagePlatform — The platform to send from. Defaults to 'Auto-Detect', which lets the API resolve the platform from the Social Account ID.
- messageSocialAccountId (required) — The Postora account UUID (not the numeric platform ID or username) that will send the reply.
- messageRecipientId (required) — The ID or phone number of the recipient to reply to.
- messageText (required) — The text content of the reply.
- messageType — The type of message: 'text' or 'media'.
- messageMediaUrl — The URL of the media file to attach. Required when messageType is 'media'.
- messageMediaType — The type of media: 'image', 'video', 'audio', or 'document'. Defaults to 'image'.
Output shape
A single data record containing the API response (e.g., message ID and status).
The response shape depends on the Postora API; typically includes message metadata. Errors are thrown by the node if the API request fails.
Examples
Example 1: Reply to a WhatsApp message received from a trigger.
Set messagePlatform to 'whatsapp', messageRecipientId from the trigger's sender.id, messageText to the desired response, and messageType to 'text'.
Example 2: Reply to an Instagram DM with an image.
Set messagePlatform to 'instagram', messageRecipientId from the trigger's sender.id, messageType to 'media', messageMediaUrl to the image URL, and messageMediaType to 'image'.