Actions145
- Account Actions
- Account Audit Actions
- Billing Entry Actions
- Call Detail Record Actions
- Carrier Actions
- Device Actions
- Device Template Actions
- Email Template Actions
- Feature Code Actions
- File Actions
- Flow Actions
- Flow Template Actions
- LCR Actions
- Mobile SIM Actions
- Number Port Actions
- Phone Number Actions
- Provision Actions
- Report Actions
- Reseller Actions
- SIP Trunk Actions
- Tariff Actions
- Tariff Code Actions
- Tariff Profile Actions
- Tenant Actions
- Tenant Audit Actions
- Transcription Actions
- User Actions
- Voice Actions
- Voice Mail Message Actions
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 example: If a tariff code is no longer valid or was created by mistake, you can use this node operation to delete it by specifying its ID, ensuring your telephony system only uses current and correct tariff codes.
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 be an object indicating success or failure of the deletion.
- No binary data is output by this node.
Example output JSON might look like:
{
"success": true,
"message": "Tariff Code deleted successfully"
}
or in case of error:
{
"error": "Tariff Code not found"
}
Dependencies
- Requires an active connection to the TeleFlow API.
- Needs an API authentication token configured in the node credentials.
- The base URL for the TeleFlow API must be set in the credentials configuration.
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 you provide a valid ID.
- API Errors: If the API returns an error (e.g., tariff code not found, permission denied), the node will throw an error unless "Continue On Fail" is enabled, in which case the error message will be included in the output JSON.
- Network Issues: Connectivity problems with the TeleFlow API will cause request failures. Verify network access and API endpoint correctness.
- Permission Issues: Ensure the API key used has sufficient permissions to delete tariff codes.
Links and References
- TeleFlow API Documentation (Replace with actual URL if available)
- n8n Documentation on Creating Custom Nodes