Autotask icon

Autotask

Interact with Kaseya's Autotask PSA REST API to manage companies, tickets, contracts, and more.

Actions1078

Contract Service Unit → Get Many (Advanced)

AI-generated

Summary

Retrieve Contract Service Unit records from Autotask using an advanced JSON filter. Choose whether to return all matches or cap the results, and optionally narrow the returned fields and add readable labels.

Inputs

  • returnAll — When enabled, return all matching records; otherwise, set Max Records (1–500, default 10).
  • advancedFilter (required) — JSON string containing a filter array of Autotask query criteria. Use Get Field Info to confirm field names and Search Filter Build to construct the filter.
  • addPicklistLabels — Defaults to true; adds human-readable _label fields for non-empty picklist values.
  • addReferenceLabels — Defaults to true; adds human-readable _label fields for non-empty reference values.
  • selectColumns — Choose fields to include. If none are selected, all fields are returned; the ID field is always included.
  • flattenUdfs — Defaults to false; when enabled, moves user-defined fields to the top level of each record instead of keeping them in userDefinedFields.

Output shape

A list of Autotask Contract Service Unit records, each returned as an n8n item.

The filter and result limit determine which records are returned. Selected columns constrain fields when specified; label fields and flattened UDFs depend on their respective options. With Continue On Fail enabled, failed input items produce an item containing an error field.

Links

Discussion