Actions39
- Chatbot Actions
- Contact Actions
- Message Actions
- Panel Actions
- Sequence Actions
- Session Actions
Overview
The "Transfer to User" operation in the Session resource of the WTS Chat node allows transferring an active chat session to a specific user. This is useful in scenarios where a conversation needs to be handed off from an automated system or another user to a particular agent or team member for personalized handling or escalation.
Practical examples:
- A chatbot handles initial customer queries but transfers complex issues to a human support agent.
- Routing sessions to specialized users based on expertise or availability.
- Managing workload by reassigning sessions dynamically within a support team.
Properties
Name | Meaning |
---|---|
Session ID | The unique identifier of the chat session to transfer. |
User Name or ID | The target user to whom the session will be transferred. Can be selected from a list or specified via expression. |
Output
The output is a JSON object representing the result of the transfer operation. It typically contains details about the updated session after the user assignment, such as confirmation of the new assigned user and session status.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the WTS Chat API.
- The node uses the WTS Chat service endpoints to perform the transfer.
- No additional environment variables are explicitly required beyond the API key credential.
Troubleshooting
SessionID is empty!
Error thrown if the Session ID property is not provided or is empty. Ensure the Session ID field is filled correctly.UserID is empty!
Error occurs if the User Name or ID is not selected or invalid. Make sure to select a valid user from the options or provide a correct user ID expression.API errors
Any API-related errors during the transfer will be wrapped and thrown as node errors. Check the API key validity, network connectivity, and that the session and user IDs exist and are accessible.
Links and References
- WTS Chat API Documentation (general reference for API endpoints)
- n8n Expressions Documentation (for using expressions in user selection)