Files task enables the creation of workflows for file management, offering the following available states:
Prerequisite
An active Bridge agent. Refer here to install and configure Bridge.
Create the necessary Credentials for the applications to be connected by the Files module.
For more details about the File management module in Bridge, the keys, and its description, click here.
Example Use Case: In the employee onboarding process, once the employee verification is done and approved, the documents related to the employees have to be uploaded and saved for future reference and compliance purposes.
By integrating the state into your workflow, you can upload files to Qntrl's File module.
For associating a File Upload state to a circuit:
In Builder View, drag and drop the File Upload state from the left pane into your circuit or click the required File Upload state in your circuit.
Under Configuration, update the common state field attributes.
Bridge ID field should capture the details of the bridge to be used for this task. Click and select the required Bridge from the drop-down list.
In the Add Configuration section, choose whether to enable recursive transfers by selecting the Is Recursive checkbox, and then specify the desired action type.
Move - Relocates files from source to destination.
Copy - Copying replicates the file to a distinct location, leaving the original file intact in the source.
Under the Source Details section, fill in the following fields:
Host - Enter the hostname of the machine from where the file has to be uploaded.
Credential Name - Click and select the credential of the source machine from the dropdown list.
Path - Location of the file from where the file has to be uploaded.
Under the Destination Details section, enter the Path location of the file to where it has to be uploaded.
In Input/Output, enter the required paths. To learn more about I/O paths, click here.
"Upload Employee Documents": {"type": "file_upload","next": "Wait Period for Orientation","bridge_id": "bridge-employee onboarding","payload": {"recursive": true,"action": "copy","source": {"remote": {"host": "qntrl-hr-machine","credential_id": "api_cred_1","file_path": "/Users/qntrl-hr-machine/files/employees/idlist.csv"}},"destination": {"cloud": {"file_path": "/Qntrl/HRFiles"}}}}
For associating a File Transfer state to a circuit:
In Builder View, drag and drop the File Transfer state from the left pane into your circuit or click the required File Transfer state in your circuit.
Under Configuration, update the common state field attributes.
Bridge ID field should capture the details of the bridge to be used for this task. Click and select one of the Bridges from the drop-down list.
In the Add Configuration section, choose whether to enable recursive transfers by selecting the Is Recursive checkbox, and then specify the desired action type.
Move - Relocates files from source to destination.
Copy - Copying replicates the file to a distinct location, leaving the original file intact in the source.
Under the Source Details section, fill in the following fields:
Host - Enter the hostname of the machine from where the file has to be transferred.
Credential Name - Click and select the credential of the source machine from the dropdown list.
Path - Location of the file from where the file has to be transferred.
Under the Destination Details section, fill in the following fields:
Host - Enter the hostname of the destination machine to where the file has to be transferred.
Credential Name - Click and select the credential of the destination machine from the dropdown list.
Path - Location of the file to where the file has to be transferred.
In Input/Output, enter the Input Path, Output Path, and Result Path. To learn more about I/O paths, click here.
"Transfer Documents": {"type": "file_transfer","next": "End","start": true,"bridge_id": "<bridge_name>","payload": {"recursive": true,"action": "copy","source": {"remote": {"host": "<Host IP of the remote machine>","credential_id": "<credential_name>","file_path": "<source_file_path>"}},"destination": {"remote": {"host": "ncs mc","credential_id": "files_6","file_path": "hdsnjd"}}}}
In Builder View, drag and drop the File Download state from the left pane into your Circuit or click the required File Download state in your Circuit.
Under Configuration, update the common state field attributes.
Bridge ID field should capture the details of the Bridge to be used for this task. Click and select the Bridge to be configured from the drop-down list.
Under the Source Details section, enter the Path location of the file from where the file has to be downloaded.
Under the Destination Details section, fill in the following fields:
Host - Hostname/IP address of the destination machine to where the file has to be downloaded.
Credential Name - Click and select the credential of the destination machine from the dropdown list.
Path - Location of the file to where the file has to be downloaded.
In Input/Output, enter the required paths. To learn more about I/O paths, click here.
"Download a File": {"type": "file_download","next": "End","start": true,"bridge_id": "<Bridge Name>","payload": {"source": {"cloud": {"file_path": "<source_file_path>"}},"destination": {"remote": {"host": "<Host IP of the machine>","credential_id": "<credential_name>","file_path": "<destination_file_path>"}}}}
Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.
If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.
You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.