DinastiAPI Send and Wait icon

DinastiAPI Send and Wait

Send a WhatsApp message and wait for approval

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

  1. Sending a message with quick reply buttons for approval or disapproval and waiting for the user's response before continuing the workflow.
  2. 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 sent
  • Content - The content of the sent message
  • Footer - Optional footer text appended to the message
  • Buttons - Array of quick reply buttons sent with the message
  • Body - The body text of the sent message
  • ExecutionWaitTill - 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

Discussion