Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node operation retrieves a specific survey result from the Autotask system by its unique Survey Result ID. It is useful when you need to fetch detailed data about a particular survey response, for example, to analyze customer feedback or integrate survey data into other workflows.

Properties

Name Meaning
Survey Result ID The unique identifier of the survey result to retrieve, required to specify which survey result to fetch.
Add Picklist Labels Whether to automatically add human-readable "_label" fields for picklist fields in the survey result, enhancing readability of picklist values.
Add Reference Labels Whether to automatically add human-readable "_label" fields for reference fields in the survey result, improving clarity of referenced data.
Select Columns Names or IDs. Specify which fields (columns) 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 Whether to bring user-defined fields (UDFs) up to the top level of the returned object instead of nested inside a userDefinedFields array, simplifying access to these fields.

Output

JSON

  • id - The unique identifier of the survey result.
  • 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 REST API authentication.

Troubleshooting

  • Ensure the Survey Result ID provided is correct and exists in the Autotask system; otherwise, the node will return an error indicating the resource was not found.
  • If picklist or reference labels are not appearing, verify that the corresponding boolean options are enabled and that the fields have non-empty values.
  • If selecting specific columns, ensure the column names or IDs are valid; invalid selections may cause incomplete or empty responses.
  • Authentication errors may occur if the API key credential is missing or invalid; verify credentials in the node settings.

Discussion