WTS Chat icon

WTS Chat

Get data from Wts API

Overview

This node operation 'Get All Annotation' under the 'Panel' resource retrieves all annotations associated with a specific card in a panel from the WTS API. It is useful for scenarios where users need to fetch all notes, comments, or files attached to a card for review, processing, or integration with other workflows. For example, a user might want to gather all annotations on a project task card to analyze feedback or track changes.

Use Case Examples

  1. Fetch all annotations for a project management card to display in a dashboard.
  2. Retrieve all comments and attached files on a sales lead card for reporting purposes.

Properties

Name Meaning
Card ID The unique identifier of the card for which to retrieve all annotations.
CreatedAt.After Filter annotations created after this date and time.
CreatedAt.Before Filter annotations created before this date and time.
UpdatedAt.After Filter annotations updated after this date and time.
UpdatedAt.Before Filter annotations updated before this date and time.
Auto Pagination Whether to automatically paginate through all pages of results, increasing the number of items retrieved per page.
Max Pages Maximum number of pages to retrieve when auto pagination is enabled.
Page Number The specific page number to retrieve when auto pagination is disabled.
Page Size Number of items to retrieve per page when auto pagination is disabled.
Order By Field to sort the annotations by.
Order Direction Direction of sorting the annotations, either ascending or descending.

Output

JSON

  • json - Array of annotation objects retrieved for the specified card, including text notes, files, and metadata.

Dependencies

  • WTS API key credential for authentication

Troubleshooting

  • Common issues include missing or empty Card ID, which will cause the node to throw an error indicating the Card ID must be filled in.
  • API errors from the WTS service may occur if the API key is invalid or if the card ID does not exist.
  • Pagination parameters must be set correctly; enabling auto pagination without specifying max pages may lead to large data retrieval times.

Links

Discussion