TeleFlow icon

TeleFlow

Interact with TeleFlow API

Overview

This node integrates with the TeleFlow API to perform various operations on different resources, including LCR (Least Cost Routing). Specifically for the LCR Create operation, it allows users to create a new LCR entry by sending specified fields to the TeleFlow API. This is useful in telecom environments where managing routing rules for calls based on cost or other criteria is necessary.

Practical examples include:

  • Automating the creation of new LCR entries when provisioning new routes.
  • Integrating with other systems to dynamically update routing configurations.
  • Managing telecom infrastructure programmatically without manual API calls.

Properties

Name Meaning
Fields A collection of field-value pairs to include in the request body when creating the LCR. You can add multiple fields specifying the exact data to send to the API for the new LCR entry.

The "Fields" property supports multiple entries, each consisting of:

  • Name: The name of the field to set in the LCR creation request.
  • Value: The corresponding value for that field.

Output

The node outputs an array of JSON objects, each representing the response from the TeleFlow API for the create operation. The JSON structure corresponds directly to the API's response for the newly created LCR resource, typically including details such as the ID and properties of the created LCR entry.

No binary data output is produced by this node.

Dependencies

  • Requires an active connection to the TeleFlow API.
  • Needs an API authentication credential configured in n8n (an API key or token).
  • The base URL for the TeleFlow API must be set in the credentials configuration.

Troubleshooting

  • Missing Required Fields: If required fields for creating an LCR are not provided, the API may return errors. Ensure all mandatory fields are included in the "Fields" property.
  • API Authentication Errors: Invalid or missing API credentials will cause authentication failures. Verify the API key/token and base URL in the credentials.
  • ID Requirement Errors: Although not applicable for create, other operations require an ID parameter; ensure you provide it when using get, update, or delete operations.
  • HTTP Request Failures: Network issues or incorrect endpoint URLs can cause request failures. Check connectivity and correct resource naming ("lcr" pluralized as "lcrs" in the URL).

Common error message example:

  • "ID is required for get operation" — occurs if trying to get an LCR without specifying its ID.
  • "Error: <message>" — generic error logged; check the message for specifics.

Links and References


Note: The above summary is based solely on static analysis of the provided source code and input property definitions.

Discussion