Actions3
- Message Actions
- Instance Actions
Message → Send Media
AI-generatedSummary
Send a media message (image, audio, video, or document) via WhatsApp to a specified recipient by phone number or JID, using either a public URL or binary file data as the media source.
Inputs
- To (JID or Phone Number) (required) — The destination phone number or JID. If only digits are provided, '@s.whatsapp.net' is appended (or '@g.us' for long digit strings).
- Media Type (required) — Type of media to send: image, audio, video, or document.
- Media Source (required) — Choose whether the media is provided as a public URL or as binary data from previous workflow nodes.
- Media URL (required) — Public URL of the media to send (required if Media Source is URL).
- Binary Property (required) — The name of the binary property containing the media file (required if Media Source is Binary).
- Mime Type — Optional MIME type of the media, recommended for audio, video, and documents when using a URL source.
- Caption — Optional caption text for image, video, or document media.
- File Name — Optional file name, typically required for documents and sometimes for audio or video.
Output shape
a JSON array of objects, each describing success or failure status of sending media per input item; includes details of the sent message on success or error information on failure.
Processes multiple input items independently. Returns success flag, the data from the Whats2API client call, and debug info including resolved JID and media details. Errors include descriptive messages and HTTP details if applicable.
