Autotask icon

Autotask

Interact with Kaseya's Autotask PSA REST API to manage companies, tickets, contracts, and more.

Actions524

Resource → Count (Advanced)

AI-generated

Overview

This node operation performs an advanced count query on the selected Autotask resource using a JSON filter. It is useful for scenarios where you need to count records that match complex criteria in Autotask, such as counting tickets, companies, or other entities based on specific conditions defined in the filter JSON. For example, counting all tickets with a certain status or all companies in a specific region.

Use Case Examples

  1. Count the number of tickets with status 'Open' using an advanced filter JSON.
  2. Count the number of companies that meet certain custom criteria using a JSON filter.

Properties

Name Meaning
Advanced Filter A JSON string containing a 'filter' array with Autotask API query criteria to specify the conditions for counting records.

Output

JSON

  • count - The total number of records matching the advanced filter criteria for the selected resource.

Dependencies

  • Requires an API key credential for Autotask API authentication.

Troubleshooting

  • Ensure the Advanced Filter JSON is correctly formatted and contains a valid 'filter' array as per Autotask API specifications.
  • If the node throws errors related to authentication, verify that the Autotask API credentials are correctly configured.
  • Errors may occur if the resource specified does not support the countAdvanced operation; verify resource compatibility.

Links

Discussion