Download File
Download File
Downloads a file from Google Drive to a local path.
Options
Google Drive account
Select the Connection action set up in the flow.
Drive (optional)
Enter the name of the source drive. Leave it empty to use "My Drive".
File path in the Drive
Enter the full path of the file in Google Drive, including its name and extension, for example /Documentos/relatorio.pdf.
Local path to save
Enter the local path where the file will be saved, including the file name, for example C:\Downloads\relatorio.pdf.
Returns
Javascript code
js
actions["action-id"].downloadPath // local path the file was saved to (Text)
Field selection
- downloadPath — full local path the file was saved to (Text)
Rules and Conditions
- The Google Drive account, File path in the Drive and Local path to save fields are required.
- The given file must exist in Google Drive.
- The local destination directory must exist before the download.