Overview
This node sends a WhatsApp message and waits for an approval response. It is useful in scenarios where you need to send a message to a user and pause the workflow until the user approves or disapproves the request. For example, it can be used for sending approval requests, confirmations, or any interactive message that requires user feedback before proceeding.
Use Case Examples
- Sending a message with quick reply buttons for approval or disapproval and waiting for the user's response before continuing the workflow.
- Sending a text message with a link for the user to respond and pausing the workflow until a response is received.
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 quick reply buttons sent with the messageBody- The body text of the sent messageExecutionWaitTill- The date/time until which the workflow execution is put on hold waiting for a response
Dependencies
- Requires an API key credential for DinastiAPI to authenticate requests to the WhatsApp messaging service.
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 API key credential and network connectivity.
- If the workflow does not resume, verify that the webhook is correctly configured to receive the approval response and that the wait time is properly set.
Links
- DinastiAPI Node Documentation - Official documentation for the DinastiAPI node in n8n, including setup and usage details.