Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node interacts with the Autotask REST API to perform various operations on different resources. Specifically, for the Resource 'resource' and Operation 'count', it counts the number of resource records matching specified criteria. This is useful for workflows that need to retrieve the total count of resources without fetching full data, such as monitoring resource quantities or conditional branching based on resource counts.

Properties

Name Meaning
Fields Defines which fields to map or use in the operation, allowing users to specify the data points relevant for the count operation. This property supports resource mapping with options to define fields manually or auto-map them based on the selected resource and operation.

Output

JSON

  • count - The total number of resource records matching the specified criteria.

Dependencies

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

Troubleshooting

  • If the node throws an error stating the resource is not supported, verify that the 'resource' parameter is correctly set to 'resource' and the operation is 'count'.
  • Authentication errors may occur if the Autotask API credentials are missing or invalid; ensure valid credentials are configured.
  • If the count result is unexpectedly zero, check the filter criteria or fields mapping to ensure they correctly specify the intended subset of resources.

Discussion