> ## 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.

# Create File

Create new file.

<Note>
  External Documentation

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

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                                                                                                                                                                |
  | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Drive ID  | ID of the shared drive the file resides in. Only populated for items in shared drives.                                                                                                                                                                                                                     |
  | Name      | The name of the file. This is not necessarily unique within a folder.<br />Note that for immutable items such as the top level folders of shared drives,<br />My Drive root folder, and Application Data folder the name is constant.                                                                      |
  | Parents   | A comma-separated list of parent folder IDs which contain the file.<br />If not specified as part of a create request, the file will be placed directly in the user's My Drive folder.<br />If not specified as part of a copy request, the file will inherit any discoverable parents of the source file. |
</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. |
  | Description             | A short description of the file.                                                                                                                                                                                                                                                                                             |
  | MIME Type               | The MIME type of the file.<br /><br />Default value is `application/octet-stream`.                                                                                                                                                                                                                                           |
  | Resource Key            | A key needed to access the item via a shared link.                                                                                                                                                                                                                                                                           |
</div>

## Example Output

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

## Workflow Library Example

[Create File with Google Drive and Send Results Via Email](https://library.blinkops.com/workflows/create-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/create-file-with-google-drive-and-send-results-via-email/canvas" />
</div>
