Actions15
Send Interactive Message
AI-generatedOverview
This node sends interactive WhatsApp messages with buttons via the 4Jawaly API. It allows users to specify the recipient's phone number, message text, WhatsApp project ID, and up to three interactive button titles. The node supports sending messages in Arabic or English and includes options for batch size and request timeout. It is useful for automating WhatsApp communications with interactive elements, such as customer support or marketing campaigns.
Use Case Examples
- Sending a WhatsApp message with up to three interactive buttons to a customer to facilitate quick responses.
- Automating notifications with interactive buttons for user feedback or choices.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The recipient's phone number without '+' or spaces, used to direct the message. |
| Message Text | The content of the WhatsApp message to be sent. |
| WhatsApp Project ID | The identifier for the WhatsApp project used to send the message. |
| Button 1 Title | Title of the first interactive button, up to 20 characters. |
| Button 2 Title | Title of the second interactive button, up to 20 characters. |
| Button 3 Title | Title of the third interactive button, up to 20 characters. |
| Language | Language of the message, either Arabic or English. |
| Additional Options | Additional settings including batch size for requests and timeout duration in milliseconds. |
Output
JSON
success- Indicates if the message was sent successfully.operation- The operation performed, here it is sending an interactive message.message- Confirmation message about the sending status.phone_number- The recipient phone number.message_text- The text content of the sent message.message_type- Type of message sent, either 'interactive' or 'text'.message_id- Identifier of the sent message from the API response.api_message- Message returned from the API.description- Additional description from the API response.buttons_count- Number of interactive buttons included in the message.buttons- Array of button titles sent with the message.raw_response- Full raw response from the 4Jawaly API.
Dependencies
- 4Jawaly API
- An API key credential for authentication
Troubleshooting
- Ensure phone numbers are provided without '+' or spaces and are valid digits.
- Button titles must be unique and not exceed 20 characters each.
- API errors may include messages about invalid credentials, exceeding rate limits, or malformed requests; check the detailed error message for guidance.
- Timeouts can occur if the API is slow to respond; adjust the timeout setting in additional options if needed.
Links
- 4Jawaly API Documentation - Official documentation for the 4Jawaly WhatsApp API used by this node.