> ## Documentation Index
> Fetch the complete documentation index at: https://docs.noxus.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Drive

> Start flows when Drive files change, and read, write, update, list, search, move, delete and share Google Drive files

Use Google Drive to start a flow when a file changes, and to work with files from inside a flow. This flow makes a link that people in your organisation can open for every new report in the **Q3 reports** folder. Press **Run** to watch it.

Node
Output in this run

The trigger and every node need a Google Drive connection. See [Connect Google Workspace](https://docs.noxus.ai/integrations/providers/google.md) to set one up.

## Triggers

The trigger checks Drive for changes every minute. Only changes made after you turn the trigger on start a flow: files already in Drive start one only when they are edited or removed later. Changes to folders themselves never start a flow.

What it does

## Nodes

| Node | What it does |
| - | - |
| [Read Google Drive Files](#read-google-drive-files) | Downloads files, or every file in a folder |
| [Write Google Drive File](#write-google-drive-file) | Uploads a file to a folder |
| [Update Google Drive File](#update-google-drive-file) [From 1.11.0](https://docs.noxus.ai/core/changelog.md#1-11-0) | Replaces a file's content, keeping its ID and link |
| [List Google Drive Folder](#list-google-drive-folder) | Lists what is in a folder |
| [Search Google Drive Files](#search-google-drive-files) | Finds files by name |
| [Create Google Drive Folder](#create-google-drive-folder) | Creates a folder |
| [Move Google Drive File](#move-google-drive-file) [From 1.11.0](https://docs.noxus.ai/core/changelog.md#1-11-0) | Moves or renames a file or folder |
| [Delete Google Drive File](#delete-google-drive-file) | Deletes a file or folder for good |
| [Get Google Drive Metadata](#get-google-drive-metadata) | Gets a file's or folder's details |
| [Create Google Drive Sharing Link](#create-google-drive-sharing-link) [From 1.11.0](https://docs.noxus.ai/core/changelog.md#1-11-0) | Makes a link anyone, or your organisation, can open |
| [Share Google Drive File With People](#share-google-drive-file-with-people) [From 1.11.0](https://docs.noxus.ai/core/changelog.md#1-11-0) | Gives named people access |

Every node picks its file or folder the same way. **Source** is **Pick from Google Drive** (the picker), **By ID** (a file or folder ID, for example `file_id` from the trigger), or **By path**, such as `Reports/2024/Q1/file.pdf`. A path starts at My Drive, so files in shared drives or in Shared with me are reachable only with the picker or by ID.

What it does

## Troubleshooting

> [accordion] Google Drive couldn't find ...
>
> Check that the file or folder exists and that the connection's account can open it. A file in a shared drive or in Shared with me cannot be reached by path: use the picker or its ID.

> [accordion] The Google Drive connection doesn't have permission to do this with ...
>
> The connected account cannot change this item. Ask its owner for edit access, or use a connection that has it.

> [accordion] Google Drive rejected the connection
>
> Reconnect Google Drive and run the flow again. See [Connect Google Workspace](https://docs.noxus.ai/integrations/providers/google.md).

> [accordion] Google Drive is limiting how many requests can be made
>
> Wait a few minutes and try again.

> [accordion] '...' not found in '...'
>
> Nothing at that path has that name. Check the spelling and that the path starts at My Drive.

> [accordion] More than one item named '...' is in '...'
>
> Drive allows several items with the same name. Choose the one you want with the picker or by ID.

> [accordion] A Google Sheet can only be updated from a .xlsx, .xls or .csv file
>
> Update Google Drive File keeps the file's type. Pass content of the same type, or use Write Google Drive File to upload a new file. The same goes for Docs, Slides and other files.

> [accordion] This Google Drive connection is a personal Google account, which has no organisation
>
> Set **Who can open** to **Anyone with the link**.

> [accordion] Google Drive refused to share this with anyone who has the link
>
> Your organisation may not allow public links. Choose **People in my organisation**, or reconnect Google Drive with write access.

> [accordion] Couldn't share with one or more of these people
>
> Your organisation may not allow sharing with people outside it. The message lists who was given access and who was not.

> [accordion] Pick a file to watch, not a folder or shortcut.
>
> With **Watch** set to **A single file**, pick a file. To watch a folder, set **Watch** to **A folder and its subfolders**.

> [accordion] Google Drive no longer accepted where this trigger left off
>
> The trigger started again from now. Changes made since its last check did not start a flow, so check that folder by hand.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.