Export Google file
Save a Google Doc, Sheet or Slides file in an office format such as PDF, XLSX or DOCX.
Command in the Google Workspace toolkit · id ooa.google/drive_download_export · 7 inputs (3 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 | Id of the Google Doc, Sheet or Slides file. A path under My Drive starting with / also works, e.g. /Reports/2026/summary.pdf. | |
| Format | String | No | pdf | Output format. |
| Local path | File | Yes | Where to save it; the folder to save into when file_name is given. | |
| Endpoint address | String | No | Replaces https://*.googleapis.com for testing or a proxy; leave empty normally. | |
| Overwrite | Boolean | No | true | Replace an existing local file; when false a number such as (2) is added to the name. |
| File name | String | No | Name for the saved file inside the local_path folder; the format's extension is added when the name has none. |
Outputs
| Output | Type | What it is |
|---|---|---|
| path | File | Saved local path. |