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

# Update File

Update a file in Google Drive.

<Note>
  External Documentation

  To learn more, visit the [Google Drive documentation](https://developers.google.com/drive/api/reference/rest/v3/files/update).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
  | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | File ID            | The ID of the file to update in Google drive. Note that the old file will be overwritten by the new one.                                                                                                                                                                                                                                                                                                                                                                                                                               |
  | File Identifier    | The identifier of the new file that will replace the existing file in Google Drive.<br />A file identifier represents a file created or referenced earlier in the workflow (for example, from a file action or another step that produces a file).<br />See [Using with Files in Workflows](https://docs.blinkops.com/docs/workflows/building-workflows/files) for more details.<br /><br />**Note**: The file MIME type must match the existing file’s MIME type, or be a compatible type that Google Drive accepts as a replacement. |
  | Support All Drives | Select to support both My Drives and shared drives.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter               | Description                                                                                                                                                                                                                                                                                                                  |
  | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Delegated User Override | Perform the action on behalf of another user, overriding the delegated user defined in the connection.<br /><br />If not specified, the delegated user is the one provided in the connection.<br /><br />Has no effect when using an OAuth connection.<br /><br />NOTE: the connection details are not edited by this input. |
</div>

## Example Output

```json theme={"dark"}
{
	"kind": "<string>",
	"id": "<string>",
	"name": "<string>",
	"mimeType": "<string>"
}
```

## Workflow Library Example

[Update File with Google Drive and Send Results Via Email](https://library.blinkops.com/workflows/update-file-with-google-drive-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/update-file-with-google-drive-and-send-results-via-email/canvas" />
</div>
