# Workflow

## **Workflow** <a href="#dwt9c5l8tbhb" id="dwt9c5l8tbhb"></a>

Workflows in Kudra comprise interconnected nodes that serve as fundamental elements within a process. By linking various processing nodes, you can automate extraction and analysis of the most complex documents with ease.

### **The Workflows Page** <a href="#j9r9p78czpp1" id="j9r9p78czpp1"></a>

On the workflows page, you will find cards representing the workflows you have created. Each workflow card contains the workflow's name, description, a "Use to Extract" button, an edit icon, and a three-dots menu. These elements help you manage and interact with your workflows effectively.

<figure><img src="https://275675291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKm9rcVqY6xTBTdrCzLT%2Fuploads%2FspbSFLUY46k5KoNuSZrh%2FWorkflows%20Repo%20%E2%80%A2%20Workflow%20Cards.png?alt=media&#x26;token=c56b80d5-0f10-419c-91e6-22e7bff525b1" alt=""><figcaption><p>Workflows Page</p></figcaption></figure>

#### **Search and Filter**

You can use the search bar to find specific workflows by typing in keywords or names. Additionally, you can filter the workflow cards using the following options:

* **Last Modification**: Order workflows based on the most recent changes.
* **Alphabetical**: Sort workflows alphabetically by their names.
* **Creation Date**: Arrange workflows by the date they were created.

#### **Workflow Card** <a href="#id-55zcpxme12ni" id="id-55zcpxme12ni"></a>

<figure><img src="https://275675291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKm9rcVqY6xTBTdrCzLT%2Fuploads%2FvbuhVitGPDGSDpkBjyjC%2FGroup%201000001356.png?alt=media&#x26;token=8eebbbd7-da25-49a6-84b3-893c8c92a01a" alt="" width="546"><figcaption><p>Workflow card</p></figcaption></figure>

Each workflow card includes several interactive elements:

* **Title**: The title of the workflow.
* **Description**: A brief summary of what the workflow does.
* **Use to Extract Button**: Click this button to extract data or utilize the workflow.
* **Edit Icon**: Click the edit icon to make changes to the workflow.
* **Three Dots Menu**: Click the three dots to open a menu with additional options:
  * **Edit Template**: Select this option to edit the workflow template.
  * **Duplicate Template**: Choose this to create a copy of the workflow template.
  * **Delete Template**: Use this option to remove the workflow template.

### **Create a Workflow** <a href="#id-1xkzzrmz3037" id="id-1xkzzrmz3037"></a>

The Create Workflow section allows you to design and manage custom workflows customized to your specific needs. Whether starting from scratch or using a pre-designed template, this section guides you through the workflow creation process.

#### **Workflow Creation**

1. **Navigate to the Workflow Page**: Click the "Create a Workflow" button to enter the workflow interface.

<figure><img src="https://275675291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKm9rcVqY6xTBTdrCzLT%2Fuploads%2FFrOAofIQMO6al8g4jEvw%2FWorkflows%20Repo%20%E2%80%A2%20Workflow%20Cards%20(1).png?alt=media&#x26;token=223938ec-24ed-4679-97eb-316a8e6177c0" alt="" width="563"><figcaption><p><strong>Workflow Page</strong></p></figcaption></figure>

2 . **Choose Your Starting Point**: In the workflow interface, select either a blank workflow to start from scratch or choose a template to begin with.

<figure><img src="https://275675291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKm9rcVqY6xTBTdrCzLT%2Fuploads%2FfbamxVsU0RmY1M2T4lXV%2FWorkflows%20%E2%80%A2%20Custom%20Workflows%20-%20Building%20Nods%20(Card%20Blank%20Workflow%20-%20hover%20)%20(2).png?alt=media&#x26;token=c849ad90-9f3e-40e2-8142-f6b40734b80b" alt="" width="563"><figcaption></figcaption></figure>

3 . **Customize Your Workflow**: After choosing to create a workflow from scratch or selecting a template, you will be able to customize your workflow according to your requirements.

<figure><img src="https://275675291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKm9rcVqY6xTBTdrCzLT%2Fuploads%2FRxA90C4HJrZIrAcID7q0%2FWorkflows%20%E2%80%A2%20Custom%20Workflows%20-%20Empty.png?alt=media&#x26;token=6ffa9440-8642-48b1-9475-37d69fdad8de" alt=""><figcaption><p>Workflow buider</p></figcaption></figure>

## **Workflow** sections <a href="#id-2m4ojkh75xdn" id="id-2m4ojkh75xdn"></a>

<figure><img src="https://275675291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKm9rcVqY6xTBTdrCzLT%2Fuploads%2Ff6nVNqS2r0qSDmTkS2AF%2FWorkflows%20%E2%80%A2%20Custom%20Workflows%20-%20Empty%20(2).png?alt=media&#x26;token=207332f2-64cc-44f2-8b27-c6421c2eb3e9" alt=""><figcaption></figcaption></figure>

The workflow includes four main divisions:

1. **Import**: Import data or content from various document types, such as text files, images, spreadsheets, or CSV files.
2. **Processing**: Utilize nodes to process and manipulate the imported data or content as per your needs.
3. **Post-Processing**: Define additional processing steps to further refine the data.
4. **Exporting**: Choose the export options for your processed data or content, such as Dropbox, iCloud, Google Drive, and other platforms.

