NinjaOne icon

NinjaOne

Consume NinjaOne API

Actions158

Knowledge Base Articles → Get Knowledge Base Folder Path Content

AI-generated

Overview

This node interacts with the NinjaOne API to retrieve content from a knowledge base folder by specifying either a folder path or folder ID, optionally scoped to an organization. It is useful for automating access to structured knowledge base data within NinjaOne, enabling workflows that need to fetch articles or folder contents dynamically.

Practical examples include:

  • Automatically retrieving all articles in a specific knowledge base folder to process or analyze them.
  • Integrating knowledge base content into other systems or dashboards by fetching folder contents programmatically.
  • Building automated documentation pipelines that pull updated knowledge base information based on folder paths or IDs.

Properties

Name Meaning
Folder Path The path of the knowledge base folder whose content you want to retrieve.
Folder Id The unique numeric identifier of the knowledge base folder to fetch content from.
Organization Id The numeric identifier of the organization context to scope the folder content request.

Output

The node outputs JSON data representing the content of the specified knowledge base folder path or folder ID. The exact structure depends on the NinjaOne API response but typically includes details about articles and subfolders contained within the folder.

No binary data output is produced by this operation.

Dependencies

  • Requires an active NinjaOne API OAuth2 credential configured in n8n to authenticate requests.
  • Depends on the NinjaOne API being accessible and the user having appropriate permissions to read knowledge base folder contents.

Troubleshooting

  • Missing or invalid credentials: Ensure the NinjaOne API OAuth2 credential is correctly set up and authorized.
  • Invalid folder path or ID: Verify that the folder path or folder ID exists and is accessible within the specified organization.
  • Empty responses: If no content is returned, confirm that the folder is not empty and that the organization ID is correct.
  • Binary data errors: Not applicable for this operation since it does not handle binary data.
  • API errors: Any API error messages will be returned in the output JSON under an error field if "Continue On Fail" is enabled; otherwise, they will cause the node to fail.

Links and References

Discussion