Autotask icon

Autotask

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

Actions1078

Opportunity Attachment → Get Many (Advanced)

AI-generated

Summary

Retrieves opportunity attachment records from Autotask using an advanced filter supplied as JSON. Choose whether to return all matches or cap the results, and optionally control which fields and labels appear in the returned records.

Inputs

  • Get All — When enabled, returns all matching records; otherwise Max Records sets the result limit (default 10, range 1–500).
  • Advanced Filter (required) — JSON string containing a filter array of Autotask API query criteria. Use Get Field Info to check field names or Search Filter Build to construct the filter.
  • Add Picklist Labels — Defaults to true; adds human-readable _label fields for non-empty picklist values.
  • Add Reference Labels — Defaults to true; adds human-readable _label fields for non-empty reference values.
  • Select Columns Names or IDs. — Choose response fields; if none are selected, all fields are returned. The ID field is always included.
  • Flatten User-Defined Fields — Defaults to false; when enabled, brings user-defined fields to the top level of each record instead of leaving them in the userDefinedFields array.

Output shape

A list of matching opportunity attachment records, each returned as an n8n item.

Results are filtered by the required advanced filter. They are returned without a specified cap when Get All is enabled; otherwise the configured Max Records limit applies. Selected columns, optional label fields, and UDF flattening affect each record's fields.

Links

Discussion