Google Drive is a cloud-based storage service that enables users to store and access files online. The service syncs stored documents, photos and more across all the user's devices, including mobile devices, tablets and PCs.

Changelog

25 versions
v2.4.1 Latest
  • NewFileOrFolder, UpdatedFileOrFolder, DeletedFileOrFolder: fixed a lock livelock which could produce a storm of 'Exceeded 30 attempts to lock the resource' errors and receive timeouts when a large change backlog was being processed.
  • NewFileOrFolder, UpdatedFileOrFolder, DeletedFileOrFolder: the change backlog is now processed in bounded batches with the page token persisted after every page, so a redelivered message resumes instead of restarting.
  • NewFileOrFolder, UpdatedFileOrFolder, DeletedFileOrFolder: webhook channel renewal from the trigger tick no longer retries a contended lock, holds the lock for the whole re-registration and no longer rewrites the stored page token; Google Drive API calls now have an HTTP timeout.
  • NewFileOrFolder, UpdatedFileOrFolder, DeletedFileOrFolder: with Recursive enabled, a file created under a subfolder that appeared in the same batch of changes was silently skipped; the subfolder list is now rebuilt and the batch re-checked before it is marked as processed.
  • NewFileOrFolder, UpdatedFileOrFolder, DeletedFileOrFolder: a freshly created file that Google Drive lists again in the change feed a few minutes later (same modifiedTime, higher version) was emitted a second time; the trigger now remembers the last 5000 processed files instead of the last three batches.
  • GetFileMetadata: fixed a missing typeof check which made the component fail with 'Missing required parameters: fileId' whenever the file ID was passed as a plain string (a variable) instead of being chosen in the Google Picker.
  • UpdateFileOrFolder: the file ID input is now declared required.
  • CopyFile, MoveFileOrFolder, DownloadFile, GetFileMetadata, DeleteFileOrFolder, CreateFileFromText, UpdateFileOrFolder, AddFileOrFolderPermission: a missing required input now fails with a clear 'is required' error instead of an opaque Google API error.
  • All components: realistic example values on every output port, so the designer variable picker shows previews.
  • FindFilesOrFolders: output item schema exported for tooling; the output port options source no longer requires authentication.
  • DeleteFileOrFolder: the declared googleDriveFileId output is now actually emitted (the component only ever sent fileId, so the designer variable resolved to nothing); fileId is still sent as well.
v2.4.0
  • Added MakeApiCall component for performing arbitrary authorized API calls to the Google Drive API.
v2.3.0
  • NewFileOrFolder, UpdatedFileOrFolder: added test() method for Flow Test Mode (read-only fetch of the newest matching file/folder). DeletedFileOrFolder has no read-only example source and is intentionally not testable this way.
v2.2.4
  • Fixed an issue with NewFileOrFolder trigger causing false negatives when processing changes in shared folders.
v2.2.3
  • Fixed an issue with triggers NewFileOrFolder, UpdatedFileOrFolder, and DeletedFileOrFolder which could result in errors when accessing file parents in some scenarios (e.g., read-only access and/or shared drives).
v2.2.2
  • UploadFile: fixed an issue with uploading files to shared drives.
v2.2.0
  • Added multiselect input normalization for improved compatibility.
  • FindFilesOrFolders: fileTypes field now accepts both array and comma-separated string inputs.
  • DeletedFileOrFolder, NewFileOrFolder, UpdatedFileOrFolder: fileTypesRestriction field now accepts both array and comma-separated string inputs.
v2.1.1
  • FindFilesOrFolders: added support for recursive search and ordering of returned items.
  • NewFileOrFolder, UpdatedFileOrFolder: added support for monitoring files/folders in a folder recursively.
  • DeletedFileOrFolder: new component to monitor deleted files or folders.
  • AddFileOrFolderPermission: fixed domain type permissions.
v2.0.1
  • Removed deprecated components: GetFile, ExportFile. Use DownloadFile instead. Removed ListFiles. Use FindFilesOrFolders instead.
  • Renamed FindFileOrFolder to FindFilesOrFolders.
  • Renamed NewFile to NewFileOrFolder.
  • Renamed UpdatedFile to UpdatedFileOrFolder.
  • Added new components: UpdatedFile, GetFileMetadata, CreateFileFromText, AddFileOrFolderPermission, CreateShortcut, UpdateFile.
  • Improved input fields UX of multiple components.
  • Improved labels and tooltips of all components.
  • Improved output variables of all components.
v1.4.7
  • CreateFolder, FindFileOrFolder, UploadFile: handle the filename or folder name containing special characters.
v1.4.6
  • Debug messages are turned off by default. Set the DEBUG configuration key in the Backoffice to true to see the messages (currently in the NewFile and in the MoveFileOrFolder components only).
