Google Drive Read

Provides integration with the Google Drive API, enabling the download of files from your Google Drive account for use within your workflows.

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.

FileId
Type: String Input
The ID of the file to download from Google Drive.

File
Type: Binary Output
The binary contents of the downloaded file.

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.

Use the Node

  • Set the FileId input to the ID of the file you wish to download.
  • The file content will be available in the File output property as a byte array.

Remarks

  • Large files may take longer to download and could be subject to API rate limits.
  • Ensure the connected Google account has sufficient permissions to access the file.
  • The FileId is mandatory; omitting it will cause an error.

Related Nodes

See Also