Actions145
- User Actions
- Voice Actions
- File Actions
- Flow Actions
- Reseller Actions
- SIP Trunk Actions
- Transcription Actions
- Voice Mail Message Actions
- 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
- Flow Template Actions
- LCR Actions
- Mobile SIM Actions
- Number Port Actions
- Phone Number Actions
- Provision Actions
- Report Actions
- Tariff Actions
- Tariff Code Actions
- Tariff Profile Actions
- Tenant Actions
- Tenant Audit Actions
Overview
This node interacts with the TeleFlow API to perform CRUD (Create, Read, Update, Delete) operations on various resources, including Tariff Profiles. Specifically, for the Delete operation on a Tariff Profile, it deletes a tariff profile resource identified by its unique ID.
Common scenarios where this node is beneficial include automating the management of telephony-related configurations such as tariff profiles, accounts, devices, and phone numbers within the TeleFlow system. For example, you might use this node to programmatically remove obsolete or incorrect tariff profiles as part of a cleanup workflow.
Practical example:
- Automatically delete a tariff profile when it is no longer needed or after migrating data to another system.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the Tariff Profile resource to delete. This is required. |
| Fields | Optional field-value pairs to include in the request for more specific queries (not used in Delete operation). |
Output
The output JSON contains the response from the TeleFlow API after attempting to delete the specified Tariff Profile. Typically, this will be an object indicating success or failure of the deletion operation. The exact structure depends on the API's response but generally confirms whether the resource was deleted.
No binary data output is produced by this operation.
Example output JSON might look like:
{
"success": true,
"message": "Tariff Profile deleted successfully"
}
or in case of error:
{
"error": "Resource not found"
}
Dependencies
- Requires an active connection to the TeleFlow API.
- Needs an API authentication token or key 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., resource not found, permission denied), the node will throw an error unless "Continue On Fail" is enabled, in which case the error message is returned in the output JSON.
- Network Issues: Connectivity problems to the TeleFlow API endpoint can cause request failures. Verify network access and correct base URL configuration.
- Permission Issues: Ensure the API key or token has sufficient permissions to delete tariff profiles.
Links and References
- TeleFlow API Documentation (Replace with actual URL if available)
- n8n Documentation on HTTP Request Node (for understanding underlying HTTP calls)