v1.4.5
  • MoveFileOrFolder: fixes - prevent 'Increasing the number of parents is not allowed', added DEBUG info message - logging file metadata and request params. Set the DEBUG configuration key in the Backoffice to true to see the messages.
v1.4.4
  • NewFile: fixes, improvements. Added DEBUG info messages. Set the DEBUG configuration key in the Backoffice to true to see the messages.
v1.4.1
  • Fixed 'ListFiles' component outPort options.
v1.4.0
  • Fixed returning metadata in the GetFile component.
  • Added new component DownloadFile to retrieve the content of the file.
v1.3.7
  • Updated dependencies: moment.
v1.3.6
  • Fixed ListFiles output port schema.
v1.3.2
  • Fixed searching files in ListFiles component when using Custom search query.
v1.3.1
  • Fixed NewFile component detection of new files.
v1.3.0
  • Added support for filtering files in ListFiles component.
  • Added standard outport types for ListFiles component: item, items, file.
v1.2.1
  • Fixed missing scope for ListFiles component.
v1.2.0
  • Add Google branded sign-in button.
v1.1.0
  • New components.
v1.0.2
  • NewFile description changed.
v1.0.0
  • Initial version

Authentication

TypeDetails
OAuth 2
Authentication Hub Verified

This connector is globally authenticated and verified by Appmixer and is ready to use without registering your own OAuth application with the provider. Appmixer's Authentication Hub acts as an authentication proxy, so all OAuth-based connectors work out of the box. You can still use your own OAuth credentials (clientId and clientSecret) for enhanced customization or compliance — see the Connector Configuration section of the documentation. The Authentication Hub is enabled for all hosted Appmixer tenants; on self-managed installations it has to be explicitly set.

Scopes:
profile email

Triggers

3
Deleted File Or Folder icon

Deleted File Or Folder

Trigger every time a file or folder is deleted in your Google Drive. This does not download the file content. Use DownloadFile if you need the file content.
Additional Scopes:
...//www.googleapis.com/auth/drive.readonly
New File Or Folder icon

New File Or Folder

Trigger every time a new file or folder is added to your Google Drive. This does not download the file content. Use DownloadFile if you need the file content.
Additional Scopes:
...//www.googleapis.com/auth/drive.readonly
Updated File Or Folder icon

Updated File Or Folder

Trigger every time a file or folder is updated in your Google Drive. This does not download the file content. Use DownloadFile if you need the file content.
Additional Scopes:
...//www.googleapis.com/auth/drive.readonly

Actions

13
Copy File icon

Copy File

Copy a file within your Google Drive.
Additional Scopes:
https://www.googleapis.com/auth/drive ...//www.googleapis.com/auth/drive.readonly
Create File From Text icon

Create File From Text

Create a new file from text content and upload it to your Google Drive.
Additional Scopes:
https://www.googleapis.com/auth/drive ...//www.googleapis.com/auth/drive.readonly
Create Folder icon

Create Folder

Create a new folder in your drive.
Additional Scopes:
...tps://www.googleapis.com/auth/drive.file ...//www.googleapis.com/auth/drive.readonly
Add File Or Folder Permission icon

Add File Or Folder Permission

Add a permission to a file or folder in Google Drive.
Additional Scopes:
https://www.googleapis.com/auth/drive ...//www.googleapis.com/auth/drive.readonly
Create Shortcut icon

Create Shortcut

Create a shortcut to a file or folder.
Additional Scopes:
...tps://www.googleapis.com/auth/drive.file ...//www.googleapis.com/auth/drive.readonly
Delete File Or Folder icon

Delete File Or Folder

Delete a file or folder from your Google Drive.
Additional Scopes:
https://www.googleapis.com/auth/drive ...//www.googleapis.com/auth/drive.readonly
Download File icon

Download File

Download the content of the file from your Google Drive.
Additional Scopes:
...//www.googleapis.com/auth/drive.readonly
Find Files Or Folders icon

Find Files Or Folders

Find files or folders in your Google Drive.
Additional Scopes:
...//www.googleapis.com/auth/drive.readonly
Get File Metadata icon

Get File Metadata

Get Google Drive file metadata.
Additional Scopes:
...//www.googleapis.com/auth/drive.readonly
Make Api Call icon

Make Api Call

Generic method for making API calls to a 3rd party service.
Additional Scopes:
https://www.googleapis.com/auth/drive
Move File Or Folder icon

Move File Or Folder

Move a file or folder within your Google Drive.
Additional Scopes:
https://www.googleapis.com/auth/drive ...//www.googleapis.com/auth/drive.readonly
Update File Or Folder icon

Update File Or Folder

Update an existing file or folder.
Additional Scopes:
https://www.googleapis.com/auth/drive ...//www.googleapis.com/auth/drive.readonly
Upload File icon

Upload File

Upload file into drive.
Additional Scopes:
...tps://www.googleapis.com/auth/drive.file ...//www.googleapis.com/auth/drive.readonly