Professional NinjaOne RMM integration for n8n with complete ticketing and device management capabilities.
This community node provides comprehensive integration with the NinjaOne Remote Monitoring and Management (RMM) platform, enabling automated workflows for IT service management, device monitoring, and helpdesk operations through n8n.
Follow the community node installation guide and install the package:
npm install @ev1lc0rp/n8n-nodes-ninjaone
✅ Working Features:
- Complete OAuth2 Client Credentials authentication with regional endpoint support
- Full CRUD ticket operations with real API field mapping based on production data
- Comprehensive device management operations (get, list, activities, alerts, custom fields, etc.)
- All ticketing workflows: Create, Read, Update, Comment with proper field validation
- Severity levels: NONE, MINOR, MODERATE, MAJOR, CRITICAL (matches production API)
- Status management: New (1000), Open (2000), Waiting for Customer (3000), Hold (4000)
- Ticket types: PROBLEM, TASK, QUESTION support
- Time tracking and organization assignment capabilities
- Board-based ticket listing with proper POST method implementation
🚧 In Development:
- Advanced device patch management operations
- Webhook management enhancements
- Knowledge base article management
- Organization document workflows
- Asset tag management system
❌ Known Issues:
- None currently identified - all implemented features are production-ready
📋 Roadmap:
- Backup job operations and monitoring
- Advanced reporting and analytics endpoints
- Checklist template management
- Document template operations
- Vulnerability management integration
The NinjaOne API uses OAuth 2.0 Client Credentials Flow for secure server-to-server communication. This is the recommended authentication method for all API operations.
-
Create NinjaOne OAuth2 API Credentials in n8n:
- Go to Credentials in n8n
- Add NinjaOne OAuth2 API credential type
- Configure your NinjaOne application credentials
-
Regional Endpoint Configuration:
-
Base URL: Set to your regional endpoint (e.g.,
https://api.ninjaone.com
) - Client ID: Your NinjaOne application client ID
- Client Secret: Your NinjaOne application client secret
-
Scope:
monitoring management
(required for full API access)
-
Base URL: Set to your regional endpoint (e.g.,
-
Obtain Application Credentials:
- Log in to your NinjaOne account
- Navigate to Administration > API
- Click Add New Application
- Configure required permissions for your use case
- Copy the Client ID and Client Secret to n8n
{
"clientId": 1,
"ticketFormId": 1,
"summary": "Server maintenance required",
"description": "Scheduled maintenance for production server",
"severity": "MODERATE",
"priority": "HIGH",
"type": "TASK",
"status": "1000"
}
Full field support including:
- Summary, status, severity, priority, type
- Organization assignment and time tracking
- CC lists (UIDs and email addresses)
- Tags, attributes, and custom fields
- Parent ticket relationships for sub-tickets
- Add public/private comments to tickets
- Time tracking integration for billable hours
- Support for HTML formatted content
- Retrieve tickets by ticketing board ID
- Pagination and filtering support
- Sorting and search capabilities
- Custom column selection
All ticket operations use field mappings verified against real NinjaOne API responses:
- Severity Levels: NONE, MINOR, MODERATE, MAJOR, CRITICAL
- Status IDs: 1000 (New), 2000 (Open), 3000 (Waiting for Customer), 4000 (Hold)
- Ticket Types: PROBLEM, TASK, QUESTION
- Summary Field: Uses 'summary' (not 'subject') to match API response structure
- Organization Assignment: Department/team assignment support
- Time Tracking: Seconds-based time tracking for accurate billing
- Get Device – Retrieve detailed device information by ID
- List Devices – Get all devices with filtering and pagination
- Device Activities – Monitor device activity logs and events
- Device Alerts – Access critical alerts and notifications
- Custom Fields – Read and update device custom field data
- Hardware Inventory – Disks, processors, network interfaces, volumes
- Software Management – Installed software, patches, and updates
- System Information – OS details, Windows services, last logged user
- Policy Management – Policy overrides and compliance status
Ticketing Operations:
-
POST /v2/ticketing/ticket
- Create tickets -
GET /v2/ticketing/ticket/{id}
- Get ticket details -
PUT /v2/ticketing/ticket/{id}
- Update tickets -
POST /v2/ticketing/ticket/{id}/comment
- Add comments -
GET /v2/ticketing/trigger/boards
- List ticketing boards -
POST /v2/ticketing/trigger/board/{id}/run
- Get tickets by board
Device Operations:
-
GET /v2/device/{id}
- Device details -
GET /v2/devices
- List devices -
GET /v2/device/{id}/activities
- Device activities -
GET /v2/device/{id}/alerts
- Device alerts - Plus 15+ additional device management endpoints
The integration supports all NinjaOne regional deployments:
- North America:
https://api.ninjaone.com
- Europe:
https://eu-api.ninjaone.com
- Other regions: Configure your specific regional endpoint
- List Ticketing Boards to identify available boards
- Get Tickets by Board to retrieve current tickets
- Create Ticket for new issues or tasks
- Update Ticket to modify status, priority, or assignment
- Add Comments for progress updates and communication
- List Devices to get inventory overview
- Get Device Alerts to identify issues requiring attention
- Get Device Activities to review recent events
- Create Tickets automatically for critical alerts
- Update Custom Fields to track remediation status
- API Reference: docs/api-reference/ - Complete NinjaOne API documentation
- Usage Examples: docs/examples/ - Real-world implementation examples
- Development Guide: docs/development/ - Development and contribution guidelines
400 Bad Request : Verify all required fields are provided for the operation. Check that the Base URL matches your regional endpoint and doesn't contain trailing slashes.
401 Unauthorized
: Confirm OAuth2 credentials are correct and have appropriate scopes. Verify the Client Credentials Flow is configured properly.
405 Method Not Allowed : Ensure you're using the latest version - older versions had incorrect HTTP methods for some operations.
TLS/SSL Errors
: Verify the Base URL uses https
and matches your actual NinjaOne regional domain. Check network connectivity and proxy settings.
Major Enhancements:
- Complete ticket field mapping overhaul based on production API data
- Enhanced Create and Update operations with all available fields
- Fixed Get Tickets by Board operation (GET → POST method)
- Added comprehensive Comment operations with time tracking
- Updated severity levels to match real API: MINOR, MODERATE, MAJOR
- Implemented proper status ID mapping for accurate state management
- Repository reorganization and professional documentation structure
Technical Improvements:
- All field names match actual API responses ('summary' vs 'subject')
- TypeScript compilation and ESLint compliance maintained
- Comprehensive testing against live NinjaOne API endpoints
- Optimized icon and branding throughout the package
This project follows standard n8n community node development practices. See docs/development/ for detailed contribution guidelines.
MIT License - see LICENSE.md for details.
- GitHub Issues: Report bugs and request features
- n8n Community: Get help from the community
- NinjaOne API Documentation: Official API reference
Professional NinjaOne integration for n8n - Automate your IT service management workflows with confidence.