IT Glue icon

IT Glue

Utilize the IT Glue API

Flexible Asset → Create

AI-generated

Overview

This node operation creates a new Flexible Asset within the IT Glue platform. It is useful for users who want to programmatically add flexible assets to an organization, specifying the asset type, name, and custom traits. For example, a user can create a flexible asset representing a custom piece of equipment or resource with specific fields defined by the asset type.

Use Case Examples

  1. Creating a flexible asset for an organization with a specific asset type and custom traits such as serial number, location, or status.
  2. Adding notes or marking the asset as restricted during creation.

Properties

Name Meaning
Organization ID The organization ID to create the flexible asset for.
Flexible Asset Type ID The flexible asset type ID that defines the structure of the asset.
Name The name of the flexible asset.
Traits A JSON object containing the flexible asset traits/fields based on the asset type.
Notes Additional notes for the flexible asset.
Restricted Whether the flexible asset is restricted (boolean).

Output

JSON

  • id - The unique identifier of the created flexible asset.
  • organizationId - The ID of the organization the flexible asset belongs to.
  • flexibleAssetTypeId - The ID of the flexible asset type defining the asset's structure.
  • name - The name of the flexible asset.
  • traits - The traits or fields of the flexible asset as a JSON object.
  • notes - Additional notes associated with the flexible asset.
  • restricted - Indicates if the flexible asset is restricted.

Dependencies

  • IT Glue API key credential for authentication

Troubleshooting

  • Ensure that the required fields (Organization ID, Flexible Asset Type ID, and Name) are provided; missing these will cause errors.
  • Validate the JSON format of the Traits field to avoid parsing errors.
  • Check API authentication credentials if the request fails due to authorization issues.
  • If the flexible asset type ID is invalid or does not exist, the creation will fail.

Links

Discussion