Google Drive Module
  • 26 Oct 2021
  • 2 Minutes to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Google Drive Module

  • Dark
    Light

Article summary

Overview

The Google Drive module allows users to manage files and folders on a Google Drive with pre-built Flow steps.

To learn more about the Google Drive API, visit https://developers.google.com/drive/api/v3/about-sdk


Prerequisites:

Google Drive Steps

The Google Drive steps can be found in the Toolbox panel under INTEGRATION > GOOGLE DRIVE.

Create Folder Step

The Create Folder step allows a user to create a Folder on Google Drive.

Input ParameterDescription
CredentialSets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account
New Folder NameFolder name 
Parent Folder IdId of the Folder the new folder will be under


Delete Resource Step

The Delete Resource step allows a user to remove a resource from Google Drive.

Input ParameterDescription
CredentialSets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account
File Or Folder IdId of the file or folder 

Does Resource Exist

The Does Resource Exist step will search Google Drive to determine if the specified file or folder exists.

Input ParameterDescription
CredentialSets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account
File Or Folder IdId of the file or folder

Download File

The Download File step allows a user to download a file from Google Drive to a full local file path.

Input ParameterDescription
CredentialSets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account
File IdId of the file
Local File PathFile storage location



Get File List

The Get File List step allows a user to get a list of files from a Google Drive folder.

Input ParameterDescription
Credential Sets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account
Parent Folder IdId of the Folder the new folder will be under


Get Folder List

The Get Folder List step allows a user to get a list of folders from Google Drive.

Input ParametersDescription
CredentialSets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account
Parent Folder IdId of the Folder the new folder will be under


Get Resource Permission

The Get Resource Permission will return the permission parameters of a resource in Google Drive.

Input ParameterDescription
CredentialSets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account
File or Folder IdId of the file or folder


Set Resource Permission

The Set Resource Permission step allows a user to set the permission type and role on resources created in Google Drive.

Input ParameterDescription
CredentialSets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account
File or Folder IdId of the file or folder
PermissionSets the permission type and role of the defined user



Upload File

The Upload File step allows a user to upload a specified file from a local file path to a Google Drive folder.

Input ParameterDescription
CredentialSets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account
Local File PathFile storage location
Parent Folder IdId of the Folder the new folder will be under






Was this article helpful?