WTS Chat icon

WTS Chat

Get data from Wts API

Overview

The Get Panel By ID operation in the WTS Chat n8n node retrieves detailed information about a specific panel from the Wts API, using its unique Panel ID. This is useful for workflows that need to fetch and process data related to panels, such as dashboards or organizational boards, within the WTS CRM system.

Common scenarios:

  • Fetching all details of a particular panel for reporting or integration with other systems.
  • Automating processes that depend on panel metadata or structure.
  • Enriching workflow data with panel-related information for further processing.

Practical example:
You might use this operation to retrieve a sales pipeline panel by its ID, including its cards, steps, tags, and other details, then use that data to trigger follow-up actions or generate reports.


Properties

Display Name Type Description
Panel ID String The unique identifier of the panel you want to retrieve. (Required)
Include Details Multi-Options Additional details to include in the response. Options: Cards, Steps, StepsCardCount, StepsFields, Tags. Select one or more to enrich the returned data.

Output

The output will be a single item per execution, with the following structure in the json field:

{
  // All available panel properties, e.g.:
  "id": "string",
  "title": "string",
  "description": "string",
  "createdAt": "string",
  "updatedAt": "string",
  "cards": [ /* array of card objects, if 'Cards' included */ ],
  "steps": [ /* array of step objects, if 'Steps' included */ ],
  "stepsCardCount": { /* object, if 'StepsCardCount' included */ },
  "stepsFields": [ /* array, if 'StepsFields' included */ ],
  "tags": [ /* array of tag objects, if 'Tags' included */ ]
  // ...other panel fields as provided by the Wts API
}
  • The exact fields depend on the panel's data and which options are selected in Include Details.
  • If no additional details are requested, only basic panel information is returned.

Dependencies

  • External Service: Requires access to the Wts API (https://api.wts.chat).
  • API Key: You must configure valid WTS API credentials (wtsApi) in your n8n instance.
  • n8n Configuration: No special environment variables beyond standard credential setup.

Troubleshooting

Common issues:

  • Missing Panel ID: If the Panel ID is not provided, the node will throw an error:
    "Fill in the panel ID field"
  • Invalid Panel ID: If the Panel ID does not exist, the Wts API may return an error, which will be surfaced by the node.
  • Insufficient Permissions: If the API key lacks permission to access the panel, an authentication or authorization error will occur.
  • Network/API Issues: Any connectivity problems with the Wts API will result in a node error.

How to resolve:

  • Ensure the Panel ID is correct and exists in your WTS system.
  • Double-check your API credentials and permissions.
  • If you see an error message, read its description for guidance on what is missing or incorrect.

Links and References


Discussion