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 perform various operations on multiple resource types, including Device Templates. Specifically, for the Device Template resource, it supports deleting a device template by its unique identifier.
A common use case for this node is automating the management of telephony infrastructure resources within workflows. For example, you might want to delete obsolete or unused device templates programmatically as part of a cleanup process or when decommissioning devices.
Practical example:
- Automatically remove a device template after a device is retired or replaced, ensuring your system stays up-to-date without manual intervention.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the device template to delete. This is required to specify which device template to remove. |
| Fields | Optional field-value pairs to include in the request for more specific queries (not typically used for delete operation). |
Output
The output JSON contains the response from the TeleFlow API after attempting to delete the specified device template. 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": "Device template 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 API must be set in the credentials configuration.
- The node uses HTTP methods (DELETE) to communicate with the API endpoint.
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 device template ID.
- API Authentication Errors: If the API key or token is invalid or missing, requests will fail. Verify your credentials are correctly set up.
- Resource Not Found: If the specified device template ID does not exist, the API may return an error. Confirm the ID is correct and the resource exists.
- Network Issues: Connectivity problems can cause request failures. Check network access to the TeleFlow API endpoint.
- Continue On Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output JSON.
Links and References
- TeleFlow API Documentation (Replace with actual URL)
- n8n HTTP Request Node documentation: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/
- General n8n credential setup guide: https://docs.n8n.io/credentials/overview/