Create Folder
AutomatR.OneDriveApp.Activities.CreateFolder
The "Create Folder" activity in AutomatR is part of the OneDrive activities package, allowing automation processes to create new folders within Microsoft OneDrive. This activity is particularly useful for organizing and managing files in OneDrive through automation workflows.
Properties
Name | Description |
---|---|
Input | |
Destination Folder Path | Specifies the path where the new folder should be created within OneDrive. It represents the location where the folder will be added. String variables containing the destination folder path. |
Name | Specifies the name of the new folder to be created within the specified destination. This is the label for the folder. String variables containing the desired folder name. |
Misc | |
Display Name | Provides 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 | |
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. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e. 1. |
How to use:
- Drag and drop the "Create Folder" activity onto the workflow.
- Configure the properties by specifying the destination folder path and the name of the new folder to be created within OneDrive.
- Optionally, configure the delay and customize the display name.
- Execute the workflow to create the specified folder within OneDrive.
Example: Consider an example where the "Create Folder" activity is used to create a new folder named "Reports" within the "Documents" directory in OneDrive:
Create Folder:
Display Name: "Create Reports Folder"
Destination Folder Path: "/Documents/"
Name: "Reports"
In this example, the activity creates a new folder named "Reports" within the "Documents" directory in OneDrive. The display name is set to "Create Reports Folder" for clarity in the workflow.