Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node interacts with the Autotask REST API to perform operations on various resources. Specifically, for the 'Project Phase' resource with the 'Count' operation, it counts the number of project phases that match specified criteria. This is useful for workflows that need to quantify project phases, such as reporting the number of phases in a project or validating project setup completeness.

Properties

Name Meaning
Fields Defines which fields of the 'Project Phase' resource to map or use in the operation. This property supports resource mapping with options to define fields manually or auto-map them, enabling flexible selection of data fields relevant to the count operation.

Output

JSON

  • count - The total number of project phases 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 'phase'.
  • Authentication errors may occur if the Autotask API credentials are missing or invalid; ensure valid API credentials are configured.
  • Incorrect or incomplete field mappings in the 'Fields' property can cause unexpected results or errors; verify the fields selected are valid for the 'Project Phase' resource.
  • Network or API rate limit issues may cause failures; check network connectivity and Autotask API usage limits.

Discussion