WhatsApp Buttons icon

WhatsApp Buttons

Send Message With Buttons

WhatsApp Buttons

AI-generated

Overview

This node sends various types of WhatsApp messages with interactive elements such as buttons, lists, templates, or custom JSON templates. It supports sending plain text messages, interactive buttons, interactive lists, predefined templates with parameters, and fully custom template JSON. It is useful for automating WhatsApp communications in business workflows, such as sending promotional messages, customer support replies, or interactive surveys.

Use Case Examples

  1. Sending a message with up to 3 interactive buttons to a customer.
  2. Sending a list message with sections and buttons for user selection.
  3. Sending a predefined WhatsApp template with dynamic parameters.
  4. Sending a custom JSON template for advanced message formatting.

Properties

Name Meaning
Action Type of WhatsApp message to send, e.g., custom template, interactive buttons, list buttons, plain message, or template.
List Title Title of the list button, required when action is 'interactiveList'.
Message The message text to be sent, required for actions 'interactiveButtons', 'interactiveList', and 'message'.
Sender Phone Number (or ID) The ID of the business account's phone number from which the message will be sent.
Templates Select a predefined WhatsApp template to send, shown when action is 'template'.
Recipient Phone Number The phone number to send the message to.
Header Type Type of header to include in interactive buttons or list messages, either none or image.
Header Image URL URL of the image to include in the header, required if header type is 'image'.
Max 3 Buttons Up to 3 buttons with titles for interactive button messages.
Button List Sections and buttons with titles and descriptions for interactive list messages.
Template JSON Raw JSON input for custom template parameters, used when action is 'customTemplate'.
Template Parameter List List of parameter values to replace placeholders in templates.
Should Use Footer Boolean to indicate if a footer message should be added.
Footer Footer text to be shown at the bottom of the message, shown if footer is enabled.
Should Use Proxy URL Boolean to indicate if a proxy URL should be used to send the message instead of WhatsApp servers.
Proxy URL The proxy URL to send the message through, used if proxy is enabled.

Output

JSON

  • json - The JSON response from the WhatsApp API after sending the message.

Dependencies

  • WhatsApp Business API with API key credentials

Troubleshooting

  • Ensure the business account phone number ID is correct and authorized to send messages.
  • Verify the API key credential is valid and has permissions to send messages.
  • Check that the recipient phone number is in the correct international format.
  • If using templates, ensure the template name and language are correct and approved in WhatsApp Business Manager.
  • When using custom JSON templates, validate the JSON structure to avoid API errors.
  • If using proxy URL, ensure the proxy server correctly forwards requests to WhatsApp servers.

Links

Discussion