Folder

Introduction

The Folder library in Automate provides actions to automate folder-related operations, simplifying the management of directories within workflows.

The purpose of the Folder library is to offer a convenient way to create, copy, delete, and move folders seamlessly within the automation process. These actions are essential for efficient folder organization and maintenance.

What is Folder?

The Folder component within Automate allows users to perform essential folder operations directly within their workflows. This component includes actions to create, copy, delete, and move folders with ease.

Key Features

  • Copy: Duplicate an existing folder to another location.

  • Delete: Remove a specified folder from the system.

  • Move: Transfer a folder to a designated location.

  • New Folder: Create a new folder at a specified path.

How To Use Action

Copy

Description: The Copy action is used to duplicate a folder to another location.

Usage:

  1. Source Folder:

    • Select the folder to be copied.

  2. Destination Path:

    • Specify the path where the copied folder will be placed.

    • Check "Overwrite an existing folder" to replace existing folders.

    • Optionally specify the desired folder size.

Delete

Description: The Delete action removes a specified folder from the system.

Usage:

  1. Folder Path:

    • Select the path of the folder to be deleted.

    • This folder will be permanently removed.

Move

Description: The Move action transfers a folder to a specific location.

Usage:

  1. Source Folder Path:

    • Select the folder to be moved.

  2. Destination Folder Path:

    • Specify the path of the destination folder.

New Folder

Description: The New Folder action creates a new folder at a specified path.

Usage:

  1. Folder Path:

    • Specify the path of the new folder to be created.

    • Example: C:\\Program Files

Get Files in Folder

Description: Brief overview of the action's purpose.

Purpose: Detailed explanation of why the action is used.

Usage: Instructions on how to use the action.

Inputs:

  • Folder Path (Required): Specify the path of the folder from which files will be retrieved.

  • Assign files in folder to variable (Required): Select a variable of type array to store the list of files.

Outputs:

  • Expected results or responses from the action.

Get Properties

Description: Brief overview of the action's purpose.

Purpose: Detailed explanation of why the action is used.

Usage: Instructions on how to use the action.

Inputs:

  • Folder Path (Required): Specify the path of the folder whose properties will be retrieved.

  • Assign folder properties to variable (Required): Select a variable of type object to store the folder properties.

Outputs:

  • Expected results or responses from the action.

Rename

Description: Brief overview of the action's purpose.

Purpose: Detailed explanation of why the action is used.

Usage: Instructions on how to use the action.

Inputs:

  • Folder Path (Required): Specify the path of the folder to be renamed.

  • New Folder Name (Required): Specify the new name for the folder.

  • Assign folder path to variable: Select a variable of type string to store the path of the renamed folder (optional).

Outputs:

  • Expected results or responses from the action.

Unzip

Description: Brief overview of the action's purpose.

Purpose: Detailed explanation of why the action is used.

Usage: Instructions on how to use the action.

Inputs:

  • Zip File Path (Required): Specify the path of the zip file to be extracted.

  • Destination:

    • Extract to same path

    • Extract to given path (Required): Specify the path where the zip file will be extracted.

  • Overwrite an existing folder: Yes or No.

  • Assign folder path to variable: Select a variable of type string to store the path of the extracted folder (optional).

Outputs:

  • Expected results or responses from the action.

Zip

Description: Brief overview of the action's purpose.

Purpose: Detailed explanation of why the action is used.

Usage: Instructions on how to use the action.

Inputs:

  • Folder Path (Required): Specify the path of the folder to be zipped.

  • Zip Name: By default, the folder name is used.

  • Destination:

    • Extract to same path

    • Extract to given path (Required): Specify the path where the zip file will be saved.

  • Overwrite an existing folder: Yes or No.

  • Assign folder path to variable: Select a variable of type string to store the path of the created zip file (optional).

Outputs:

  • Expected results or responses from the action.

Additional Tips

Use Cases

FAQ (Frequently Asked Questions)

Last updated