Disconnect
Closes an existing ElevenLabs AI connection and releases resources. Use this node to properly clean up after completing your ElevenLabs operations.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
Inputs
- Connection Id (String) - The connection ID returned by the Connect node. This identifies which connection to close.
Options
This node does not have options.
Outputs
This node does not have outputs.
How It Works
The Disconnect node properly closes an ElevenLabs AI connection. When executed, the node:
- Retrieves the connection ID
- Locates the stored ElevenLabs client
- Removes the client from internal storage
- Releases any associated resources
Requirements
- Valid connection ID from a Connect node
Error Handling
The node will return an error in the following case:
- Missing connection ID - "Connection ID cannot be empty. Please provide the connection ID from the Connect node."
Usage Notes
- Use this node at the end of your ElevenLabs workflow to clean up resources
- The connection ID should come from a Connect node earlier in your flow
- After disconnecting, the connection ID can no longer be used
- If you need to perform more operations, create a new connection
- It's good practice to always disconnect when you're done with ElevenLabs operations
- Consider using error handling to ensure disconnect runs even if earlier nodes fail
Example Use Cases
- Cleaning up after batch processing multiple audio files
- Ending a voice cloning session
- Releasing resources after generating speech from text