TeleFlow icon

TeleFlow

Interact with TeleFlow API

Overview

This node interacts with the TeleFlow API to manage various resources, including "Voice". Specifically, the Delete operation for the Voice resource allows users to remove a voice-related entity by its unique identifier. This is useful in scenarios where you need to programmatically clean up or manage voice records, such as deleting outdated voice configurations or removing voice entries that are no longer needed.

Practical example:

  • Automatically delete a voice record when a related user account is deactivated.
  • Clean up voice data after processing or archiving it elsewhere.

Properties

Name Meaning
ID The unique identifier of the voice resource to delete. Required for the delete operation.
Fields Optional field-value pairs to include in the request for more specific queries (not typically used in delete).

Output

The output JSON contains the response from the TeleFlow API after attempting to delete the specified voice resource. Typically, this will be an object indicating success or failure of the deletion operation. No binary data is output by this node.

Example output structure:

{
  "success": true,
  "message": "Voice resource deleted successfully"
}

or, in case of error:

{
  "error": "Error message describing what went wrong"
}

Dependencies

  • Requires an API key credential for authenticating with the TeleFlow API.
  • The base URL for the TeleFlow API must be configured in the node credentials.
  • The node uses HTTP requests to communicate with the TeleFlow REST endpoints.

Troubleshooting

  • Missing ID Error: If the "ID" property is not provided for the delete operation, the node throws an error stating that the ID is required. Ensure you provide a valid ID.
  • API Authentication Errors: If the API key or base URL is incorrect or missing, the node will fail to authenticate. Verify your credentials and configuration.
  • Resource Not Found: If the ID does not correspond to an existing voice resource, the API may return a 404 error. Confirm the ID is correct.
  • Network Issues: Connectivity problems can cause request failures. Check network access to the TeleFlow API endpoint.

Links and References

Discussion