Global Bilgi RPA (EN)

Files

Files

Aktiviteler

Environment Path

With the Environment Path activity, you can obtain the full path of the selected folder on the computer and transfer it to a variable through the output.

Usage Scenarios:

  • Accessing system directories such as Desktop, My Documents, or Program Files
  • Dynamically using the system folder path for file saving or reading operations
  • Adjusting workflow behavior according to environment-specific system directories

Parameters:

  • Folder: The system folder to be selected from the dropdown list (e.g., Desktop, MyDocuments, ProgramFiles)

Points to Note:

  • The selected folder may be user-specific; for example, “Desktop” may point to different locations for different user accounts
  • Since the path information is only valid in the executing environment, it should not be treated as a fixed directory
  • Writing directly to system folders may have restricted permissions and could result in errors
  • The path information should be carefully used in further operations (e.g., writing, reading, or checking files)

Extract Compressed File

With the Extract Compressed File activity, you can extract the .rar, .zip, and .7z compressed files to a specified folder, and obtain the full path of the extracted directory from the output parameter.

Usage Scenario:

If a user wants to automatically extract compressed reports from an archive folder and process them in a workflow, this activity can be used to easily extract them into the target folder.

Parameters:

  • Zip File Path: The full path of the compressed file
  • Extract Folder Path: The path of the main folder where the contents will be extracted
  • Zip File Path Choose: Allows selecting the compressed file path via file chooser
  • Extract Folder Path Choose: Allows selecting the target extraction folder via folder chooser
  • Extract Folder Name: The name of the subfolder where the extracted content will be placed
  • Delay Time: The waiting time (in milliseconds) after the activity is executed

File Append Text

The File Append Text activity is used to add text to the end of a text (.txt) file. The text can be written directly or taken from a collection.

Usage Scenario:
This activity can be conveniently used when log information, error messages, or user feedback needs to be appended to a .txt file during a process.

Parameters:

  • File Path: The full path of the target file where text will be appended
  • File Path Choose: Allows selecting the target .txt file via file chooser
  • Text: The text to be appended to the end of the file
  • Collection: If the data is to be appended from a collection, the collection object is defined here
  • Collection Column: Specifies which column from the collection will be written into the file
  • Delay Time: The waiting time (in milliseconds) after the activity is executed

If you want to add a value in the Collection variable to the text document, you can do it by typing the variable name in the Collection line and the column name in the Collection Column line.

File Copy

With the File Copy activity, you can copy a file and move the copied file to a different destination with the desired file name.

Usage Scenario:
This activity is used to back up a file, save it with a different name before editing, or copy it to another location.

Parameters:

  • From File Path: The full path of the source file to be copied
  • To File Path: The target path where the file will be copied
  • From File Path Choose: File chooser to select the source file
  • To File Path Choose: Folder chooser to select the target folder
  • New File Name: The new name to be assigned to the copied file
  • Delay Time: The waiting time (in milliseconds) after the activity is executed

File Create Text

With the File Create Text activity, you can create new text-based files (e.g., .txt, .docx) by specifying the file path and name.

Usage Scenarios:

  • Creating an empty file to store temporary or permanent notes during automation
  • Generating daily log files
  • Producing a text file as an output at the end of a process
  • Ensuring the target file exists before data transfer operations

Parameters:

  • File Path: The full path and name where the file will be created
  • File Path Choose: Folder chooser to select the target directory
  • File Name: The name of the file to be created

Points to Note:

  • If File Path is provided, File Path Choose and File Name must be left empty. Similarly, if folder + file name is used, File Path must be left empty.
  • The file extension should be specified (.txt, .csv, .log, .docx, etc.); if not provided, the system may not assign a valid extension.
  • If a file with the same name already exists, it may be overwritten. Pre-checks are recommended.
  • Ensure write permissions are available in the target directory.

File Delete

With the File Delete activity, you can delete the file or files in the specified directory. For multiple file deletion, a semicolon (;) must be added between file paths. If you want to delete multiple files by selecting them from the File Path Choose option, you can select the files while holding down the Ctrl key.

Usage Scenarios:

  • Deleting temporary files (log, temp) created at the end of a process
  • Removing unwanted files in a target folder
  • Cleaning up a folder by deleting multiple files at once

