Autotask icon

Autotask

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

Actions524

Resource → Get

AI-generated

Overview

This node interacts with the 'Resource' entity in Kaseya's Autotask PSA REST API, specifically performing the 'Get' operation. It retrieves detailed information about a specific resource by its ID. This operation is useful for scenarios where you need to fetch and use resource details within an automation workflow, such as obtaining user or employee data for further processing or reporting.

Use Case Examples

  1. Retrieve a resource's details by specifying its unique Resource ID to use in subsequent workflow steps, such as assigning tasks or generating reports.
  2. Fetch resource information to verify or update related records in your system.

Properties

Name Meaning
Resource ID The unique identifier of the resource to retrieve. This is a required string input.
Cache Response Whether to cache the API response for this operation to reduce repeated Autotask calls. This is a boolean flag.
Cache TTL (seconds) Maximum time to keep a cached API response for this operation in seconds. Only applicable if caching is enabled.
Add Picklist Labels Whether to automatically add '_label' fields for picklist fields with human-readable values. No labels are added for empty values.
Add Reference Labels Whether to automatically add '_label' fields for reference fields with human-readable values. No labels are 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 them accessible as top-level properties instead of nested in the userDefinedFields array.

Output

JSON

  • id - The unique identifier of the resource.
  • name - The name of the resource.
  • email - The email address of the resource.
  • phone - The phone number of the resource.
  • picklist_labels - Human-readable labels for picklist fields, if enabled.
  • reference_labels - Human-readable labels for reference fields, if enabled.
  • userDefinedFields - User-defined fields related to the resource, optionally flattened to top-level properties.

Dependencies

  • An API key credential for Autotask API authentication.

Troubleshooting

  • Ensure the Resource ID is correctly specified and exists in the Autotask system to avoid 'Resource not found' errors.
  • If caching is enabled, verify that the cache TTL is set appropriately to avoid stale data issues.
  • Check API credentials and permissions if authentication errors occur.
  • If the node fails to add picklist or reference labels, verify that the fields support labeling and that the options are enabled correctly.

Links

Discussion