Download from Drive
Download a Drive file by id (Google Docs/Sheets are exported to PDF/XLSX automatically).
Command in the Google Workspace toolkit · id ooa.google/drive_download · 6 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. | |
| File ID | String | Yes | File id. A path under My Drive starting with / also works, e.g. /Reports/2026/summary.pdf. | |
| Local path | File | No | Where to save it: a file, or a folder (the Drive name is kept); the run's temporary folder when empty (G5). | |
| Overwrite | Boolean | No | true | Replace an existing local file; when false a number such as (2) is added to the name. |
| Endpoint address | String | No | Replaces https://*.googleapis.com for testing or a proxy; leave empty normally. | |
| File name | String | No | A new name for the saved file, with local_path a folder (G5). |
Outputs
| Output | Type | What it is |
|---|---|---|
| path | File | Saved local path. |