WTS Chat icon

WTS Chat

Get data from Wts API

Overview

This node operation retrieves detailed information about a specific chat session by its ID from the WTS Chat API. It is useful for scenarios where you need to fetch session data including optional detailed information such as agent, channel, classification, contact, and department details. For example, it can be used to monitor or analyze a particular chat session in customer support workflows.

Use Case Examples

  1. Fetch a session by its ID to review the conversation and metadata.
  2. Retrieve session details including agent and contact information for reporting purposes.

Properties

Name Meaning
Session ID The unique identifier of the session to retrieve.
Include Details Optional detailed information to include in the session response, such as AgentDetails, ChannelDetails, ClassificationDetails, ContactDetails, DepartmentsDetails, etc.

Output

JSON

  • json - The JSON object containing the session data retrieved from the WTS Chat API, including any requested detailed information.

Dependencies

  • WTS Chat API key credential required for authentication.

Troubleshooting

  • Ensure the Session ID is provided and not empty; otherwise, the node throws an error indicating the SessionID is empty.
  • Verify that the API key credential is correctly configured and valid to avoid authentication errors.
  • If requesting include details, ensure the values are valid options; invalid options may cause API errors.

Discussion