Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node interacts with the Autotask REST API to perform operations related to Contract Role Costs, specifically supporting the 'Count' operation. It is useful for users who need to retrieve the total number of contract role cost records matching certain criteria within their Autotask environment. For example, a user can count how many contract role costs exist for reporting or validation purposes.

Properties

Name Meaning
Fields Defines which fields to map or include when performing operations on contract role costs. This property allows users to specify the exact data fields to work with, supporting custom mapping and selection of fields relevant to the contract role costs resource.

Output

JSON

  • count - The total number of contract role cost records 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 'contractRoleCosts' 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 in n8n.
  • If the count result is zero unexpectedly, check the field mappings and any filters applied to ensure they match existing contract role cost records in Autotask.

Discussion