Autotask icon

Autotask

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

Actions1078

Resource Role → Get Many (Advanced)

AI-generated

Summary

Fetches Resource Role records from Autotask that match an advanced JSON filter. Choose whether to return all matches or cap the results, and optionally select output columns and add human-readable labels or flatten user-defined fields.

Inputs

  • advancedFilter (required) — JSON string containing a filter array of Autotask query criteria. Use Get Field Info to confirm field names; Search Filter Build can construct the filter JSON.
  • returnAll — When false, limits results to Max Records (default 10, allowed range 1–500); when true, returns all matches.
  • selectColumns — Fields to include in each result. If none are selected, all fields are returned; the ID field is always included.
  • addPicklistLabels — Defaults to true. Adds _label fields with human-readable values for non-empty picklist fields.
  • addReferenceLabels — Defaults to true. Adds _label fields with human-readable values for non-empty reference fields.
  • flattenUdfs — Defaults to false. When enabled, moves user-defined fields to the top level of each result instead of leaving them in the userDefinedFields array.

Output shape

A list of matching Resource Role records, each returned as an n8n item.

The node’s common-operation handler runs this operation for each input item and combines the returned records. Errors are thrown unless Continue On Fail is enabled.

Links

Discussion