NinjaOne icon

NinjaOne

Consume NinjaOne API

Actions158

Related Items → Create Secure Related Item For Entity

AI-generated

Overview

This node integrates with the NinjaOne API to create a secure related item for a specified entity type. It allows users to link or associate additional data securely with entities such as organizations, documents, locations, nodes, checklists, or knowledge base documents within the NinjaOne platform.

Common scenarios include:

  • Adding metadata or references to an organization or document in a secure manner.
  • Associating checklists or location details with specific entities for enhanced tracking.
  • Linking knowledge base documents to relevant entities for quick access.

For example, a user might create a secure related item linking a checklist to a particular organization to ensure compliance steps are tracked and secured.

Properties

Name Meaning
Entity Type The type of entity to which the related item will be securely linked. Options: ORGANIZATION, DOCUMENT, LOCATION, NODE, CHECKLIST, KB DOCUMENT
Entity Id The unique numeric identifier of the entity instance to which the related item is attached.

Output

The node outputs JSON data representing the response from the NinjaOne API after creating the secure related item. This typically includes confirmation details about the created related item, such as its ID, status, and any metadata returned by the API.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the NinjaOne API using OAuth2 authentication.
  • The node depends on proper configuration of the NinjaOne API credentials within n8n.
  • Network connectivity to the NinjaOne service endpoint is necessary.

Troubleshooting

  • Missing or invalid Entity Id: Ensure that the Entity Id provided is a valid number corresponding to an existing entity in NinjaOne.
  • Invalid Entity Type: Confirm that the Entity Type is one of the supported options; otherwise, the API call may fail.
  • Authentication errors: Verify that the NinjaOne API credentials are correctly configured and have sufficient permissions.
  • No binary data error: Although not applicable here, if other operations require binary data, ensure the input items contain the expected binary property.
  • API request failures: Check network connectivity and NinjaOne service status if requests time out or return errors.

Links and References

Discussion