Skip to main content

Download Folder

AutomatR.GoogleDrive.Activities.DownloadFolder

The "Download Folder" activity in AutomatR is part of the Google Drive activities package, allowing automation workflows to download an entire folder from a specified path within the user's Google Drive to a local drive. This activity simplifies the process of retrieving multiple files and subfolders, enhancing the efficiency of automation workflows.

Properties

NameDescription
Input
Folder NameSpecifies the path of the folder on Google Drive to be downloaded. It should be in the format "Root\DownloadThis\". String variables containing the folder path.
Download PathSpecifies the full path on the local drive where the downloaded folder will be saved (e.g., "C:\downloads\"). String variables containing the local download path.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Download Folder" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the delay is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultOutputs a Boolean result based on the success or failure of the folder download operation. Variables of relevant types (e.g., Boolean variables) to store the operation result.

How to use:

  1. Drag and drop the "Download Folder" activity onto the workflow.
  2. Configure the properties by specifying the folder name on Google Drive, the local download path, and optionally set a delay or customize the display name.
  3. Execute the workflow to download the specified folder from Google Drive to the local drive.

Example: Consider an example where the "Download Folder" activity is used to download a folder named "MyDocuments" from the root directory of the user's Google Drive:

Download Folder:
Display Name: "Download MyDocuments"
Folder Name: "Root\MyDocuments\"
Download Path: "C:\Users\UserName\Downloads\"
Result: isDownloadSuccessful

In this example, the activity downloads the entire "MyDocuments" folder from the root directory of the user's Google Drive to the specified local download path. The result of the operation (success or failure) is stored in the Boolean variable "isDownloadSuccessful" for further handling in the workflow.