CHACHAT Chat Text Node

Node for sending text messages via Chat API

Overview

This node sends text messages via a Chat API to specified phone numbers. It is useful for automating SMS or chat message delivery in workflows, such as sending notifications, alerts, or customer communications. For example, you can use it to send appointment reminders to clients or broadcast updates to users.

Properties

Name Meaning
Phone Number The recipient's phone number for the Chat API.
Text The text content of the message to be sent.

Output

The node outputs JSON data containing the response from the Chat API after attempting to send the message. This typically includes details about the message status or any errors returned by the API.

Dependencies

  • Requires an API key credential for authenticating with the Chat API.
  • Needs the base URL and token from the configured credentials.
  • Uses the axios library to make HTTP POST requests to the Chat API endpoint /v1/send/text/messages/send.

Troubleshooting

  • Common issues:
    • Invalid or missing phone number format may cause the API to reject the request.
    • Incorrect or expired API key/token will result in authentication errors.
    • Network connectivity problems can prevent successful API calls.
  • Error handling:
    • If an error occurs during message sending, the node throws an error unless "Continue On Fail" is enabled.
    • Errors include context about which input item caused the failure to help identify problematic data.

Links and References

  • Refer to your Chat API provider’s documentation for details on message formatting and API usage.
  • Axios HTTP client: https://axios-http.com/

Discussion