n8n-nodes-stemconnect
v1.1.5
Published
n8n nodes for STEM Connect API - telecommunications management system
Maintainers
Readme
n8n-nodes-stemconnect
This package contains a unified n8n node for integrating with the STEM Connect API, a comprehensive telecommunications management system.
Features
This package provides a single STEM Connect node that manages all telecommunications operations:
- TOCs (Take Over Certificates) - File upload/download and data submission
- ISPs (Internet Service Providers) - ISP management and configuration
- Devices - Network device management and monitoring
- End Customer Circuits - Circuit provisioning and management
- End Customers - Customer management
- VLANs - Network VLAN configuration
- Products - Service product management
- Sites - Physical site management
- Contacts - Contact management
- Billing - Billing information
Installation
Install the package in your n8n instance:
npm install n8n-nodes-stemconnectRestart your n8n instance to load the new nodes.
Compatibility
This package is compatible with:
- n8n versions: 1.88.0 and newer
- n8n-workflow: 1.88.0 (pinned for exact compatibility)
- Node.js versions: 18.17.0 and newer
The node has been specifically tested and optimized for compatibility with older n8n versions, including 1.88.0, to resolve URL handling issues that may occur in earlier versions. The n8n-workflow dependency is pinned to version 1.88.0 to ensure exact compatibility and prevent issues with newer workflow APIs.
Changelog
v1.0.20
- Optimized for n8n-workflow 1.88.0 with proper baseURL/url separation
- Enhanced error handling with specific error messages for timeout, SSL, and rate limiting
- Added timeout configuration (30 seconds) for better reliability
- Improved HTTP status code handling including 403, 429, and 5xx errors
- Better network error detection for connection and SSL/TLS issues
v1.0.19
- Fixed GenericFunctions.ts compatibility issues with n8n-workflow 1.88.0
- Improved error handling for better debugging and user experience
- Enhanced parameter validation for body and query string parameters
- Removed unsupported features like baseURL/url separation and timeout options
- Added comprehensive error messages for connection and authentication issues
v1.0.18
- Pinned n8n-workflow dependency to version 1.88.0 for exact compatibility
- Improved dependency management to prevent version conflicts with newer n8n-workflow APIs
v1.0.17
- Fixed compatibility with older n8n versions (1.88.0+)
- Improved URL handling to prevent "Invalid URL" errors in older axios versions
- Enhanced error handling with better error messages for debugging
- Added timeout configuration to prevent hanging requests
- Updated Node.js requirement to 18.17.0+ for better compatibility
Configuration
Credentials
Before using any of the nodes, you need to configure your STEM Connect API credentials:
- Go to your n8n credentials settings
- Create a new credential of type "STEM Connect API"
- Enter your API key and base URL (default: https://om.stemconnect.net)
Available Operations
The STEM Connect node provides operations for all major telecommunications entities:
TOC Operations
- Get - Retrieve TOCs from the database with filtering options
- Upload - Upload TOC files to the server
- Submit - Submit TOC data for processing
- Download - Download TOC files from the server
ISP Operations
- Get - Retrieve all ISPs with pagination
- Add - Add new ISPs to the database
- Update - Update existing ISP information
Device Operations
- Get - Retrieve devices with filtering options
- Get by Serial - Get specific device by serial number
- Add - Add new devices to the database
- Create - Create new devices
- Update - Update device information
- Get Promo Products - Retrieve promotional products
Circuit Operations
- Get All - Retrieve all circuits with pagination
- Get - Get specific circuit by circuit number
- Add - Add new circuits
- Update - Update circuit information
- Delete - Delete circuits
- Generate TOC - Generate TOC PDF documents
Other Operations
- End Customer - Get, Add, Update end customers
- VLAN - Get, Add VLAN configurations
- Product - Get, Create products
- Site - Get, Add sites
- Contact - Get contacts
- Billing - Get billing information
API Endpoints Covered
This package covers the following STEM Connect API endpoints:
TOCs
GET /api/tocs/get- List TOCsPOST /api/tocs/upload- Upload TOC filesPOST /api/tocs/submit- Submit TOC dataGET /api/tocs/download/{uniqueId}- Download TOC files
ISPs
GET /api/isps/get- Get all ISPsPOST /api/isps/add- Add new ISPPOST /api/isps/update/{isp_id}- Update ISP
Devices
GET /api/devices/get- Get devicesGET /api/devices/get/{serial_no}- Get device by serialPOST /api/devices/add- Add devicePOST /api/devices/create- Create devicePOST /api/devices/update/{serial_no}- Update deviceGET /api/devices/get/promo- Get promo products
End Customer Circuits
GET /api/endcustomercircuits/get- Get all circuitsGET /api/endcustomercircuits/get/{circuit_no}- Get circuitPOST /api/endcustomercircuits/add- Add circuitPATCH /api/endcustomercircuits/update/{circuit_no}- Update circuitDELETE /api/endcustomercircuits/delete/{circuit_no}- Delete circuitPOST /api/endcustomercircuits/generate-toc- Generate TOC PDF
Usage Examples
Getting All Devices
- Add a "STEM Connect" node to your workflow
- Set resource to "Device"
- Set operation to "Get"
- Configure pagination parameters (offset, limit)
- Execute to retrieve device list
Adding a New Circuit
- Add a "STEM Connect" node
- Set resource to "Circuit"
- Set operation to "Add"
- Fill in circuit details (circuit number, speeds, PPPoE credentials)
- Execute to create the circuit
Generating a TOC PDF
- Add a "STEM Connect" node
- Set resource to "Circuit"
- Set operation to "Generate TOC"
- Provide the circuit number
- Execute to generate and download the TOC PDF
Managing ISPs
- Add a "STEM Connect" node
- Set resource to "ISP"
- Choose operation (Get, Add, Update)
- Configure parameters as needed
- Execute the operation
Error Handling
All nodes include comprehensive error handling:
- API errors are properly caught and reported
- Continue on fail option available
- Detailed error messages for troubleshooting
Authentication
The nodes use API key authentication as required by the STEM Connect API:
- API key is passed in the
apiKeyheader - Base URL is configurable (default: https://om.stemconnect.net)
Support
For issues and questions:
- Check the STEM Connect API documentation: https://om.stemconnect.net/api/
- Review the n8n documentation for node development
- Open an issue in this repository
License
MIT License - see LICENSE file for details.
Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
Changelog
1.0.0
- Initial release
- TOCs node with full CRUD operations
- ISPs node with management capabilities
- Devices node with comprehensive device management
- Circuits node with circuit provisioning and TOC generation
