Actions39
- Panel Actions
- Message Actions
- Chatbot Actions
- Contact Actions
- Sequence Actions
- Session Actions
Overview
This node interacts with the WTS Chat API to manage chat sessions. Specifically, the 'ChangeStatus' operation under the 'Session' resource allows users to update the status of a chat session by providing the session ID and the new status. This is useful for workflows that need to programmatically track or modify the state of chat sessions, such as marking sessions as completed, pending, or in progress.
Use Case Examples
- Updating the status of a customer support chat session to 'Completed' after the issue is resolved.
- Changing the status of a session to 'In Progress' when an agent starts handling the chat.
Properties
| Name | Meaning |
|---|---|
| Session ID | The unique identifier of the chat session whose status is to be changed. |
| Status | The new status to assign to the session. Options include Completed, Hidden, In Progress, Pending, Started, and Undefined. |
Output
JSON
json- The response from the WTS Chat API after updating the session status, typically containing the updated session details or confirmation.
Dependencies
- Requires an API key credential for the WTS Chat API to authenticate requests.
Troubleshooting
- Ensure that both 'Session ID' and 'Status' fields are filled; missing either will cause an error.
- The status value must be valid and not 'UNDEFINED'; otherwise, the node throws an error indicating a valid status is required.
- API errors from the WTS Chat service are wrapped and thrown as node errors; check the error message for details.