Autotask icon

Autotask

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

Actions524

Contact Group Contacts → Count (Advanced)

AI-generated

Overview

This node operation interacts with the Autotask PSA REST API to count the number of Contact Group Contacts that match advanced filter criteria. It is useful for scenarios where users need to get a count of contacts within contact groups based on complex query filters, such as filtering by specific attributes or conditions defined in the Autotask API query language.

Use Case Examples

  1. Count the number of contacts in a specific contact group that meet certain criteria, such as being active or belonging to a particular region.
  2. Use an advanced JSON filter to count contacts with specific roles or custom fields within contact groups.

Properties

Name Meaning
Advanced Filter A JSON string containing a "filter" array with Autotask API query criteria to specify which Contact Group Contacts to count.

Output

JSON

  • count - The total number of Contact Group Contacts matching the advanced filter criteria.

Dependencies

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

Troubleshooting

  • Ensure the Advanced Filter JSON string is correctly formatted and follows the Autotask API query criteria syntax.
  • Common errors may include invalid JSON format or unsupported filter fields; use the Get Field Info and Search Filter Build tools to verify field names and filter structure.
  • API authentication errors may occur if the API key or credentials are incorrect or missing.

Links

Discussion