Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node interacts with the Autotask API to retrieve detailed information about a specific Product Vendor by its ID. It is useful for workflows that need to fetch vendor details for inventory management, procurement processes, or integration with other systems. For example, a user can automate the retrieval of vendor contact information or vendor-specific attributes to update a database or trigger notifications.

Properties

Name Meaning
Vendor ID The unique identifier of the product vendor to retrieve details for. This is a required input to specify which vendor to get.
Add Picklist Labels Determines whether to automatically add human-readable '_label' fields for picklist fields in the response, enhancing readability of picklist values.
Add Reference Labels Determines whether to automatically add human-readable '_label' fields for reference fields in the response, improving clarity of referenced data.
Select Columns Names or IDs. Allows selection of specific fields to include in the response. If none are selected, all fields are returned. The ID field is always included regardless of selection.
Flatten User-Defined Fields If enabled, user-defined fields (UDFs) are promoted to top-level properties in the output object instead of being nested inside a userDefinedFields array, simplifying access to these fields.

Output

JSON

  • id - The unique identifier of the product vendor.
  • name - The name of the product vendor.
  • fieldName
    • _label - Human-readable labels for picklist or reference fields if enabled.
  • userDefinedFields - Array of user-defined fields if not flattened; otherwise, UDFs appear as top-level properties.

Dependencies

  • Requires an API key credential for Autotask API authentication.

Troubleshooting

  • Ensure the Vendor ID provided is valid and exists in the Autotask system; invalid IDs will cause errors or empty responses.
  • If no fields are returned, verify that the API credentials have sufficient permissions to access product vendor data.
  • When enabling 'Add Picklist Labels' or 'Add Reference Labels', empty values will not have labels added; this is expected behavior.
  • If user-defined fields are not appearing as expected, check the 'Flatten User-Defined Fields' setting to control their structure in the output.

Discussion