Autotask icon

Autotask

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

Actions1078

Role → Get

AI-generated

Summary

Retrieve an Autotask role by its ID. The response can include all fields or a selected subset, with optional human-readable picklist and reference labels and optional flattening of user-defined fields.

Inputs

  • Role ID (required) — ID of the role to retrieve.
  • Select Columns Names or IDs. — Choose fields to include; if none are selected, all fields are returned. The ID is always included.
  • 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.
  • Flatten User-Defined Fields — Defaults to false. When enabled, brings user-defined fields to the top level instead of leaving them in the userDefinedFields array.

Output shape

A single role record as an n8n item.

The record contains the selected columns, or all fields when no columns are selected; the ID is always included. Label fields and flattened user-defined fields depend on the corresponding options.

Links

Discussion