STEM Connect icon

STEM Connect

Manage telecommunications operations with STEM Connect API

Actions30

End Customer → Add

AI-generated

Overview

This node integrates with the STEM Connect API to manage telecommunications operations across various subsystems and resources. Specifically, for the End Customer resource with the Add operation, the node is designed to add a new end customer record to the system.

However, the implementation for adding an end customer requires comprehensive form data handling and is not fully implemented in this version of the node. Instead, it returns a placeholder message indicating that detailed form data input is necessary.

Common scenarios where this node is beneficial:

  • Automating the management of telecom-related entities such as customers, devices, circuits, ISPs, and more.
  • Integrating STEM Connect API operations into workflows for provisioning, updating, or retrieving telecom data.
  • Managing end customer records programmatically within n8n workflows.

Practical example:

  • A workflow that adds new end customers automatically when a signup form is submitted, provided the form data is properly mapped and handled (requires further implementation).
  • Retrieving lists of end customers or other resources for reporting or synchronization purposes.

Properties

Name Meaning
Subsystem Selects the subsystem of the STEM Connect API to use. Options: Main, Portal, API

For the End Customer - Add operation specifically, no additional input properties are defined in the current implementation because the add operation requires complex form data input which is not yet implemented.


Output

  • The output JSON contains the response from the STEM Connect API.
  • For the Add End Customer operation, since the actual API call is not implemented, the output will be a JSON object with a message indicating that comprehensive form data implementation is required:
{
  "message": "End customer add requires comprehensive form data implementation"
}
  • In general, for other operations, the node outputs an array of JSON objects representing the API response data items.
  • No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the STEM Connect API.
  • The node uses an internal helper function (stemConnectApiRequest) to make HTTP requests to the STEM Connect API endpoints.
  • No additional external dependencies beyond the configured API credentials and network access to the STEM Connect API.

Troubleshooting

  • Issue: Attempting to add an end customer results in only a message about needing comprehensive form data.

    • Cause: The node does not currently implement the full form data submission required by the API for adding end customers.
    • Resolution: Implement custom form data handling in the node or via additional workflow steps to construct the required payload before calling the API.
  • Issue: API request failures due to authentication errors.

    • Cause: Missing or invalid API key credential.
    • Resolution: Ensure the API key credential is correctly configured in n8n and associated with the node.
  • Issue: Unexpected empty or malformed responses.

    • Cause: Incorrect parameters or unsupported operations.
    • Resolution: Verify that the selected resource and operation are supported and that all required parameters are provided.

Links and References


Note: This summary is based solely on static analysis of the provided source code and property definitions without runtime execution.

Discussion