Parameters:

  • File Path: The full path of the file to be deleted
  • File Path Choose: Allows selecting one or more files through a file chooser

Points to Note:

  • For multiple file deletion, file paths must be separated with
  • Files are permanently deleted and are not moved to the Recycle Bin
  • The file to be deleted must not be in use; otherwise, an error will occur
  • File Path and File Path Choose cannot be used simultaneously; only one should be selected

File Exists

With the File Exists activity, you can check whether a specified file exists in the system. It serves as a decision mechanism in workflows that require file existence verification.

Usage Scenarios:

  • Verifying file existence after creation before proceeding to the next step
  • Checking whether a required report has been generated in a specific folder
  • Directing the workflow based on file existence before moving to alternative scenarios

Parameters:

  • File Path: The full path of the file to be checked
  • Folder Path Choose: Allows selecting a folder through a folder chooser
  • File Name: The name of the file only

Points to Note:

  • If File Path is used, Folder Path Choose and File Name must be left empty. Similarly, if folder + file name are used, File Path must be empty.
  • Ensure the file extension (.xlsx, .txt, .csv, etc.) is written correctly.
  • If the file is not found, the result will return false; this should be validated with conditional activities.
  • File system access permissions must be verified; otherwise, incorrect results may occur.

File Info Get

With the File Info Get activity, you can check the details and properties of a file in a specified directory and assign this information to variables for use within the workflow.

Usage Scenarios:

  • Checking whether a file exists before proceeding with further operations
  • Reporting information such as file size or creation date
  • Filtering files based on a specific extension or file name
  • Recording details such as the last modified user or creation time

Parameters:

  • File Path: The full path of the folder where the file is located
  • Name: The name of the file to be checked
  • Extension: The file extension (e.g., .txt, .xlsx)
  • Is Starts With: Checks if the file name starts with the specified text
  • Is Ends With: Checks if the file name ends with the specified text
  • Is Equals: Checks if the file name exactly matches the specified text
  • Is Contains: Checks if the file name contains the specified text
  • Is Last Modified: Checks the last modified time of the file
  • Delay Time: Waiting time (in milliseconds) before the activity is executed

Points to Note:

  • File name and extension must be specified correctly and completely
  • Checks return boolean values; multiple check parameters can be used simultaneously
  • Retrieved information is assigned to output variables, which can be used in the workflow
  • Returned details include file size, creation date, last access date, and more

File Move

This activity allows moving a file from a specified source path to a target directory while optionally renaming it. It operates with a cut-and-paste logic, meaning the original file is removed after the move.

Usage Scenarios

  • Moving processed files into an archive directory

  • Renaming and relocating files based on transaction or date

  • Transferring uploaded files into a system folder with a structured name

  • Standardizing file naming before system-to-system integration

Parameters

  • From File Path: Full path of the file to be moved

  • To File Path: Full destination file path

  • From File Path Choose: File picker used to manually select the source file

  • To File Path Choose: Folder picker used to manually select the target directory

  • New File Name: New file name including extension, if renaming is required

Notes

  • File name must include its extension (example: rapor.xlsx)

  • The move action deletes the original file after transfer

  • If a file with the same name exists in the target directory, it will be overwritten

  • The file must not be open during execution, otherwise the operation fails

File Rename

This activity is used to rename a file located in a specified directory. The file name, including its extension, can be changed without altering its location.

Usage Scenarios

  • Renaming a file after creation to provide a more meaningful name

  • Systematically numbering files with similar formats

  • Appending date or process details after automation steps

  • Correcting incorrect or incomplete file names, including extensions

Parameters

  • File Path: Full directory path of the file to be renamed

  • Folder Path Choose: Folder picker used to manually select the directory

  • Current File Name: Existing file name including extension

  • New File Name: New file name including extension

Notes

  • The file extension must be included in the new name (example: report.xlsx)

  • If another file with the same name already exists in the directory, renaming fails

  • The file must be closed before renaming; otherwise, the operation cannot proceed

  • Windows file naming rules apply; restricted characters are not allowed

File To Variable

