Actions39
- Chatbot Actions
- Contact Actions
- Message Actions
- Panel Actions
- Sequence Actions
- Session Actions
Overview
The node interacts with the WTS Chat API to retrieve and manage "Panels" data, specifically supporting the operation to get all panels. This operation fetches a list of panels filtered and sorted according to user-defined criteria. It is useful in scenarios where users want to automate workflows involving project or task management boards (panels), such as retrieving all panels for reporting, synchronization, or further processing within an automation.
Practical examples include:
- Automatically fetching all panels created or updated within a specific date range.
- Retrieving panels with a specific title or sorting them by creation date.
- Paginating through large sets of panels to process them in batches.
Properties
Name | Meaning |
---|---|
Title | Filter panels by their title (string match). |
CreatedAt.After | Filter panels created after this date/time (format: YYYY-MM-DD hh:mm, timezone-aware). |
CreatedAt.Before | Filter panels created before this date/time (format: YYYY-MM-DD hh:mm, timezone-aware). |
UpdatedAt.After | Filter panels updated after this date/time (format: YYYY-MM-DD hh:mm, timezone-aware). |
UpdatedAt.Before | Filter panels updated before this date/time (format: YYYY-MM-DD hh:mm, timezone-aware). |
Auto Pagination | Boolean flag to enable automatic pagination, fetching multiple pages automatically. |
Max Pages | Maximum number of pages to fetch when auto pagination is enabled (range 1-100). |
Page Number | The page number to retrieve when auto pagination is disabled (starting from 1). |
Page Size | Number of items per page when auto pagination is disabled (range 1-100). |
Order By | Field name to sort the results by (e.g., creation date, update date). |
Order Direction | Sorting direction: Ascending or Descending. |
Output
The output is an array of JSON objects, each representing a panel retrieved from the WTS API. Each JSON object contains the full details of a panel as returned by the API, including metadata and custom fields if applicable.
The node does not output binary data for this operation.
Dependencies
- Requires an API key credential for authenticating with the WTS Chat API.
- The base URL for API requests is
https://api.wts.chat
. - No additional external services are required beyond the WTS API.
- Proper configuration of the API key credential in n8n is necessary.
Troubleshooting
- Empty or missing API key: Ensure that the API key credential is correctly configured and provided.
- Invalid date formats: Date/time filters must be in the format
YYYY-MM-DD hh:mm
and respect the user's time zone. - Pagination issues: If using auto pagination, setting a very high max pages may lead to long execution times or rate limiting.
- API errors: Errors from the WTS API will be thrown as node errors; check the error message for details such as invalid parameters or permission issues.
- Missing required parameters: For this operation, the title filter is optional, but if used, it must be a valid string.
Links and References
- WTS Chat API Documentation (Assumed official docs for reference)
- n8n documentation on pagination
- General best practices for date/time formatting in APIs