Skip to content

Google Drive

Reference5 minPractitionerAdd-on · Integration hub

Use Google Drive through a saved Integration hub connection. The catalog includes 11 actions, listed below.

Use Google Drive through a saved Integration hub connection. The catalog includes 11 actions, listed below.

Files and data

Google Drive

Authentication: OAuth 2.0 (authorize the provider or enter the details requested by the connection form)

Actions

ActionDescription
Copy file
copy_file
Copies a Drive file (e.g. a Doc or Sheet template) to a new file, optionally into another folder.
Create folder
create_folder
Creates a folder in Google Drive, optionally inside a parent folder.
Create google file
create_google_file
Creates an empty native Google Doc, Sheet or Slides file in Drive.
Delete file
delete_file
Deletes a file permanently from Google Drive.
Get account info
get_account_info
Returns the connected Google account and its Drive storage quota.
Get file metadata
get_file_metadata
Retrieves metadata for a specific Google Drive file.
List files
list_files
Searches and lists files and folders in Google Drive with Drive query syntax and pagination.
Share file
share_file
Shares a Drive file or folder with a user, group, domain or anyone with the link.
Trash file
trash_file
Moves a Drive file to the trash or restores it.
Update file
update_file
Renames, describes, stars or moves a Drive file or folder (partial update).
Upload file
upload_file
Uploads a new file to the user’s Google Drive using multipart upload.

Open Integration hub, choose Google Drive, and create a named connection. If the connection opens the provider’s consent page, sign in and authorize access. If it opens a connection form, fill the requested OAuth details and save. The provider configuration determines which route is used.

For the shared connection process, follow Connect an app.

Add an Integration step. Choose the app, saved connection and action, then map the action inputs from your record or workflow data.

The action list comes from the integration catalog. The connection form supplies the provider-specific input fields.