Create Folder
AutomatR.GoogleDrive.Activities.CreateFolder
The "Create Folder" activity in AutomatR is part of the Google Drive activities package, enabling automation processes to create folders within a Google Drive account. This activity simplifies the process of folder creation, enhancing the efficiency of automation workflows.
Properties
Name | Description |
---|---|
Input | |
Parent Folder | Specifies the parent folder path where the new child folder needs to be created. String variables containing the parent folder path. |
Folder Name | Specifies the name of the folder to be created. It should not contain a backslash (\ ). String variables containing the folder name. |
Misc | |
Display Name | The display name of the activity. A display name is automatically generated when you indicate a target. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Create Folder" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Result | Outputs the result of the "Create Folder" operation, indicating whether the folder creation was successful or encountered errors. Boolean variables to store the operation result. |
How to use:
- Drag and drop the "Create Folder" activity onto the workflow.
- Configure the properties by specifying the parent folder path and the name of the folder to be created.
- Optionally, configure the delay.
- Execute the workflow to create the specified folder within Google Drive.
Example:
Consider an example where the "Create Folder" activity is used to create a folder named "Documents" within the "Root" directory of Google Drive:
Create Folder:
Parent Folder: "/Root/"
Folder Name: "Documents"
Result: isFolderCreated
In this example, the activity creates the "Documents" folder within the "Root" directory of Google Drive. The result of the operation (success or failure) is stored in the Boolean variable "isFolderCreated" for further handling in the workflow.