ElevenLabs icon

ElevenLabs

WIP

Overview

The Delete Voice operation in the ElevenLabs n8n node allows users to delete a specific voice from their ElevenLabs account. This is useful for managing and cleaning up custom or unused voices, especially when working with text-to-speech applications or automations that require dynamic voice management.

Common scenarios:

  • Removing obsolete or test voices from your ElevenLabs account.
  • Automating voice management as part of a larger workflow (e.g., after generating and using a temporary voice).
  • Keeping your voice list organized by deleting voices no longer needed.

Practical example:
You have an automation that creates temporary voices for personalized messages. After sending the message, you use this node to automatically delete the temporary voice.


Properties

Display Name Type Meaning
Notice notice Informational message about the node's beta status, support links, and latest updates.
Voice ID resourceLocator The unique identifier of the voice you want to delete. You can select from a list or enter the ID manually.

Details:

  • Voice ID is required.
    • You can choose a voice from a searchable list or enter its ID directly.

Output

  • The output will be a JSON object indicating the result of the delete operation.
  • Typical fields may include:
    • success (boolean): Whether the deletion was successful.
    • message (string): Additional information or error message if applicable.

Example output:

{
  "success": true,
  "message": "Voice deleted successfully."
}
  • If the operation fails, the output may contain an error message.

Dependencies

  • External Service: Requires access to the ElevenLabs API.
  • API Key: You must configure the elevenLabsApi credentials in n8n.
  • n8n Configuration: No additional environment variables are required beyond the API key setup.

Troubleshooting

Common issues:

  • Invalid Voice ID: If the provided Voice ID does not exist, the node will return an error message indicating the voice could not be found.
  • Missing Credentials: If the ElevenLabs API credentials are not set up, the node will fail to authenticate.
  • Insufficient Permissions: If your API key does not have permission to delete voices, the operation will fail.

Error messages and resolutions:

  • "Voice not found": Double-check the Voice ID. Use the list option to ensure you select a valid voice.
  • "Authentication failed": Ensure your ElevenLabs API credentials are correctly configured in n8n.
  • "Permission denied": Verify your API key has the necessary permissions in your ElevenLabs account.

Links and References

Discussion