Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node operation retrieves multiple product records from the Autotask system. It is useful for scenarios where you need to fetch a list of products, such as inventory management, reporting, or syncing product data with other systems. For example, you can use it to get all products or a limited number of products with specific fields mapped, including user-defined fields and picklist labels for better readability.

Properties

Name Meaning
Fields Defines which product fields to retrieve and map in the output. Supports custom mapping and auto-mapping of fields.
Get All Determines whether to return all matching product records or limit the number of records returned.
Max Records Specifies the maximum number of product records to return when 'Get All' is false. The value must be between 1 and 500.
Add Picklist Labels If enabled, adds additional fields with '_label' suffix containing human-readable labels for picklist fields.
Add Reference Labels If enabled, adds additional fields with '_label' suffix containing human-readable labels for reference fields.
Select Columns Names or IDs. Allows selection of specific product fields to include in the response. If none are selected, all fields are returned. The ID field is always included.
Flatten User-Defined Fields If enabled, user-defined fields (UDFs) are moved to the top level of each product object instead of being nested inside a userDefinedFields array.

Output

JSON

  • products - An array of product objects retrieved from Autotask, each containing the selected fields, optionally including picklist and reference labels, and user-defined fields either nested or flattened.

Dependencies

  • Requires an Autotask API key credential for authentication to access the Autotask REST API.

Troubleshooting

  • If no products are returned, verify that the Autotask API credentials are correct and have sufficient permissions.
  • If the node returns an error about unsupported resource, ensure the resource parameter is set to 'product'.
  • If the maximum records limit is exceeded, reduce the 'Max Records' value or enable 'Get All' to fetch all records.
  • If picklist or reference labels are missing, check that 'Add Picklist Labels' and 'Add Reference Labels' options are enabled.
  • If user-defined fields are not accessible as expected, toggle the 'Flatten User-Defined Fields' option to change their structure.

Discussion