Overview
This node sends a WhatsApp message and waits for the recipient's approval or response. It is useful in scenarios where you need to send a message with interactive buttons (e.g., Approve or Decline) and pause the workflow until the user responds. For example, it can be used for approval workflows, customer confirmations, or any process requiring user interaction via WhatsApp.
Use Case Examples
- Sending an approval request to a client and waiting for their response before proceeding.
- Sending a message with quick reply buttons to confirm an appointment and pausing the workflow until the user replies.
Output
JSON
Phone- The phone number to which the message was sentContent- The content of the sent messageFooter- Optional footer text appended to the messageButtons- Array of interactive buttons sent with the messageBody- Text body of the message when sending a plain text message with a response URL
Dependencies
- Requires an API key credential for Wuzapi to authenticate requests to the WhatsApp messaging API.
Troubleshooting
- Common issues include invalid phone number format, which will cause the node to throw an error. Ensure the phone number is validated before sending.
- If the API request fails, check the Wuzapi API credentials and network connectivity.
- Errors may occur if the responseType parameter is not set correctly; it must be 'approval' or another supported type.