Disconnect
Terminates an existing connection to the OpenAI API service.
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.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Connection Id - The unique identifier of the connection to be terminated.
Options
This node does not have any options.
Output
This node does not have any output variables.
How It Works
The Disconnect node terminates an existing connection to the OpenAI API service. When executed, the node:
- Validates the provided connection identifier
- Terminates the connection to the OpenAI service
- Cleans up any resources associated with the connection
Requirements
- A valid connection identifier from a previous Connect node
Error Handling
The node will return specific errors in the following cases:
- Empty or invalid Connection Id
- Connection already terminated or invalid
Usage Notes
- Always use the connection ID returned by the Connect node
- This node is typically used at the end of workflows to clean up connections
- If not explicitly disconnected, connections will be automatically cleaned up when the workflow completes