Autotask icon

Autotask

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

Actions524

Contact → Count (Advanced)

AI-generated

Overview

This node operation performs an advanced count query on the Contact resource in the Autotask PSA system. It allows users to specify complex filtering criteria using a JSON string that contains a "filter" array with Autotask API query conditions. This operation is useful for scenarios where users need to count contacts that meet specific, detailed criteria, such as filtering contacts by custom fields, statuses, or other attributes defined in Autotask.

Use Case Examples

  1. Count the number of contacts in Autotask that belong to a specific company or have a particular status by providing a JSON filter with the required conditions.
  2. Use the advanced filter to count contacts created within a certain date range or matching multiple criteria combined with logical operators.

Properties

Name Meaning
Advanced Filter A JSON string containing a "filter" array with Autotask API query criteria to specify which contacts to count. This allows for complex and precise filtering based on Autotask's API capabilities.

Output

JSON

  • count - The total number of contacts matching the advanced filter criteria.

Dependencies

  • Requires an Autotask API key credential for authentication to access the Autotask PSA REST API.

Troubleshooting

  • Ensure the JSON string in the Advanced Filter is correctly formatted and follows the Autotask API filter structure to avoid query errors.
  • If the node returns an error about authentication, verify that the Autotask API credentials are correctly configured and have the necessary permissions.
  • Large or complex filters may result in slower responses or timeouts; simplify the filter or paginate queries if possible.

Links

  • Autotask API Basic Query Calls - Official Autotask documentation on how to construct query filters for API calls, useful for building the Advanced Filter JSON.

Discussion