Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node interacts with the Autotask REST API to perform various operations on the 'Opportunity' resource, specifically supporting the 'Count' operation. It allows users to count the number of opportunity records that match specified criteria. This is useful for reporting, monitoring sales pipelines, or triggering workflows based on the number of opportunities. For example, a user can count all open opportunities in a certain sales stage to assess workload or forecast revenue.

Properties

Name Meaning
Fields Defines which fields of the Opportunity 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 points relevant to the count operation.

Output

JSON

  • count - The total number of Opportunity 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 'opportunity'.
  • 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 may cause unexpected results or errors; verify the selected fields are valid for the Opportunity resource.
  • Network or API rate limit issues can cause failures; check network connectivity and Autotask API usage limits.

Discussion