Autotask icon

Autotask

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

Actions1078

Contract → Get Many (Advanced)

AI-generated

Summary

Fetches Autotask contract records using a JSON query filter and returns the matching records. Choose whether to return all matches or cap the result count, and optionally select fields and add readable labels or flatten user-defined fields.

Inputs

  • Advanced Filter (required) — A JSON string containing a filter array of Autotask API query criteria. Use Get Field Info to confirm field names; Search Filter Build can help construct the filter.
  • Get All — When enabled, return all matching records. When disabled, Max Records sets the limit (default 10; allowed range 1–500).
  • Max Records — Maximum records to return when Get All is disabled (1–500; default 10).
  • Add Picklist Labels — Adds human-readable _label fields for non-empty picklist values; enabled by default.
  • Add Reference Labels — Adds human-readable _label fields for non-empty reference values; enabled by default.
  • Select Columns Names or IDs. — Choose fields to include. If none are selected, all fields are returned; the ID field is always included.
  • Flatten User-Defined Fields — When enabled, moves user-defined fields from the userDefinedFields array to the top level of each returned record; disabled by default.

Output shape

A list of matching contract records, one n8n item per record.

The result count follows Get All or Max Records. Selected columns affect included fields, while the ID is always present. Label options add _label properties when values have labels.

Links

Discussion