Wasup icon

Wasup

Send WhatsApp messages and manage instances via the Wasup API

Message → Send Media

AI-generated

Summary

Sends an image, video, document or audio file to a WhatsApp recipient via Wasup by passing a public media URL, with an optional caption and sending-behavior options.

Inputs

  • Auto-Select Instance — If on, Wasup picks a connected instance and the node POSTs to /api/send. If off, you must choose a specific instance and it POSTs to /api/instances/{id}/send.
  • From Phone — Shown only with Auto-Select. Optional connected number to send from; sent as from_phone when non-empty.
  • Instance (required) — Resource locator (pick from list or enter ID). Hidden when Auto-Select is on.
  • To (required) — Recipient phone number with country code (no + or spaces), or a chat id.
  • Media Type — image, video, document or audio (default image). Sent as messageType.
  • Media URL (required) — Direct, publicly reachable URL of the file. Sent as mediaUrl.
  • Caption — Shown for image, video and document types only. Sent as message if non-empty.
  • Media Options — Optional File Name (fileName), MIME Type (mimeType), and Send Audio as Voice Note (ptt). Empty values are dropped.
  • Advanced Options — Optional Typing Simulation, Human Delay, Skip Contact Save, and Contact Name. Set values are merged into the request body.

Output shape

The JSON response from the Wasup send endpoint, returned as one output item per input item, paired to its source item.

The exact response fields aren't defined in the node. Other Wasup operations refer to a message_id in send responses, which you can use for Get Status or React. With Continue On Fail enabled, a failed item returns {error: message} instead of stopping the workflow.

Examples

Example 1: Send a PDF invoice with a caption to a customer

Instance: pick from list; To: 60123456789; Media Type: Document; Media URL: https://example.com/invoice.pdf; Caption: 'Your invoice'; Media Options > File Name: invoice.pdf, MIME Type: application/pdf.

Example 2: Send a voice note from any connected number

Auto-Select Instance: on; To: {{$json.phone}}; Media Type: Audio; Media URL: link to the audio file; Media Options > Send Audio as Voice Note: true.

Links

Discussion