Send Buttons
AI-generatedSummary
Send a WhatsApp message containing interactive buttons to a specified recipient phone number via the WhatsApp API session.
Inputs
- Session ID (required) — The WhatsApp session ID to send the message from.
- Organization ID (required) — Organization ID for multi-tenant access; can be provided via expression from previous node data.
- Recipient (required) — Phone number of the recipient with country code (no '+' or spaces).
- Message (required) — The main text content of the message to send.
- Buttons (required) — Up to three interactive buttons, each with a unique ID and displayed text.
- Labels — Optional label IDs to assign to the message.
Output shape
a single JSON object with the API response for the sent message
The output is an array with one item per execution input, containing the response from the WhatsApp API. On error, execution may stop or return error details if 'Continue On Fail' is enabled.
Examples
Example 1: Send a button message prompting the user to choose an option
Session ID 'my-session', Organization ID from previous node, recipient phone number, message content like 'Choose an option:', and up to 3 buttons each with unique IDs and texts.