WA Ops icon

WA Ops

Automate WhatsApp with 140+ operations: messages, chats, contacts, groups, communities, newsletters, business, media upload, sessions, labels, and more. Your WhatsApp must be connected via https://waops.app/connect before using this node.

Message → Send Document

AI-generated

Summary

Send a document via WhatsApp to a phone number or group ID using the WA Ops service.

Inputs

  • to (required) — Phone number with country code (e.g. 447700900000) or Group JID (e.g. 120363316517167240@g.us). The @s.whatsapp.net suffix is added automatically for plain numbers.
  • documentUrl (required) — Direct URL to the document file (max 100 MB).
  • filename — Filename shown to the recipient. If omitted, the URL's filename is used.
  • caption — Optional caption that supports WhatsApp formatting.

Output shape

object

Returns the JSON response from the WA Ops API (e.g. message ID, status) after successfully sending the document.

Examples

Example 1: Send a PDF report to a customer

To: 447700900000, Document URL: https://example.com/report.pdf, Filename: report.pdf, Caption: Here is the monthly report.

Links

Discussion