Send Image
AI-generatedSummary
Send an image message via WhatsApp API including optional caption and labels, specifying the session and organization context.
Inputs
- Session ID (required) — The WhatsApp session ID to send from.
- Organization ID (required) — Organization ID for multi-tenant access; can be provided via expression from prior node data.
- Recipient (required) — Phone number of the recipient with country code (no plus sign or spaces).
- Message (required) — The text content of the message to send.
- Media URL — URL of the image to send.
- Caption — Optional caption text to accompany the image.
- Labels — Optional list of label IDs to apply to the sent message.
Output shape
a JSON object containing API response data for each input item processed
Output includes the response from the WhatsApp API POST request for message sending. Errors are returned in an error property if continueOnFail is set.
Examples
Example 1: Send image to single recipient with caption and labels
Specify session ID, organization ID, recipient phone number, message text, media URL of the image, optional caption text, and optional labels as label IDs.