Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialYesGoogle OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
File IDStringYesFile id. A path under My Drive starting with / also works, e.g. /Reports/2026/summary.pdf.
Local pathFileNoWhere to save it: a file, or a folder (the Drive name is kept); the run's temporary folder when empty (G5).
OverwriteBooleanNotrueReplace an existing local file; when false a number such as (2) is added to the name.
Endpoint addressStringNoReplaces https://*.googleapis.com for testing or a proxy; leave empty normally.
File nameStringNoA new name for the saved file, with local_path a folder (G5).

Outputs​

OutputTypeWhat it is
pathFileSaved local path.