STEM Connect icon

STEM Connect

Manage telecommunications operations with STEM Connect API

Actions30

End Customer → Update

AI-generated

Overview

This node integrates with the STEM Connect API to manage telecommunications-related data and operations. Specifically, for the End Customer - Update operation, it is designed to update information about an existing end customer in the STEM Connect system.

In practical scenarios, this node is useful when you need to programmatically modify details of an end customer, such as updating contact information, billing preferences, or other customer-specific attributes maintained by STEM Connect. However, the current implementation indicates that the "Update" operation for End Customer requires a comprehensive form data implementation and thus returns a placeholder message rather than performing an actual update.

Example use cases:

  • Automating updates to customer records after receiving new data from external systems.
  • Integrating customer management workflows within n8n automation pipelines.
  • Synchronizing customer data between STEM Connect and other CRM or billing platforms.

Properties

Name Meaning
Subsystem Selects which subsystem's API endpoints to use. Options: Main, Portal, API

The provided input property JSON defines only the "Subsystem" option, which lets users choose among three API endpoint groups:

  • Main: Main application API endpoints
  • Portal: Portal subsystem API endpoints
  • API: Direct API subsystem endpoints

For the End Customer - Update operation specifically, no additional input properties are defined in the source code, and the operation currently does not accept detailed update fields.

Output

The output is an array of JSON objects representing the response from the STEM Connect API calls.

  • For the End Customer - Update operation, the node currently outputs a JSON object with a message indicating that the update requires comprehensive form data implementation:
{
  "message": "End customer update requires comprehensive form data implementation"
}
  • For other operations and resources, the node typically returns the parsed JSON response from the API, often as an array of items extracted from various possible response structures (data, results, items, records, or list).

  • The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating requests to the STEM Connect API.
  • Uses internal helper function stemConnectApiRequest to perform HTTP requests to the STEM Connect endpoints.
  • No additional external dependencies beyond the configured STEM Connect API credentials.

Troubleshooting

  • Common Issue: Attempting to use the "Update" operation for End Customer will not perform any real update because the implementation is incomplete.

    • Error Message: The node returns a JSON message stating the update requires comprehensive form data implementation.
    • Resolution: Implement the required form data handling in the node or use alternative methods to update end customer data until this feature is supported.
  • API Errors: If the API request fails (e.g., due to invalid credentials, network issues, or incorrect parameters), the node will throw an error unless "Continue On Fail" is enabled, in which case it outputs an error message in the JSON.

  • Pagination Parameters: For "get" operations, ensure correct usage of offset and limit parameters to avoid missing or overwhelming data.

Links and References


Note: The node's current implementation for updating an End Customer is a placeholder and requires further development to handle the necessary form data and API interaction.

Discussion