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 various operations on different resources. Specifically, for the Tenant Audit resource with the Delete operation, it deletes a Tenant Audit record identified by a unique ID.
Common scenarios where this node is beneficial include automating the management of tenant audit records in TeleFlow, such as cleaning up old or irrelevant audit entries programmatically without manual intervention.
Practical example: Automatically deleting tenant audit logs older than a certain date as part of a scheduled workflow to maintain data hygiene.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the Tenant Audit record 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 Tenant Audit record. Typically, this will be an object indicating success or failure of the deletion operation.
No binary data output is produced by this operation.
Example output structure:
{
"success": true,
"message": "Tenant Audit record deleted successfully"
}
or, in case of error:
{
"error": "Error message describing what went wrong"
}
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 Request Failures: Network issues, invalid credentials, or insufficient permissions can cause the HTTP DELETE request to fail. Verify API credentials and network connectivity.
- Continue On Fail Behavior: 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 Documentation on Creating Custom Nodes