Download File
Download a file by its ID from Google Drive.
Input
| Field | Definition | Type | Required |
|---|---|---|---|
|
File ID |
The unique ID associated with the file to be downloaded. |
Text | TRUE |
|
Options |
|||
|
Download Format |
Choose the file type to use when downloading native Google files, such as Docs, Sheets, or Slides. Selecting this option triggers a conversion process to export the files in the following formats:
If you select Do not convert, then the card dynamically calls the Google Drive API to get the MIME type of the file. The card uses the type to construct the URL. The constructed URL is used when exporting the file from the Google Drive API. The Download Format dropdown menu contains a list of statically defined MIME types. If you select a different statically defined MIME type, then the selected MIME type is used to construct the URL. The values from the Download Format dropdown menu and the file name and extension are independent. After a file is downloaded, it's stored with the file name provided by Google Drive. This option isn't supported for non-native Google files. |
Dropdown | FALSE |
A file must be at least 1 byte in size, but cannot be larger than 2 GB. See Workflows system limits.
Output
| Field | Definition | Type |
|---|---|---|
|
File Content |
The unique ID associated with the file content in the Workflows file system. |
Text |
