WTS Chat icon

WTS Chat

Get data from Wts API

Overview

This node operation sends a text message within an existing chat session using the WTS Chat API. It is useful for automating communication in customer support or sales workflows where messages need to be sent to users in active sessions. For example, it can be used to send follow-up messages, notifications, or responses to users engaged in a chat session.

Use Case Examples

  1. Sending a text message to a user in a support session to provide updates.
  2. Automating sending promotional messages to users in a chat session.

Properties

Name Meaning
Text The text content of the message to send in the session.
Session ID The identifier of the chat session where the text message will be sent.
Send Synchronous Message Determines whether the message sending should be synchronous (wait for confirmation) or asynchronous.

Output

JSON

  • json - The response object from the WTS Chat API after sending the text message in the session.

Dependencies

  • Requires an API key credential for the WTS Chat API to authenticate requests.

Troubleshooting

  • Ensure the Session ID is provided and not empty; otherwise, the node throws an error indicating the Session ID is empty.
  • The text message must not be empty; if empty, the node throws an error to fill in the Text field.
  • API errors from the WTS Chat service are caught and rethrown as node errors with descriptive messages.

Links

Discussion