Actions38
- Chatbot Actions
- Contact Actions
- Message Actions
- Panel Actions
- Sequence Actions
- Session Actions
Overview
The "Update Transfer" operation within the "Session" resource of this node allows users to transfer an active chat session to a different department or user. This is useful in customer support scenarios where a conversation needs to be escalated or redirected to a specialized team or agent. For example, if a customer inquiry requires technical expertise, the session can be transferred from general support to the technical department or a specific technician.
Properties
| Name | Meaning |
|---|---|
| Session ID | The unique identifier of the session to be transferred. |
| Departments Name or ID | The target department to which the session should be transferred. Can be selected from a list or specified by ID. |
| User Name or ID | The target user within the selected department to whom the session should be assigned. Optional and dependent on the department selection. |
Output
The output JSON contains the response from the API after attempting to update the transfer of the session. It typically includes details about the updated session transfer status or confirmation of the transfer action.
Dependencies
- Requires an API key credential for authentication with the external WTS Chat API.
- The node depends on the WtsChatService's
updateTransfermethod to perform the transfer operation. - The base URL for API requests is
https://api.wts.chat.
Troubleshooting
- Missing Session ID: If the "Session ID" property is empty, the node throws an error prompting to fill in the session ID.
- Undefined Transfer Target: If neither a valid department nor user is specified as the transfer destination, the node throws an error indicating that the transfer destination must be defined.
- API Errors: Any errors returned from the external API during the transfer attempt are caught and rethrown as node errors with descriptive messages.
To resolve these issues:
- Ensure the "Session ID" is correctly provided.
- Specify either a valid department or user (or both) as the transfer target.
- Verify that the API key credential is valid and has sufficient permissions.
Links and References
- n8n Expressions Documentation — for using expressions in property fields.
- External API documentation for WTS Chat (not provided here but recommended to consult for detailed API behavior).