Actions159
- Related Items Actions
- Backup Actions
- Queries Actions
- Get Disk Drives
- Get Operating Systems
- Get RAID Controller Report
- Get Volumes
- Get Computer Systems
- Get Antivirus Status Report
- Get Device Health Report
- Get Custom Fields Report
- Get Installed Software Patches
- Get Custom Fields Detailed Report
- Get Installed OS Patches
- Get Pending Failed Rejected OS Patches
- Get RAID Drive Report
- Get Windows Services Report
- Get Antivirus Threats
- Get Device Usage
- Get Network Interfaces
- Get Processors
- Get Software
- Get Last Logged On Users Report
- Get Policy Overrides 1
- Get Scoped Custom Fields Report
- Get Pending Failed Rejected Software Patches
- Get Scoped Custom Fields Detailed Report
- System Actions
- Knowledge Base Articles Actions
- Get Knowledge Base Article Signed Urls
- Get Related Item Attachments Signed Urls
- Download Knowledge Base Article
- Get Knowledge Base Folder Path Content
- Upload Temp Attachments
- Get Knowledge Base Folder Content
- Get Client Knowledge Base Articles
- Upload Knowledge Base Articles
- Get Global Knowledge Base Articles
- Download Related Item Attachment
- Organization Documents Actions
- Document Templates Actions
- Checklist Templates Actions
- Organization Checklists Actions
- Location Actions
- Management Actions
- Get Custom Fields Policy Condition
- Delete Policy Condition
- Reset Alert
- Update Device
- Request Scripting Options
- Submit OS Patch Scan
- Get Installer For Location
- Get Windows Event Policy Conditions
- Create Organization
- Cancel Device Maintenance
- Reboot Devices
- Set Windows Service Configuration
- Create Location For Organization
- Update Node Role Policy Assignment For Organization
- Create Windows Event Policy Condition
- Node Approval Operation
- Control Windows Service
- Remove Device Owner
- Submit OS Patch Apply
- Get Installer
- Create Policy
- Get Windows Event Policy Condition
- Update Device Maintenance
- Reset Policy Overrides
- Set Device Owner
- Submit Software Patch Scan
- Update Location
- Reset Alert Set Activity Data
- Get Device Link
- Run Script On Device
- Submit Software Patch Apply
- Update Organization
- Create Custom Fields Policy Condition
- Get Custom Fields Policy Conditions
- Custom Fields Actions
- Ticketing Actions
- Organization Actions
- Devices Actions
- Get Device Active Jobs
- Get Device Installed Software Patches
- Get Device Processors
- Update Node Attribute Values
- Get Device Disk Drives
- Get Device Pending Failed Rejected OS Patches
- Get Device Volumes
- Get Device Alerts
- Get Device Network Interfaces
- Get Device Software
- Get Device Activities
- Get Device Last Logged On User
- Get Device Services
- Get Policy Overrides
- Get Device
- Get Device Installed OS Patches
- Get Device Pending Failed Rejected Software Patches
- Get Node Custom Fields
- Groups Actions
- Webhooks Actions
Overview
This node operation retrieves system activity logs from the AvantGuard NinjaOne platform. It allows users to query and filter activities recorded in the system, such as device events, user actions, or system-generated logs. This is useful for monitoring, auditing, and troubleshooting purposes within IT environments managed by NinjaOne.
Typical use cases include:
- Fetching recent system or device activities to analyze security incidents.
- Auditing user actions for compliance and operational oversight.
- Filtering activities by date ranges, types, or statuses to generate reports or trigger workflows based on specific events.
Properties
| Name | Meaning |
|---|---|
| Additional Query Parameters | Optional filters and parameters to refine the activities returned. Includes: |
| - Class | Filter by activity class: SYSTEM, DEVICE, USER, or ALL (default). |
| - Before | Return activities recorded before a specified date (ISO string). |
| - After | Return activities recorded after a specified date (ISO string). |
| - Older Than | Return activities with IDs older than the specified activity ID (number). |
| - Newer Than | Return activities with IDs newer than the specified activity ID (number). |
| - Type | Filter activities by type (string). |
| - Status | Filter activities by status (string). |
| - User | Filter activities related to specific user(s) (string). |
| - Series Uid | Filter activities related to a specific alert series UID (string). |
| - Df | Device filter (string). |
| - Page Size | Limit the number of activities returned (number, default 200). |
| - Lang | Language tag for localization (string). |
| - Tz | Time zone for date/time filtering (string). |
| - Source Config Uid | Direct request to a specific script via source config UID (string). |
Output
The node outputs an array of activity objects in the json field. Each object represents a single activity record retrieved from the NinjaOne system, containing details such as timestamps, activity type, status, user information, and related metadata.
If binary data were involved (not indicated here), it would typically represent attachments or files related to activities, but this operation focuses on JSON-formatted activity logs.
Dependencies
- Requires an API key credential for authenticating with the AvantGuard NinjaOne API.
- The base URL for the API must be configured in the node credentials.
- The node uses standard HTTP headers for JSON content negotiation.
Troubleshooting
- Empty results: Check that the query parameters are correctly set and that there are activities matching the filters.
- Authentication errors: Ensure the API key credential is valid and has sufficient permissions.
- Invalid date formats: Use ISO 8601 date strings for
beforeandafterparameters. - Rate limits or API errors: Verify API usage limits and handle errors gracefully in workflows.
- Incorrect parameter names or values: Confirm that all additional query parameters conform to expected types and allowed values.
Links and References
- AvantGuard NinjaOne API Documentation (generic link, replace with actual if available)
- n8n Documentation on HTTP Request Nodes (for understanding API calls)
- ISO 8601 Date Format