TeleFlow icon

TeleFlow

Interact with TeleFlow API

Overview

This node interacts with the TeleFlow API to manage various telephony-related resources, including SIP Trunks. Specifically, the Delete operation for the SIP Trunk resource allows users to remove a SIP Trunk from their TeleFlow account by specifying its unique identifier.

Common scenarios where this node is beneficial include:

  • Automating cleanup of unused or obsolete SIP Trunks in bulk.
  • Integrating TeleFlow SIP Trunk management into larger workflows, such as provisioning or decommissioning telephony infrastructure.
  • Ensuring synchronization between TeleFlow and other systems by programmatically deleting SIP Trunks when they are no longer needed.

Example use case: A telecom administrator wants to automatically delete SIP Trunks that have been marked inactive in an external system. This node can be used within an n8n workflow to delete those trunks by ID.

Properties

Name Meaning
ID The unique identifier of the SIP Trunk to delete. This is required to specify which trunk to remove.
Fields Optional field-value pairs to include in the request for more specific queries (not typically used in delete operations).

Output

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

No binary data output is produced by this operation.

Example output structure:

{
  "success": true,
  "message": "SIP Trunk deleted successfully"
}

or, in case of error:

{
  "error": "Resource not found"
}

Dependencies

  • Requires an active connection to the TeleFlow API via an API key credential configured in n8n.
  • The node uses HTTP requests to communicate with the TeleFlow API endpoint defined by the user's credentials.
  • No additional external dependencies beyond the TeleFlow API and proper authentication.

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 SIP Trunk ID.
  • API Authentication Errors: If the API key or base URL is incorrect or missing, requests will fail. Verify your TeleFlow API credentials in n8n.
  • Resource Not Found: Attempting to delete a non-existent SIP Trunk ID will result in an error. Confirm the ID exists before deletion.
  • Network Issues: Connectivity problems may cause timeouts or failures. Check network access to the TeleFlow API endpoint.
  • Continue on Fail: If enabled, the node will continue processing subsequent items even if one deletion fails, returning error details in the output JSON.

Links and References

Discussion