DigiChat icon

DigiChat

Send WhatsApp messages via DigiChat API

DigiChat

AI-generated

Overview

This node sends WhatsApp messages via the DigiChat API. It is useful for automating the sending of WhatsApp messages in workflows, such as sending notifications, alerts, or customer communications. For example, it can be used to send a message to a specified phone number with a custom text message.

Use Case Examples

  1. Send a WhatsApp message to a customer with order details.
  2. Notify a user via WhatsApp about an appointment reminder.

Properties

Name Meaning
Phone Number The WhatsApp phone number including country code, used as the recipient of the message.
Message The text message content to send to the specified phone number.

Output

JSON

  • json
    • error - Error message if the request failed.
    • status - HTTP status code of the response if the request failed.
    • statusText - HTTP status text of the response if the request failed.
    • response - Response body from the DigiChat API if the request failed.
    • url - The URL used for the API request.
    • timestamp - Timestamp of the API request.
    • signaturePreview - Preview of the API request signature for debugging.

Dependencies

  • DigiChat API credentials including a token and secret for authentication.

Troubleshooting

  • Invalid phone number format: The phone number must contain digits only, including the country code, and must not include a plus sign or special characters. Remove any spaces, parentheses, or dashes.
  • HTTP request failures: The node logs detailed error information including HTTP status and response data. Check the DigiChat API credentials and network connectivity if errors occur.
  • Signature or timestamp errors: Ensure the system clock is accurate as the API request signature depends on the current timestamp.

Links

Discussion