WTS Chat icon

WTS Chat

Get data from Wts API

Overview

This node operation retrieves all sequences from the WTS Chat API. It supports filtering sequences by name, contact ID, and date ranges for creation and update times. It also supports pagination and sorting options. This operation is useful for users who want to list and manage sequences in their chat system, for example, to analyze or automate messaging workflows.

Use Case Examples

  1. Retrieve all sequences with details included.
  2. List sequences filtered by a specific contact ID.
  3. Get sequences created after a certain date, sorted by creation date descending.

Properties

Name Meaning
Name Filter sequences by their name.
Contact ID Filter sequences associated with a specific contact ID.
CreatedAt.After Filter sequences created after this date and time.
CreatedAt.Before Filter sequences created before this date and time.
UpdatedAt.After Filter sequences updated after this date and time.
UpdatedAt.Before Filter sequences updated before this date and time.
Auto Pagination Enable automatic pagination to retrieve multiple pages of sequences automatically.
Max Pages Maximum number of pages to retrieve when auto pagination is enabled.
Page Number The page number to retrieve when auto pagination is disabled.
Page Size Number of sequences to retrieve per page when auto pagination is disabled.
Order By Field to sort the sequences by.
Order Direction Direction of sorting, either ascending or descending.

Output

JSON

  • json - The list of sequences retrieved from the API, each sequence represented as a JSON object.

Dependencies

  • WTS Chat API with an API key credential

Troubleshooting

  • Ensure the API key credential is correctly configured and has the necessary permissions to access sequences.
  • Check that date filters are in the correct format (YYYY-MM-DD hh:mm) and time zone is considered.
  • If pagination is enabled, be aware of the max pages limit to avoid incomplete data retrieval.
  • Common errors include missing required parameters like sequence ID when applicable, or invalid filter values.

Links

Discussion