Upload to Drive
Upload a local file to a Drive folder.
Command in the Google Workspace toolkit · id ooa.google/drive_upload · 7 inputs (2 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | Yes | Google OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Local path | File | Yes | File to upload. | |
| Folder ID | String | No | Target folder id; My Drive root when empty. A path under My Drive starting with / also works, e.g. /Reports/2026. | |
| Name | String | No | Name in Drive; the local name when empty. | |
| Overwrite | Boolean | No | false | Replace the content of a file with the same name in the folder (keeping its id and links) instead of adding a second file. |
| Description | String | No | Description stored with the file. | |
| Endpoint address | String | No | Replaces https://*.googleapis.com for testing or a proxy; leave empty normally. |
Outputs
| Output | Type | What it is |
|---|---|---|
| file_id | String | New file id. |