File & System Activities
Read and write text files, manage files and folders, archive with zip, control Windows processes, and interact with the clipboard. 16+ activities cover the full file system workflow lifecycle.
Read Text File
Reads the entire content of a text or UTF-8 file into a String variable.
| Parameter | Type | Required | Description |
|---|---|---|---|
| FilePath | String | Yes | Absolute or relative file path |
| Encoding | String | No (default: UTF-8) | File encoding (UTF-8, ASCII, Unicode, etc.) |
| OutputVariable | String | Yes | Variable to store the file content |
Write Text File
Creates (or overwrites) a text file with the given content.
| Parameter | Type | Required | Description |
|---|---|---|---|
| FilePath | String | Yes | Target file path |
| Content | String | Yes | Text to write. Supports variable references. |
| Encoding | String | No (default: UTF-8) | File encoding |
Append To File
Appends text to the end of a file. Creates the file if it does not exist.
| Parameter | Type | Required | Description |
|---|---|---|---|
| FilePath | String | Yes | Target file path |
| Content | String | Yes | Text to append |
Copy File
Copies a file from a source path to a destination path.
| Parameter | Type | Required | Description |
|---|---|---|---|
| SourcePath | String | Yes | File to copy |
| DestinationPath | String | Yes | Destination path including filename |
| Overwrite | Boolean | No (default: false) | Replace the destination file if it exists |
Move File
Moves or renames a file.
| Parameter | Type | Required | Description |
|---|---|---|---|
| SourcePath | String | Yes | Current file path |
| DestinationPath | String | Yes | New path (can be a different folder and/or filename) |
| Overwrite | Boolean | No (default: false) | Replace destination if it exists |
Delete File
Permanently deletes a file. This cannot be undone.
| Parameter | Type | Required | Description |
|---|---|---|---|
| FilePath | String | Yes | Path to the file to delete |
File Exists
Checks whether a file exists at the given path.
| Parameter | Type | Required | Description |
|---|---|---|---|
| FilePath | String | Yes | File path to check |
| OutputVariable | String | Yes | Boolean variable — true if the file exists |
Get File Info
Returns metadata about a file.
| Parameter | Type | Required | Description |
|---|---|---|---|
| FilePath | String | Yes | Path to the file |
| OutputVariable | String | Yes | Object variable with properties: .Size, .CreatedAt, .ModifiedAt, .Extension, .FullName |
List Files
Returns the file paths in a folder as a StringArray variable.
| Parameter | Type | Required | Description |
|---|---|---|---|
| FolderPath | String | Yes | Folder to list |
| Pattern | String | No (default: *.*) | File filter pattern (e.g., *.xlsx, report_*.pdf) |
| Recursive | Boolean | No (default: false) | Include files in sub-folders |
| OutputVariable | String | Yes | StringArray variable to store the file paths |
Create Folder
Creates a directory and all missing parent directories.
| Parameter | Type | Required | Description |
|---|---|---|---|
| FolderPath | String | Yes | Path of the folder to create |
Zip Files
Compresses one or more files or folders into a ZIP archive.
| Parameter | Type | Required | Description |
|---|---|---|---|
| SourcePaths | String (comma-separated) or StringArray | Yes | Files or folders to include |
| DestinationPath | String | Yes | Output .zip file path |
| Password | String | No | Optional archive password |
Unzip Files
Extracts a ZIP archive to a folder.
| Parameter | Type | Required | Description |
|---|---|---|---|
| ArchivePath | String | Yes | Path to the .zip file |
| DestinationFolder | String | Yes | Folder to extract into |
| Password | String | No | Archive password if required |
Watch Folder
Watches a folder for new files matching a filter pattern. Execution pauses until a matching file appears (or timeout is reached).
| Parameter | Type | Required | Description |
|---|---|---|---|
| FolderPath | String | Yes | Folder to watch |
| Pattern | String | No (default: *.*) | File filter (e.g., *.pdf) |
| TimeoutMs | Int32 | No | Max wait before throwing (0 = wait indefinitely) |
| OutputVariable | String | Yes | Variable to store the full path of the detected file |
Start Process
Starts an external executable or opens a file with its default application.
| Parameter | Type | Required | Description |
|---|---|---|---|
| FilePath | String | Yes | Executable path, script path, or document to open |
| Arguments | String | No | Command-line arguments |
| WaitForExit | Boolean | No (default: false) | Block execution until the process exits |
| TimeoutMs | Int32 | No | Max wait if WaitForExit is true |
| OutputVariable | String | No | Stores the process exit code |
Kill Process
Terminates a running process by name or PID.
| Parameter | Type | Required | Description |
|---|---|---|---|
| ProcessName | String | No | Process name without .exe (e.g., notepad) |
| ProcessId | Int32 | No | PID of the process to kill (use ProcessName or ProcessId, not both) |
Run Command
Executes a shell command and returns stdout and stderr.
| Parameter | Type | Required | Description |
|---|---|---|---|
| Command | String | Yes | Shell command to execute |
| WorkingDirectory | String | No | Working directory for the command |
| TimeoutMs | Int32 | No (default: 30000) | Max wait for command to complete |
| OutputVariable | String | No | Stores stdout text |
| ErrorVariable | String | No | Stores stderr text |
| ExitCodeVariable | String | No | Stores the exit code |
Set Clipboard / Get Clipboard
Set Clipboard writes a string to the Windows clipboard. Get Clipboard reads the current clipboard text into a variable.
| Activity | Parameter | Description |
|---|---|---|
| Set Clipboard | Text (String) | Text to place on the clipboard |
| Get Clipboard | OutputVariable (String) | Variable to receive the clipboard text |