Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node integrates with the Autotask REST API to perform various operations on different resources. Specifically, for the 'Service' resource with the 'Count' operation, it counts the number of service records matching specified criteria. This is useful for scenarios where you need to quickly determine the number of services in your Autotask system, such as reporting, monitoring, or conditional workflow branching based on service counts.

Properties

Name Meaning
Fields Defines the fields to map for the operation, allowing users to specify which service fields to consider or filter by when counting services. This property supports resource mapping with options to define fields manually or auto-map them.

Output

JSON

  • count - The total number of service records that match the specified criteria.

Dependencies

  • Requires an Autotask API credential (API key or token) to authenticate requests to 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 'service'.
  • Authentication errors may occur if the Autotask API credentials are missing or invalid; ensure credentials are correctly configured.
  • If the count result is zero unexpectedly, check the field mappings and filters to ensure they correctly specify the intended subset of services.
  • Network or API rate limit errors can occur; verify network connectivity and Autotask API usage limits.

Discussion