## **Utilizing and Customizing Workflows** <a href="#id-20zpeez5q7x6" id="id-20zpeez5q7x6"></a>

#### **Add Nodes**

You can add nodes to your workflow using two methods:

<figure><img src="https://275675291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKm9rcVqY6xTBTdrCzLT%2Fuploads%2FYNi0VYkg2lxiek6EiMP5%2FWorkflows%20%E2%80%A2%20Custom%20Workflows%20-%20Empty%20(5).png?alt=media&#x26;token=0f1dfcdd-2cbb-4308-828e-0f18f3d9baa7" alt=""><figcaption></figcaption></figure>

1. **Drag and Drop Nodes**: Drag nodes from the left panel and drop them into the desired section of your workflow.
2. **Using the "+" Button**: Click the "+" button within the section where you want to add a node. *A modal will appear containing a list of available nodes. Choose the desired node from the list and click the "Add" button on the node card to add it to your workflow.*

<figure><img src="https://275675291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKm9rcVqY6xTBTdrCzLT%2Fuploads%2FJurZFlbnTLKjxmTyFC5g%2FGroup%201000001357.png?alt=media&#x26;token=04d3039c-b5e8-4f15-ae7b-2c8327d1d45b" alt="" width="563"><figcaption><p>Nodes Modal</p></figcaption></figure>

#### **Remove Nodes**

<figure><img src="https://275675291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKm9rcVqY6xTBTdrCzLT%2Fuploads%2F0dAR1tCjyoY2C2bOfujP%2FGroup%201000004748.png?alt=media&#x26;token=c1484eb5-a490-40e0-a029-35bb531d8cda" alt=""><figcaption></figcaption></figure>

To delete a node from the workflow, click on the button with a “trash icon” next to the node. This action will remove the node from your workflow.

#### **Undo/Redo Actions**

<figure><img src="https://275675291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKm9rcVqY6xTBTdrCzLT%2Fuploads%2F7nAFhQgIJkmy871nphkH%2FGroup%201000004750.png?alt=media&#x26;token=70503e9a-04f0-405f-85e5-1e12a7dfd259" alt="" width="563"><figcaption></figcaption></figure>

To revert or redo actions within the interface, utilize the corresponding buttons.

#### **Edit Workflow Title/Description and save changes**

<figure><img src="https://275675291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKm9rcVqY6xTBTdrCzLT%2Fuploads%2F5uJlr9aYyCxnIyPrPAnZ%2FGroup%201000004752.png?alt=media&#x26;token=0cc025bc-3edd-4a46-ba6d-9a2e4c034fa8" alt=""><figcaption></figcaption></figure>

**Edit Workflow Title/Description**

Click on the edit icon adjacent to the title to modify the workflow's title and description. After clicking on the edit icon, a modal will appear where you can edit your title and description.

**Saving Changes**

To save your workflow after finishing the creation, click the "Save" button.

## **Workflow Templates** <a href="#id-327lett2xdba" id="id-327lett2xdba"></a>

**Filter Templates**

Use the nodes filter to narrow down options based on specific criteria. Alternatively, type the name of the template in the search bar to find a specific template.

<figure><img src="https://275675291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKm9rcVqY6xTBTdrCzLT%2Fuploads%2FBylsGw3trZmg5hLHJ0XZ%2FWorkflows%20%E2%80%A2%20Custom%20Workflows%20-%20Building%20Nods%20(Card%20Blank%20Workflow%20-%20hover%20)%20(3).png?alt=media&#x26;token=d86bdacb-ff0b-4c33-a93c-55cfc8d67da2" alt=""><figcaption></figcaption></figure>

**Explore Template Selection**

Switch between tabs on the left to explore template options further:

* **For You**: Templates recommended for you.
* **All Templates**: View all available templates.
* **Recent**: Templates you've recently accessed.
* **Popular**: Templates popular among users.

## **Workflow Services** <a href="#d4ftnbmlm2ci" id="d4ftnbmlm2ci"></a>

Kudra’s workflow feature allows users to streamline document processing tasks efficiently. It supports integrating various AI services seamlessly to automate complex workflows.

**Services Offered**

Kudra offers a range of AI-powered services categorized into OCR, extraction models, and generative AI extraction models:

1. **OCR (Optical Character Recognition)**
   * Extracts text from images and scanned documents, making them machine-readable.
2. **Extraction Models**
   * **Form Recognizer**: Identifies and extracts data fields from structured forms.
   * **Custom Entities**: Allows users to define and extract specific entities tailored to their needs.
   * **Invoice Model**: Automatically extracts key information from invoices, such as vendor details, amounts, and dates.
   * **Receipt Model**: Extracts relevant data from receipts, including items purchased, prices, and dates.
   * **ID Document Model**: Recognizes and extracts information from identification documents, such as passports or driver's licenses.
   * **Custom Relation Model**: Identifies and extracts relationships between entities specified by the user.
   * **Hugging Face**: Utilizes models from the Hugging Face library for natural language processing tasks.
   * **Text Classification**: Classifies text documents into predefined categories based on content.
   * **Various Tax Form Parsers**: Extracts data from specific tax forms like W9, W2, 1099, and others.
3. **Generative AI Extraction Models**
   * **ChatGPT**
   * **GPT Entity Extractor**
   * **Custom Entity Extractor**

These models leverage AI to generate or extract specific types of content, making document processing more efficient and accurate.
