IT Glue icon

IT Glue

Utilize the IT Glue API

Overview

This node integrates with the IT Glue API to create a new Flexible Asset within a specified organization. Flexible Assets in IT Glue are customizable entities defined by flexible asset types, allowing users to model various asset structures beyond standard configurations.

Typical use cases include:

  • Automating the creation of custom asset records tailored to specific organizational needs.
  • Populating IT Glue with detailed asset information programmatically from other systems.
  • Managing complex asset data that requires dynamic fields and traits.

For example, a managed service provider could use this node to automatically add newly provisioned devices or software licenses as flexible assets into their IT Glue documentation system, including custom attributes relevant to their workflow.

Properties

Name Meaning
Organization ID The unique identifier of the organization for which the flexible asset will be created.
Flexible Asset Type ID The identifier of the flexible asset type that defines the schema/structure of the asset.
Name The name assigned to the flexible asset being created.
Traits A JSON object containing key-value pairs representing the flexible asset's custom fields/traits based on its type. Example: {"field_name": "value", "another_field": "another_value"}
Additional Fields Optional extra settings for the flexible asset:
- Notes Additional textual notes or comments about the flexible asset.
- Restricted Boolean flag indicating whether the flexible asset is restricted (true or false).

Output

The node outputs JSON data representing the newly created flexible asset as returned by the IT Glue API. This typically includes:

  • The flexible asset's unique ID.
  • Its name and associated organization.
  • The flexible asset type details.
  • The traits/fields stored in the asset.
  • Metadata such as creation timestamps and any notes or restrictions applied.

No binary data output is involved.

Dependencies

  • Requires an active connection to the IT Glue API via an API key credential configured in n8n.
  • The node depends on the IT Glue API endpoint for flexible assets.
  • Proper permissions in the IT Glue account to create flexible assets within the specified organization.

Troubleshooting

  • Invalid Organization ID or Flexible Asset Type ID: If these IDs are incorrect or do not exist, the API will return errors. Verify the IDs are correct and accessible.
  • Malformed Traits JSON: The traits property must be valid JSON matching the flexible asset type schema. Invalid JSON or mismatched fields can cause failures.
  • Insufficient Permissions: Ensure the API key used has rights to create flexible assets in the target organization.
  • Network or Authentication Errors: Check API credentials and network connectivity if requests fail.
  • Restricted Field Misuse: Setting the restricted flag incorrectly may cause permission issues when accessing the asset later.

Links and References

Discussion