Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node interacts with the Autotask REST API to perform operations on Contact Groups, specifically supporting the 'Count' operation. It allows users to count the number of contact groups based on specified criteria or filters. This is useful for workflows that need to monitor or report on the number of contact groups in an Autotask environment, such as auditing group usage or triggering actions when a certain number of groups exist.

Properties

Name Meaning
Fields Defines which fields of the Contact Groups resource to map or use in the operation. This property supports resource mapping with options to define fields manually or auto-map them, enabling precise control over the data involved in the count operation.

Output

JSON

  • count - The total number of contact groups matching the specified criteria.

Dependencies

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

Troubleshooting

  • If the node throws an error indicating the resource is not supported, verify that the 'Resource' parameter is set to 'contactGroups' and the 'Operation' is set to 'count'.
  • Authentication errors may occur if the Autotask API credentials are missing or invalid; ensure the API key credential is correctly configured.
  • Incorrect or incomplete field mappings in the 'Fields' property may cause unexpected results or errors; review the field mappings to ensure they match the Contact Groups resource schema.

Discussion