- Documentation
Google Drive integration
Upload, search, copy, and react to new files across a client's Google Drive.
What it does
The Google Drive integration lets your agency move files in and out of a client's Drive and start workflows whenever new files land. Connect a client's Google account once and your workflows can upload an attachment from a form submission, search Drive for files matching a query, copy a template into a client folder, download a file's bytes into a downstream step, delete stale files on a schedule, or kick off a workflow the moment a new file appears in a watched folder.
Connect a Google Drive account
- Open your workspace in TaskJuice and navigate to Connections.
- Choose Google Drive and click Connect.
- Sign in with the Google account whose Drive files you want to manage on behalf of your client.
- Grant the requested scopes (full read and write access to Drive so TaskJuice can upload, copy, download, and delete files).
- TaskJuice returns you to the workspace with the connection ready to use in any workflow.
To revoke access at any time, visit Google Account permissions and remove the TaskJuice entry.
Triggers
google-drive/new-filepolls Drive on a configurable interval and emits one activation per cycle containing every file observed since the last cycle. Filter by an optional Drive search query, a folder ID, or include trashed files. Drop a Loop node downstream to process each file individually, or feed the array straight into a digest.
Actions
google-drive/create-drive-filecreates a new file with metadata only (name, MIME type, optional parent folders), useful for placeholder records or for materializing a Google Doc or Sheet to be filled in later.google-drive/upload-fileuploads a file's bytes (from a previous step'sFileReferenceor a file-upload field) with metadata in a single multipart request.google-drive/list-filessearches Drive with the standardqquery syntax, with paging, field selection, and order controls.google-drive/get-fileretrieves the metadata for a single file by its Drive ID.google-drive/download-filedownloads the file's bytes and returns aFileReferencethat downstream steps can attach to outbound emails, forward to other apps, or persist.google-drive/copy-filecreates a copy of an existing file, optionally renaming it and placing it in a different folder.google-drive/delete-filepermanently deletes a file by its Drive ID.
Known limitations
- The
new-filetrigger is polling-based. Google Drive's push-notification surface requires a registered webhook callback per watched resource and expires every few days, so TaskJuice runs a polling cycle (60 seconds minimum, five minutes by default) and emits files observed since the last watermark. Latency is bounded by the chosen interval rather than instant. - The Drive API enforces per-user and per-project quotas. When a 429 is returned, TaskJuice surfaces it as a retryable rate-limit error and respects the recommended backoff.
- Selectable files in the resource picker are loaded with the configured
fieldsprojection (files(id,name,mimeType)). Files the connected user cannot see in Drive will not appear in the picker. - Google Workspace native files (Docs, Sheets, Slides) cannot be downloaded with
download-filedirectly. Use the standard Drive export workflow upstream or fetch them through the relevant Workspace integration.
Was this helpful?