Drive
List, upload, download, share, and manage Google Drive files from a workflow using a Google connection.
Drive blocks sit in the builder palette under google/drive. They appear only when a Google connection has Google Drive enabled. Shared graph rules are on Workflows.
These steps talk to Drive on that connection. Downloaded files land in workspace Files, not as a replacement for Vettero storage.
A Drive folder uses the same id as a file. There are no separate rename or delete-folder blocks. After Create Folder or List Folders, pass that id into the file blocks: Get File, Update File (rename), Move File, Trash File, Share File, and List Permissions. Copy File copies the folder itself, not the files inside.
| Use | Block |
|---|---|
| Search or page files | List Files |
| Search or page folders | List Folders |
| Metadata for one id (file or folder) | Get File |
| New folder | Create Folder |
| Send a workspace file to Drive | Upload File |
| Pull a Drive file into workspace Files | Download File |
| Duplicate a file (or a folder without its contents) | Copy File |
| Change parent folder (file or folder) | Move File |
| Rename, description, star (file or folder) | Update File |
| Trash or delete (file or folder) | Trash File |
| Grant access | Share File |
| Who has access | List Permissions |
Store a Drive file id on a Drive File column. Use Drive Changed when files should start a flow.
12