Actions122
- Broadcast Actions
- Business Actions
- Call Actions
- Chat Actions
- Community Actions
- Contact Actions
- Group Actions
- Label Actions
- Media Actions
- Message Actions
- Newsletter Actions
- Privacy Actions
- Profile Actions
- User Actions
Message → Send Document
AI-generatedSummary
Send a document to a WhatsApp contact or group by JID, using a URL or an incoming binary property. The operation passes the file, filename, and MIME type to WhatsApp and returns the send result.
Inputs
- Recipient JID (required) — WhatsApp JID for the recipient, such as a contact JID ending in @s.whatsapp.net or a group JID ending in @g.us.
- Media URL or Binary Property (required) — An HTTP(S) URL for the document, or the name of an incoming binary property containing it.
- Caption — An optional caption is shown in the UI, but the operation does not read or send it.
- Filename — Document filename; defaults to "file" when left empty.
- MIME Type — Document MIME type; defaults to "application/octet-stream" when left empty.
Output shape
A single n8n item whose JSON contains the WhatsApp send result, or an empty object if no result is returned.
The operation calls WhatsApp's sendMessage with document content, filename, and MIME type. URL sources are passed as URLs; otherwise, the named binary property is read from the incoming item.