Skip to main content

Human in the Loop Workflow

This page explains how to create the Human in the Loop workflow.

  1. Create a new workflow as shown below

    • Name- Enter the name for the workflow
    • Description - Description about the workflow. img HQR Configuration
  2. Now Drag and drop the tool, which is exported from "Prompt Studio". If not exported,refer this section

    img HQR Configuration

    • Click on the tool and choose the tool settings as shown below

    img HQR Configuration

  3. Choose File Systems and click on setting button near it. Now Configure the source connector. Refer the connector section and choose your preferred connector and configure it. img HQR Configuration

  4. Choose Database and click on setting button near it. Now Configure the Destination Database. Refer the Database section and choose your preferred Database and configure it. img HQR Configuration

  5. In the same Destination DB settings screen, Click on the Human in the Loop tab next to the settings tab.

    img HQR Configuration

  6. In the Rules tab, the rules logic can be added

    • Percentage of files sent to Manual Review : The user can set the percentage of files to be sent to HITL (Human-in-the-Loop). Based on this percentage, files will be sent to HITL accordingly. For example, if the percentage is set to 50 and 2 files are processed, then 1 file will be sent to HITL, while the other will be sent directly to the Destination DB.
    • Rule Logic - The user can set the logic to either AND or OR
    • Add Rule - Here, the user can set rules based on specific conditions. All prompt keys (used in Prompt Studio) will be listed, allowing the user to validate conditions. For example, if the key is 'Name,' the user can set a rule such as 'Name starts with Joseph.' Only files that satisfy the condition will be sent to HITL.

    img HQR Configuration

  7. Click on the settings in the HITL tab and set the field value for 'After approval, send result to.' The available options are 'Destination DB' and 'Queue.' Based on the selected option, the file will be sent to the database or the queue after approval.

    img HQR Configuration

  8. After configuring Source and Destination in the workflow.