Actions158
- System Actions
- Organization Actions
- Devices Actions
- Get Device
- Get Device Active Jobs
- Get Device Activities
- Get Device Alerts
- Get Device Disk Drives
- Get Device Installed OS Patches
- Get Device Installed Software Patches
- Get Device Last Logged On User
- Get Device Network Interfaces
- Get Device Pending Failed Rejected OS Patches
- Get Device Pending Failed Rejected Software Patches
- Get Device Processors
- Get Device Services
- Get Device Software
- Get Device Volumes
- Get Node Custom Fields
- Update Node Attribute Values
- Get Policy Overrides
- Groups Actions
- Queries Actions
- Get Antivirus Status Report
- Get Antivirus Threats
- Get Computer Systems
- Get Custom Fields Detailed Report
- Get Custom Fields Report
- Get Device Health Report
- Get Device Usage
- Get Disk Drives
- Get Installed OS Patches
- Get Installed Software Patches
- Get Last Logged On Users Report
- Get Network Interfaces
- Get Operating Systems
- Get Pending Failed Rejected OS Patches
- Get Pending Failed Rejected Software Patches
- Get Policy Overrides 1
- Get Processors
- Get RAID Controller Report
- Get RAID Drive Report
- Get Scoped Custom Fields Detailed Report
- Get Scoped Custom Fields Report
- Get Software
- Get Volumes
- Get Windows Services Report
- Management Actions
- Get Custom Fields Policy Conditions
- Create Custom Fields Policy Condition
- Get Windows Event Policy Conditions
- Create Windows Event Policy Condition
- Delete Policy Condition
- Get Custom Fields Policy Condition
- Get Windows Event Policy Condition
- Create Organization
- Node Approval Operation
- Reset Alert
- Reset Alert Set Activity Data
- Update Device Maintenance
- Cancel Device Maintenance
- Control Windows Service
- Update Device
- Get Device Link
- Reset Policy Overrides
- Reboot Devices
- Remove Device Owner
- Request Scripting Options
- Run Script On Device
- Set Device Owner
- Set Windows Service Configuration
- Submit OS Patch Apply
- Submit OS Patch Scan
- Submit Software Patch Apply
- Submit Software Patch Scan
- Create Location For Organization
- Get Installer
- Get Installer For Location
- Update Organization
- Update Location
- Update Node Role Policy Assignment For Organization
- Create Policy
- Ticketing Actions
- Webhooks Actions
- Related Items Actions
- Location Actions
- Backup Actions
- Knowledge Base Articles Actions
- Upload Temp Attachments
- Download Knowledge Base Article
- Get Client Knowledge Base Articles
- Get Global Knowledge Base Articles
- Get Knowledge Base Article Signed Urls
- Get Knowledge Base Folder Content
- Get Knowledge Base Folder Path Content
- Download Related Item Attachment
- Get Related Item Attachments Signed Urls
- Organization Documents Actions
- Document Templates Actions
- Checklist Templates Actions
- Custom Fields Actions
- Organization Checklists Actions
Related Items → Get Related Items With Entity
AI-generatedOverview
This node interacts with the NinjaOne API to retrieve related items associated with a specific entity type and ID. It is useful in scenarios where you need to fetch all items linked to an entity such as an organization, document, location, or technician within the NinjaOne platform. For example, you might want to get all attachments or checklists related to a particular organization or retrieve all knowledge base documents connected to a contact.
Properties
| Name | Meaning |
|---|---|
| Rel Entity Type | The type of the related entity to query. Options include: ORGANIZATION, DOCUMENT, LOCATION, NODE, ATTACHMENT, TECHNICIAN, CREDENTIAL, CHECKLIST, END USER, CONTACT, KB DOCUMENT. |
| Rel Entity Id | The unique numeric identifier of the related entity for which to fetch associated items. |
Output
The node outputs an array of JSON objects representing the related items retrieved from the NinjaOne API. Each item corresponds to a related entity linked to the specified entity type and ID. The exact structure depends on the NinjaOne API response but generally includes details about each related item.
If binary data were involved (e.g., file uploads), it would be included in the output's binary property, but this operation only performs GET requests and returns JSON data.
Dependencies
- Requires an active NinjaOne API OAuth2 credential configured in n8n.
- The node uses the NinjaOne REST API endpoints to fetch data.
- No additional environment variables are needed beyond the API authentication setup.
Troubleshooting
- Missing or invalid credentials: Ensure that the NinjaOne API OAuth2 credential is correctly set up and authorized.
- Invalid entity ID or type: Providing an incorrect or non-existent entity ID or type will result in empty results or API errors.
- API rate limits or connectivity issues: Network problems or API rate limiting may cause request failures; retry or check network status.
- No binary data errors: Not applicable here since this operation does not handle binary inputs.
Common error messages:
"No binary data exists on item!"or"No binary data property ..."— These do not apply to this operation but appear in other operations involving file uploads.- API error messages returned by NinjaOne will be passed through; verify the entity parameters and API access rights.
Links and References
- NinjaOne API Documentation (general reference for API endpoints)
- n8n Documentation - Creating Custom Nodes