Google Drive
Studio Pro activities > Connectors > Google Drive. Includes "Download file", "Upload file" and "Create directory".
Activities
Download File | Upload file | Create directory |
---|---|---|
Download a file from your Google Drive | Upload a file from your computer to your Google Drive | Create a new folder in your Google Drive |
Download File
Description
This action allows you to download a file from your Google Drive.
Parameters
File ID or URL
The file ID is the individual number of the file shown in the address bar of the browser. You can also paste the whole link (URL) to the File ID or URL input field.
- Set a value: allows you to manually specify the ID of the target file.
- Calculate a value: allows you to use a special formula or a special method to determine the file ID.
- Save the previous step result: takes the result of the previous activity in the workflow as the file ID.
Save to
- Set a value: allows you to manually specify the path to the folder where to save the file. Click the "Select" button to open the file explorer and select the path
- Calculate a value: allows you to use a special formula or a special method to determine the path to the folder.
- Save the previous step result: takes the result of the previous activity in workflow as the path to the folder.
- If you specify the directory that does not exist - it will be created automatically.
- If you specify the directory with the file extension - the file will be saved with the name and extension. For example:
C:\Program Files\Work\Myfile.txt
(Myfile.txt
will be saved to theWork
folder).- If you do not specify the extension - the file will be downloaded to the folder you specify. For example:
C:\Program Files\Work\Myfile
(the file that you download will be saved to theMyfile
folder).
Replace existing file
If this parameter is enabled and the target directory already has a file with the same name as the file you are downloading, then the bot will automatically replace it. If the option is disabled, the new file won't replace the existing name and will save it with an incremental number at the end of its name.
Comment
Allows you to add an explanatory text to the block. The text will be displayed inside the block on top of the action name.
Upload file
Description
This activity allows you to upload a file from your computer to your Google Drive.
Parameters
Path to local file
- Set a value option allows you to manually specify the path to the file you want to upload to Google Drive. Click the "PICK" button to open File Explorer and select the file path.
- Calculate a value option allows you to use a special formula or a special method to determine the path to file.
- Save the previous step result option takes the result of the previous activity in the workflow as the path to file
Folder ID
The folder ID is the individual number of the folder shown in the address bar of the browser. You can also paste the whole link to the folder ID input field.
- Set a value: allows you to manually specify the ID of the folder. If you need to download a file to the root folder of the drive, specify "root" in this parameter.
- Calculate a value: allows you to use a special formula or a special method to determine the folder ID.
- Save the previous step result: takes the result of the previous activity in the workflow as the folder ID.
Comment
Allows you to add an explanatory text to the block. The text will be displayed inside the block on top of the action name.
Create directory
Description
This activity allows you to create a new folder inside an existing folder in your Google Drive.
Parameters
New folder name
- Set a value: allows you to manually specify the name of a new folder.
- Calculate a value: allows you to use a special formula or a special method to determine the name of the folder.
- Save the previous step result: takes the result of the previous activity in the workflow as the name of the folder.
Parent folder ID
The folder ID is the individual number of the folder shown in the address bar of the browser. You can also paste the whole link to the folder ID input field.
- Set a value: allows you to manually specify the ID of the folder. If you need to download a file to the root folder of the drive, specify "root" in this parameter.
- Calculate a value: allows you to use a special formula or a special method to determine the folder ID.
- Save the previous step result: takes the result of the previous activity in the workflow as the folder ID.
Comment
Allows you to add an explanatory text to the block. The text will be displayed inside the block on top of the action name.
Updated over 1 year ago