This activity is used to read the full content of files such as .txt, .csv, or .bat and transfer it into a variable without opening the file. The extracted content is stored as plain text.

Usage Scenarios

  • Reading and validating log data stored in .txt files

  • Importing row-based data from .csv files into a variable

  • Analyzing script or configuration files such as .bat

  • Including external text-based configuration files in an RPA workflow

Parameters

  • File Path: Full path of the file to be read (example: C:\Veriler\Dosya.txt)

  • File Path Choose: Allows manual file selection through a browse window

  • Encoding Type: Character encoding format (example: UTF-8, UTF-7, UTF-32, ASCII, ISO-8859-1, ISO-8859-9)

Notes

  • Ensure the file path is correct and accessible

  • To avoid Turkish character issues (ç, ğ, ö, ü, ş, ı), select the correct Encoding Type—UTF-8 is commonly recommended

  • Large text files may require additional processing time

  • The output is stored as a text variable and can be used in further automation steps

File To Zip File

This activity converts a specified file into a .zip archive and returns the full path of the generated zip file as output.

Usage Scenarios

  • Compressing an Excel file before sending it as an email attachment

  • Archiving log or report files and moving them to another directory

  • Reducing file size for FTP or email transfer

  • Using the returned zip file path dynamically in subsequent steps

Parameters

  • File Path: Directory path of the file to be zipped

  • File Name: Name of the file to be zipped, including extension (example: report.xlsx)

  • Extract File Path: Folder path where the zip file will be created

  • Extract File Name: Name to assign to the zip file, without extension

  • Zipped File Path (Output): Returns the full directory of the generated zip file

Notes

  • File Name must include its extension (.xlsx, .txt, etc.)

  • Extract File Name should be written without .zip — the system appends it automatically

  • If the file is in use by another process, the activity may fail

  • Folder paths must be correctly formatted and include backslashes ()

  • The output path should be assigned to a variable for later use

File Write Text

This activity writes text directly into a specified .txt file without needing to open it manually.

Usage Scenarios

  • Writing messages to a file during automation for user notifications

  • Saving log details into a .txt file

  • Storing process outputs as text

  • Dynamically updating file content

Parameters

  • File Path: Full path and file name where text will be written (example: C:\Raporlar\log.txt)

  • File Path Choose: Selects the target file via file picker

  • Text: The content to be written into the file (example: Merhaba Dünya!)

Notes

  • The file extension must be valid (.txt, .csv, etc.), otherwise writing may fail

  • If the file does not exist, the activity may return an error — create it first using File Create Text

  • The existing content will be overwritten; use File Append Text if you want to add text instead of replacing it

  • Writing may fail if the file is open or locked by another application

Folder Clear

This activity deletes all files and optionally subfolders within a specified directory.

Usage Scenarios

  • Clearing temporary file directories before or after processing

  • Regularly emptying report or log folders

  • Preparing a folder for recurring automation tasks

  • Resetting user-uploaded file directories before further processing

Parameters

  • Folder Path: Full path of the folder to be cleaned (example: C:\Temp)

  • Folder Path Choose: Folder selector for manual directory selection

  • Delete Folders: Deletes subfolders if set to True; otherwise only files are removed

Notes

  • Delete Folders must be True to remove subdirectories

  • Open or locked files may cause errors during deletion

  • Deleted items are permanently removed, not sent to Recycle Bin

  • Avoid running on system-critical directories

Folder Copy

This activity copies a specified folder to a target directory, either with the same name or a newly assigned name.

Usage Scenarios

  • Backing up folders containing processed data

  • Duplicating template folders for new operations

  • Copying folders to an archive location after completion

  • Creating and reusing temporary working directories during automation

Parameters

  • From Folder Path: Full directory path of the source folder

  • To Folder Path: Full directory path of the destination location

  • From Folder Path Choose: Manual folder selector for source directory

  • To Folder Path Choose: Manual folder selector for destination directory

  • New Folder Name: Optional new name for the copied folder

Notes

  • If a folder with the same name already exists in the destination, the process fails

  • Source and destination paths must be valid and accessible

  • All files and subfolders inside the source directory are copied

  • Avoid executing on system-protected directories

Folder Create

