Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node interacts with the Autotask REST API to perform various operations on the 'Service Call' resource, specifically supporting the 'Count' operation among others. It allows users to count service call records based on specified criteria, which is useful for reporting, monitoring, or conditional workflow branching within n8n. For example, a user might count the number of open service calls to trigger alerts or generate summaries.

Properties

Name Meaning
Fields Defines the fields to map for the service call resource when performing operations such as create, update, getMany, or count. This property allows users to specify which fields to include or filter on when counting service calls.

Output

JSON

  • count - The total number of service call records matching the specified criteria returned by the count operation.

Dependencies

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

Troubleshooting

  • Ensure the Autotask API credentials are correctly configured and have sufficient permissions to access service call data.
  • If the count operation returns zero unexpectedly, verify that the fields and filters specified in 'Fields' are correct and match existing records.
  • Common errors include authentication failures (check API key validity) and invalid field mappings (ensure fields exist and are correctly named).

Discussion