Send Document
AI-generatedSummary
Send a document message via WhatsApp API from a specific WhatsApp session to a single recipient phone number.
Inputs
- Session ID (required) — The WhatsApp session ID to send the message from.
- Organization ID (required) — Organization ID for multi-tenant access, typically provided from previous node data using an expression.
- Recipient (required) — Phone number of the recipient with country code, no plus sign or spaces.
- Message (required) — The text content to include with the document message.
- Media URL — URL of the document file to send.
- Caption — Optional caption text for the document media.
- File Name — Optional file name for the document as it will appear to the recipient.
- Labels — Optional list of label IDs to apply to the message for organizational purposes.
Output shape
a JSON array with each item containing the response from the WhatsApp API for the send document request
If the operation fails for an item and "Continue On Fail" is enabled, the corresponding output contains an error message object; otherwise, the node will throw an error and stop execution.