Autotask icon

Autotask

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

Actions524

Company Location → Get

AI-generated

Overview

This node operation retrieves details of a specific company location from the Autotask PSA system using the provided Company Location ID. It is useful for scenarios where you need to fetch detailed information about a particular company location, such as its address, contact details, or other metadata stored in Autotask. For example, it can be used in workflows that require validation or display of company location data before proceeding with further automation steps.

Use Case Examples

  1. Fetch a company location's details by its ID to verify address information before sending a shipment.
  2. Retrieve company location data to display in a customer service dashboard for support agents.

Properties

Name Meaning
Company Location ID The ID of the company location to operate on, used to specify which company location to retrieve.
Add Picklist Labels Whether to automatically add "_label" fields for picklist fields with human-readable values (no labels will be added for empty values).
Add Reference Labels Whether to automatically add "_label" fields for reference fields with human-readable values (no labels will be added for empty values).
Select Columns Names or IDs. Choose which fields to include in the response. If no fields are selected, all fields will be returned. The ID field is always included regardless of selection.
Flatten User-Defined Fields Whether to bring user-defined fields up to the top level of each object, making UDFs accessible as top-level properties instead of nested in the userDefinedFields array.

Output

JSON

  • id - The unique identifier of the company location.
  • name - The name of the company location.
  • address - The address details of the company location.
  • contactDetails - Contact information related to the company location.
  • picklistLabels - Human-readable labels for picklist fields if enabled.
  • referenceLabels - Human-readable labels for reference fields if enabled.
  • userDefinedFields - User-defined fields related to the company location, optionally flattened to top-level properties.

Dependencies

  • An API key credential for Autotask PSA REST API authentication.

Troubleshooting

  • Ensure the Company Location ID is valid and exists in the Autotask system to avoid 'not found' errors.
  • Verify API credentials are correctly configured and have sufficient permissions to access company location data.
  • If labels for picklist or reference fields are not appearing, check that the respective options are enabled in the node configuration.
  • If user-defined fields are not accessible as expected, verify the 'Flatten User-Defined Fields' option is set according to your needs.

Links

Discussion