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 'Complete Session' operation allows users to conclude a chat session by providing the session ID and optional parameters to control session reactivation on new messages and whether to stop any running chatbot automation. This is useful in scenarios where a conversation needs to be formally ended, such as after resolving a customer inquiry or support ticket, ensuring the session is closed and optionally preventing further automated bot interactions.
Use Case Examples
- Conclude a customer support chat session by providing the session ID and stopping the chatbot to ensure no further automated messages are sent.
- Automatically conclude sessions after a conversation ends, with the option to reactivate the session if the contact sends a new message later.
Properties
| Name | Meaning |
|---|---|
| Session ID | The unique identifier of the chat session to be concluded. |
| Reactivate On New Message | Whether the conversation should be reactivated if a new message is received from the contact. Defaults to false. |
| Stop Bot In Execution | Whether to stop any running automation chatbot when concluding the session. |
Output
JSON
json- The response from the WTS Chat API after concluding the session, typically including session status and metadata.
Dependencies
- Requires an API key credential for WTS Chat API authentication.
Troubleshooting
- Ensure the 'Session ID' is provided and not empty; otherwise, the node will throw an error indicating the session ID is missing.
- If the API key is invalid or missing, authentication errors will occur; verify the API key credential is correctly configured.
- Network or API errors from the WTS Chat service will be thrown as node errors; check connectivity and API status if issues arise.
Links
- WTS Chat API - Conclude Session - Official API documentation for concluding a chat session using WTS Chat API.