TeleFlow icon

TeleFlow

Interact with TeleFlow API

Overview

This node interacts with the TeleFlow API to perform various operations on multiple resource types, including LCR (Least Cost Routing). Specifically, for the LCR Delete operation, it deletes an existing LCR resource identified by its unique ID. This is useful in scenarios where you need to programmatically remove outdated or incorrect routing configurations from your telephony system.

Practical examples include:

  • Automating cleanup of obsolete LCR entries.
  • Integrating with workflows that manage telephony routing dynamically.
  • Removing test or temporary LCRs after validation.

Properties

Name Meaning
ID The unique identifier of the LCR resource to delete. This is required to specify which LCR to remove.
Fields Optional field-value pairs to include in the request for more specific queries (not typically 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 LCR resource. Typically, this will be a confirmation of deletion or an error message if the deletion failed.

Example output structure:

{
  "success": true,
  "message": "LCR deleted successfully"
}

or, in case of failure:

{
  "error": "Resource not found"
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the TeleFlow API.
  • The base URL for the TeleFlow API must be configured in the node credentials.
  • The node uses HTTP requests to communicate with the TeleFlow REST API endpoints.

Troubleshooting

  • Missing ID Error: If the "ID" property is not provided, the node throws an error stating that the ID is required for the delete operation. Ensure the ID is correctly set.
  • API Authentication Errors: If the API key or base URL is misconfigured, the node will fail to authenticate. Verify credentials and endpoint settings.
  • Resource Not Found: Attempting to delete a non-existent LCR ID will result in an error from the API. Confirm the ID exists before deletion.
  • Network Issues: Connectivity problems can cause request failures. Check network access to the TeleFlow API server.

Links and References

Discussion