Skip to main content

Disconnect

Disconnects from a Google Drive service, releasing the connection resources.

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

  • Drive Id - The identifier for the connected Google Drive service obtained from the Connect node.

How It Works

The Disconnect node releases the connection to a Google Drive service, freeing up resources. When executed, the node:

  1. Validates the required input (Drive Id)
  2. Removes the stored Google Drive service client associated with the provided Drive Id
  3. Cleans up any resources associated with the connection

Requirements

  • A valid Google Drive connection established using the Connect node
  • The Drive Id obtained from the Connect node

Error Handling

The node will return specific errors in the following cases:

  • Empty or invalid Drive Id
  • Attempting to disconnect a Drive Id that doesn't exist or has already been disconnected

Usage Notes

  • This node should be used at the end of workflows that use Google Drive operations
  • It's a good practice to disconnect when you're finished with Google Drive operations to free up resources
  • After disconnecting, the Drive Id becomes invalid and cannot be used for further Google Drive operations
  • The node does not return any output as it simply removes the connection