Set Up On Prem Agent
Before managing files with the Engini On-Prem Agent, you need to complete the setup process. This includes the following steps:- Add an Agent to your account.
- Download and Install the Agent on your local system.
- Test the Agent Connection to ensure it’s working correctly.
- Add Your On-Prem Agent to the file management connection.
Add a connection to On Prem File in Engini
- Enter your Engini account at https://app.engini.io.
-
Navigate to Connections page by clicking on the Connections on the left sidebar or by clicking here.

-
Click on the “New Integration” option located at the top bar.

-
Choose On-Prem Files option from the available applications.

-
Enter the following details in the “New Integration” form:

- Connection name – A required field where you provide a unique name for the connection.
- Directory – The base folder path for file access. This is the root directory where the agent will operate. Paths specified in workflows will be relative to this base directory. For example: C:\Shared\Files.
- On-prem Agent – A dropdown menu where you select the desired On-Prem Agent for this connection. This agent must already be configured and available for selection.
- Click on the save button to save the connection.
Activities
Create File
This activity creates a new file in the specified path and populates it with provided content.
- File Path – Specify the relative file path. The file path should also include the file name. If the file should be created in a directory inside the directory provided in the connection, then you should use the Concat() function to concatenate between the path to the file name.
- File Content – Provide the content to be written into the file. Ensure the content is in Base64 format. You can use the StringToBase64 function available in Engini to convert your string into Base64 format.
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Delete File
This activity deletes a file from the specified location.
- File Path – Provide the relative file path of the file you want to delete.
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Get File
This activity retrieves the content of a specific file.
- File Path – Specify the relative file path of the file you want to retrieve.
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Get Files
This activity lists all files in a specific folder, with optional filtering.
- Folder– Specify the folder path relative to the base path to list files from.
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Move File
This activity moves a file from its current location to a new destination.
- File Path – Specify the relative path of the file to be moved.
- Destination Folder Path – Provide the relative destination folder path where the file will be moved.
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Rename File
This activity renames an existing file to a new name.
- File Path – Provide the relative path of the file to be renamed.
- New File Name- Enter the new name for the file.
- Keep connection alive until complete- If checked, the system maintains the connection to the agent throughout the renaming process to ensure completion.
Create Folder
This activity creates a new folder in the specified path.
- Folder Name – Provide the name of the folder to be created. The path is relative to the base path.
- Keep connection alive until complete- If checked, the system maintains the connection to the agent throughout the renaming process to ensure completion.
Delete Folder
This activity deletes an existing folder, including all its contents.
- Folder Name – Specify the name of the folder to delete. The path should be relative to the base path.
- Keep connection alive until complete– If checked, the connection to the agent is maintained until the folder deletion process is successfully completed.
Get Folders
This activity retrieves a list of folders from a specified directory, with options to include subfolders and apply filters.
- Folder – Provide the folder path relative to the base path to list folders from.
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
- Include Files in Sub folders – Select True to include folders from subdirectories or False to limit results to the main directory.
- Naming Pattern – Use filters to retrieve specific folders based on naming patterns (e.g., Folder* for names starting with “Folder”).
- Keep connection alive until complete – If checked, ensures the connection to the agent remains active during the folder retrieval process, especially for large directories or complex filters.