---
title: "Drive"
description: "List, upload, download, share, and manage Google Drive files from a workflow using a Google connection."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/drive"
---
# 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](https://docs.vettero.com/integrations/third-party-services/google) connection has **Google Drive** enabled. Shared graph rules are on [Workflows](https://docs.vettero.com/build/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](https://docs.vettero.com/build/workflows/blocks/drive/create-folder) or [List Folders](https://docs.vettero.com/build/workflows/blocks/drive/list-folders), pass that id into the file blocks: [Get File](https://docs.vettero.com/build/workflows/blocks/drive/get-file), [Update File](https://docs.vettero.com/build/workflows/blocks/drive/update-file) (rename), [Move File](https://docs.vettero.com/build/workflows/blocks/drive/move-file), [Trash File](https://docs.vettero.com/build/workflows/blocks/drive/trash-file), [Share File](https://docs.vettero.com/build/workflows/blocks/drive/share-file), and [List Permissions](https://docs.vettero.com/build/workflows/blocks/drive/list-permissions). [Copy File](https://docs.vettero.com/build/workflows/blocks/drive/copy-file) copies the folder itself, not the files inside.

<table>
<thead>
  <tr>
    <th>
      Use
    </th>
    
    <th>
      Block
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Search or page files
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/drive/list-files">
        List Files
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Search or page folders
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/drive/list-folders">
        List Folders
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Metadata for one id (file or folder)
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/drive/get-file">
        Get File
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      New folder
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/drive/create-folder">
        Create Folder
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Send a workspace file to Drive
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/drive/upload-file">
        Upload File
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Pull a Drive file into workspace Files
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/drive/download-file">
        Download File
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Duplicate a file (or a folder without its contents)
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/drive/copy-file">
        Copy File
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Change parent folder (file or folder)
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/drive/move-file">
        Move File
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Rename, description, star (file or folder)
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/drive/update-file">
        Update File
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Trash or delete (file or folder)
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/drive/trash-file">
        Trash File
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Grant access
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/drive/share-file">
        Share File
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Who has access
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/drive/list-permissions">
        List Permissions
      </a>
    </td>
  </tr>
</tbody>
</table>

<tip>

Store a Drive file id on a [Drive File](https://docs.vettero.com/data/tables/drive-file) column. Use [Drive Changed](https://docs.vettero.com/build/event-handlers/drive-changed) when files should start a flow.

</tip>

<searchable-card-grid :items="[{"title":"List Files","description":"List Drive files with optional search, folder, MIME type, and paging.","icon":"i-lucide-list","to":"/build/workflows/blocks/drive/list-files","keywords":"drive list files search folder"},{"title":"List Folders","description":"List Drive folders with optional search, parent folder, and paging.","icon":"i-lucide-folder","to":"/build/workflows/blocks/drive/list-folders","keywords":"drive list folders"},{"title":"Get File","description":"Load Drive file metadata by id.","icon":"i-lucide-file","to":"/build/workflows/blocks/drive/get-file","keywords":"drive get file metadata"},{"title":"Create Folder","description":"Create a folder in Drive.","icon":"i-lucide-folder-plus","to":"/build/workflows/blocks/drive/create-folder","keywords":"drive create folder"},{"title":"Upload File","description":"Upload a workspace file to Drive.","icon":"i-lucide-upload","to":"/build/workflows/blocks/drive/upload-file","keywords":"drive upload file"},{"title":"Download File","description":"Download a Drive file into workspace Files.","icon":"i-lucide-download","to":"/build/workflows/blocks/drive/download-file","keywords":"drive download file"},{"title":"Copy File","description":"Copy a Drive file, optionally into another folder.","icon":"i-lucide-copy","to":"/build/workflows/blocks/drive/copy-file","keywords":"drive copy file"},{"title":"Move File","description":"Move a Drive file to another folder.","icon":"i-lucide-folder-input","to":"/build/workflows/blocks/drive/move-file","keywords":"drive move file folder"},{"title":"Update File","description":"Update name, description, or starred.","icon":"i-lucide-pencil","to":"/build/workflows/blocks/drive/update-file","keywords":"drive update file star"},{"title":"Trash File","description":"Trash or permanently delete a Drive file.","icon":"i-lucide-trash","to":"/build/workflows/blocks/drive/trash-file","keywords":"drive trash delete"},{"title":"Share File","description":"Share a Drive file with a user, group, or domain.","icon":"i-lucide-share-2","to":"/build/workflows/blocks/drive/share-file","keywords":"drive share permission"},{"title":"List Permissions","description":"List sharing permissions on a Drive file.","icon":"i-lucide-lock","to":"/build/workflows/blocks/drive/list-permissions","keywords":"drive list permissions"}]" empty="No Drive blocks match that search." placeholder="Search Drive blocks…">



</searchable-card-grid>

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
