TeleFlow icon

TeleFlow

Interact with TeleFlow API

Overview

This node interacts with the TeleFlow API to manage various resources, including Tariff Codes. Specifically, the Delete operation for the Tariff Code resource allows users to remove a tariff code entry by its unique identifier. This is useful in scenarios where obsolete or incorrect tariff codes need to be cleaned up from the system to maintain accurate billing and routing configurations.

Practical examples:

  • Removing a deprecated tariff code that is no longer valid.
  • Cleaning up test or temporary tariff codes created during development or troubleshooting.
  • Automating the deletion of tariff codes based on external triggers or workflows.

Properties

Name Meaning
ID The unique identifier of the Tariff Code resource to delete. This is required.
Fields Optional field-value pairs to include in the request for more specific queries (not used in Delete but available for other operations).

Output

The output JSON contains the response from the TeleFlow API after attempting to delete the specified Tariff Code. Typically, this will confirm whether the deletion was successful or provide error details if it failed.

No binary data output is produced by this operation.

Example output structure:

{
  "success": true,
  "message": "Tariff Code deleted successfully"
}

or in case of failure:

{
  "error": "Tariff Code not found"
}

Dependencies

  • Requires an active connection to the TeleFlow API via an API key credential configured in n8n.
  • The base URL for the TeleFlow API must be set in the node credentials.
  • The node uses HTTP methods (DELETE) to communicate with the TeleFlow REST endpoints.

Troubleshooting

  • Missing ID Error: If the "ID" property is not provided, the node throws an error stating that the ID is required. Ensure you supply a valid Tariff Code ID.
  • API Connectivity Issues: Network problems or incorrect API credentials can cause failures. Verify your API key and base URL configuration.
  • Resource Not Found: Attempting to delete a non-existent Tariff Code will result in an error from the API. Confirm the ID exists before deletion.
  • Permission Denied: Insufficient permissions on the API key may prevent deletion. Check user roles and API access rights.

Links and References

Discussion