This activity creates a new folder inside a specified directory.

Usage Scenarios

  • Creating date-based folders for organized file storage.

  • Generating separate folders for each automation run.

  • Dynamically building user-specific directory structures.

  • Preparing required folder paths before a process begins.

Parameters

  • Folder Path: Full directory path where the new folder will be created.

  • Folder Path Choose: Manual folder selector for choosing the parent directory.

  • Folder Name: Name of the folder to be created.

  • Delay Time: Waiting time before execution (milliseconds).

Notes

  • If a folder with the same name already exists, the process may fail—add validation if needed.

  • Folder names must not contain invalid characters (/:*?”<>|).

  • The target directory must be accessible and permissions must allow folder creation.

  • Folder name casing may matter on some systems—ensure consistent naming.

Folder Delete

This activity is used to delete one or multiple folders located in a specified directory.

Usage Scenarios

  • Removing temporary folders created after process completion.

  • Periodically deleting user-uploaded folders.

  • Cleaning up outdated or old archive folders.

  • Automatically removing empty or incorrectly generated directories.

Parameters

  • Folder Path: Full path of the folder(s) to be deleted (use “;” to separate multiple paths).

  • Folder Path Choose: Folder selector for manually choosing one or more directories.

  • Delay Time: Waiting time before execution (milliseconds).

Notes

  • Multiple folder paths must be separated with “;”.

  • If a folder contains files or subfolders, all contents will be permanently deleted.

  • Folders must not be in use or locked by another application.

  • System or restricted-access folders cannot be deleted.

  • Deletion is irreversible—use carefully.

Folder Exists

This activity is used to check whether a specific folder exists in the given directory.

Usage Scenarios

  • Checking if a folder already exists before creating it.

  • Validating folder presence before performing delete operations.

  • Verifying existence of target directories before backup or archiving.

  • Filtering or identifying folders created with a specific name.

Parameters

  • Folder Path: Full path of the directory to be checked.

  • Folder Path Choose: Folder selector for manually choosing the directory.

  • Folder Name: Name of the folder to search for (only the name, not the full path).

Notes

  • When Folder Path and Folder Name are used together, only folders inside that directory are checked.

  • Folder names are not case-sensitive.

  • Folder Path must be valid and accessible.

  • The result should be assigned to an output variable returning True or False.

Folder Info Get

This activity is used to retrieve detailed information about a specified folder. It returns metadata such as folder size, number of files and subfolders, last accessed or modified file details, and full collections of file and folder structures.

Usage Scenarios

  • Reporting total folder size or number of contained files

  • Retrieving the most recently added or modified file path

  • Detecting changes within a folder over a specific time period

  • Collecting file and folder details (name, path, extension, size, date, etc.) for further analysis

Parameters

  • Folder Path: Full path of the folder to retrieve information from

  • Folder Path Choose: Allows manual folder selection via browser dialog

  • Delay Time: Waiting duration before execution (milliseconds)

Outputs

  • Folder Name: Name of the folder

  • Folder Size: Total file size within the folder (bytes)

  • Folder Size On Disk: Actual disk space consumed

  • Folder Count: Number of subfolders

  • File Count: Number of files

  • Creation Time: Folder creation timestamp

  • Last Access Time: Last access timestamp

  • Last Write Time: Last modification timestamp

  • Latest File Path: Path of the most recently added or modified file

  • Latest File Name: Name of the most recently added or modified file

  • Latest Folder Path: Path of the most recently created subfolder

  • Latest Folder Name: Name of the most recently created subfolder

  • Files: Collection containing detailed file information

  • Folders: Collection containing detailed subfolder information

Notes

  • Large folders may increase processing time due to collection output size

  • Files and Folders outputs must be stored in collection-type variables

  • The specified folder path must be accessible to avoid execution errors

Folder Move

With the Folder Move activity, you can move your folder to a different directory and change the folder name if necessary.

Note: The folder is moved with the cut-paste method.

Folder Rename

With the Folder Rename activity, you can rename a folder with a specified directory.

Folder to Zip File

With the Folder to Zip File activity, you can convert any file or folder to zip format, and you can get the directory of the translated file from the output parameter.

Do you want to have Digital Employees?