NinjaOne icon

NinjaOne

Consume NinjaOne API

Actions158

Knowledge Base Articles → Get Knowledge Base Folder Content

AI-generated

Overview

This node interacts with the NinjaOne API to retrieve content from a specified Knowledge Base folder. It is designed to fetch articles or other items stored within a particular folder in the knowledge base, optionally including archived content. This functionality is useful for automating the retrieval and processing of knowledge base data, such as syncing articles into other systems, generating reports, or managing documentation workflows.

Practical examples:

  • Automatically fetching all articles from a specific knowledge base folder to display them on an internal portal.
  • Periodically retrieving updated folder content including archived articles for backup or audit purposes.
  • Integrating knowledge base content into customer support tools or chatbots.

Properties

Name Meaning
Folder Id The numeric identifier of the knowledge base folder whose content you want to retrieve.
Include Archived Boolean flag indicating whether to include archived items in the folder content result.

Output

The node outputs an array of JSON objects representing the content retrieved from the specified knowledge base folder. Each item in the output corresponds to an article or folder item returned by the NinjaOne API under the given folder ID.

  • The json field contains the full response data from the API call, which includes details about each knowledge base item such as titles, IDs, statuses (archived or active), and other metadata.
  • This node does not output binary data.

Dependencies

  • Requires an API authentication token configured via OAuth2 credentials for the NinjaOne API.
  • The node uses the NinjaOne REST API endpoints to perform operations.
  • Proper configuration of the NinjaOne OAuth2 credential in n8n is necessary for successful requests.

Troubleshooting

  • Missing or invalid Folder Id: Ensure that the Folder Id property is set correctly and corresponds to an existing folder in the NinjaOne knowledge base.
  • Authentication errors: Verify that the OAuth2 credentials are valid and have sufficient permissions to access knowledge base folders.
  • No content returned: If no items appear, check if the folder is empty or if the "Include Archived" option is set appropriately.
  • Binary data errors: Not applicable here since this operation does not handle binary data.
  • API request failures: Network issues or NinjaOne API downtime can cause errors; retry or check NinjaOne service status.

Links and References

Discussion