Google Drive Manage

Provides integration with the Google Drive API, enabling operations such as listing files, creating folders, managing permissions, and more within your Google Drive account.

Revision History

1.0.0.0 Initial Release

Properties

Connection

Type: Connection Input
The connection profile for your Google Drive account and authentication details.

FileSizeLimitMB
Type: Integer
Maximum allowed file size for uploads in megabytes. Files exceeding this size will be rejected.

IncludeSharedDrives
Type: Boolean
Whether to include shared drives in file operations.

ClientId
Type: String
The Client ID from your Google Cloud OAuth credentials.

ClientSecret
Type: Password
The Client Secret from your Google Cloud OAuth credentials.

AccessToken
Type: Password
The OAuth access token generated when connecting your account to Google Drive.

RefreshToken
Type: Password
The OAuth refresh token generated when connecting your account to Google Drive. This is used to automatically refresh the AccessToken when it expires.

Operation

Type: String Input
The operation to perform, such as "List", "Get", "Delete", "CreateFolder", "Move", or "ManagePermissions".

Response

Type: JSON Output
The JSON response returned by the Google Drive API after the operation completes.

Setup

To use this node, follow these steps:

  1. Create a Google Cloud Project
  • Go to the Google Cloud Console.
  • Create a new project or select an existing one.
  • Enable the Google Drive API in the API Library.
  1. Create OAuth 2.0 Credentials
  • In the Cloud Console, navigate to APIs & Services > Credentials.
  • Click Create Credentials > OAuth client ID.
  • Choose Web Application as the Application Type.
  • Enter a name for your OAuth client.
  • Under Authorized redirect URIs, add your platform’s OAuth redirect URI.
  • See OAuth Setup for details on your platform’s redirect URI.
  • Save and note the Client ID and Client Secret.
  1. Configure the Node Connection
  • Enter the ClientId and ClientSecret from step 2.
  • Set IncludeSharedDrives to true if you want to include shared drives in operations.
  • Optionally set FileSizeLimitMB to limit upload sizes.

Use the Node

  • Choose a sample operation from the available samples list.
  • The sample will automatically populate the Operation and display any additional required fields.
  • Modify any sample parameters as needed before invoking the node.

Manage Permissions Syntax

When using the ManagePermissions operation, permissions must be provided as a JSON string representing a list of permission objects.

Each permission object can contain the following properties:

Property Type Description
type string The type of grantee. Common values: "user", "group", "domain", "anyone".
role string The permission role. Typical roles include "owner", "organizer", "fileOrganizer", "writer", "commenter", "reader".
emailAddress string? Email address of the user or group (required if type is "user" or "group").
domain string? The domain to which the permission applies (required if type is "domain").
allowFileDiscovery boolean? Indicates whether the file is discoverable by search within the domain or public (only valid if type is "domain" or "anyone").

Example JSON

[
{
"type": "user",
"role": "reader",
"emailAddress": "user@example.com"
},
{
"type": "domain",
"role": "writer",
"domain": "example.com",
"allowFileDiscovery": false
}
]

The node will replace all existing permissions (except owners) with the provided list.

Remarks

  • File uploads exceeding the configured size limit will be rejected.
  • Operations may require specific permissions granted in the connected Google account.
  • API rate limits and quota apply as per Google Drive API policies.

Related Nodes

See Also