Autotask icon

Autotask

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

Actions1078

Opportunity → Get

AI-generated

Summary

Fetches one Autotask opportunity by its required ID. Returns the opportunity record, with optional controls for included fields and readable labels.

Inputs

  • Opportunity ID (required) — ID of the opportunity to retrieve.
  • 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 fields to include in the response. If none are selected, all fields are returned; the ID field is always included. Supports expressions for field IDs.
  • Flatten User-Defined Fields — Defaults to false; when enabled, moves user-defined fields to the top level instead of leaving them in the userDefinedFields array.

Output shape

A single opportunity record as an n8n item.

The record includes the ID and either the selected fields or all fields if no columns were selected. Label fields and flattened user-defined fields depend on their respective options.

Links

Discussion