# EnateAI - Document Classification

### Overview <a href="#overview" id="overview"></a>

The EnateAI Document Classification component, available in Enate [Marketplace](https://docs.enate.net/enate-help/builder/builder-2021.1/integrations-marketplace), analyzes the attachments of incoming emails and automatically classifies them with a tag.

This provides accurate tagging of the files in your work items without an agent needing to spend time doing this manually, saving time and effort and allowing them to focus on their core activities.

Check out this video to find out more:

{% embed url="<https://enate.cdn.spotlightr.com/watch/MTcxNTc4NA==>" %}

Tagging is very helpful to add more structure to your files information, and it opens up further features such as auto-attaching files with certain tags to emails being auto-sent by the system, or into canned response mail sections in emails you're composing. Similarly, file tagging allows external automation routines to know which specific files to pick up from a work item at various points in the process, so it can often be crucial to do this if a file tag is needed later on in the work item's processing.

If at any point EnateAI is not confident of its results, based on a confidence threshold that Builder users can set via the Integrations section of the General Settings page, Enate will highlight this to a service agent in the files tab of a work item for them to look over and complete, giving you that 'human in the loop' support.

A confidence level will be displayed where such automated suggestions of file tag values have been made, so agents can see just how sure the system is in this classification.

When confidence levels are lower, the tag will be highlighted in orange. In this scenario, make sure to confirm it if you agree with the suggested tag in order to set it, or alternatively change it to your preference. Every time you do this, EnateAI will learn and get a little bit better at suggesting the right tag. If you notice that the AI is regularly getting its suggestions wrong, speak to your admin team about modifying the confidence threshold.

EnateAI Document Classification can be switched on by your admin in the Marketplace section of Enate Builder.

### How does EnateAI Document Classification work at runtime <a href="#how-it-works-at-runtime" id="how-it-works-at-runtime"></a>

In Work Manager, when an email comes in for that process with an attachment, if the attachment is of the right file type as defined in the process' contract, it will be analyzed and automatically classified with a tag by EnateAI.

<figure><img src="/files/2SnjgtCZd4aFHxvFhOFW" alt=""><figcaption></figcaption></figure>

A confidence level will be displayed where such automated suggestions of file tag values have been made, so agents can see just how sure the system is in this classification.

When confidence levels are lower, the tag will be highlighted in orange.

<figure><img src="/files/PUccQvhLMa40KKRwpsDW" alt=""><figcaption></figcaption></figure>

In this scenario, make sure to confirm it if you agree with the suggested tag in order to set it, or alternatively change it to your preference.

<figure><img src="/files/spzeKEeUYoUu4dNCNjNF" alt=""><figcaption></figcaption></figure>

If you notice that the technology is regularly getting its suggestions wrong, speak to your admin team about modifying the confidence threshold.

It should be noted that even when the AI is confident of its decision, the user can still click to expand the tag to see the details and reject the AI's decision.

<figure><img src="/files/2F5vECPVAmN70GylqC88" alt=""><figcaption></figcaption></figure>

### How to turn on EnateAI Document Classification <a href="#how-to-turn-on-enateai-document-classification" id="how-to-turn-on-enateai-document-classification"></a>

EnateAI requires zero configuration by Builder users and they can activate EnateAI Document Classification via the Enate Marketplace using just one click. Activating EnateAI Document Classification will enable it for all mailboxes.

<figure><img src="/files/9Tfypql0MXagunS98iKf" alt=""><figcaption></figcaption></figure>

Then at the contract level of a business process select the EnateAI Classification model.

<figure><img src="/files/AY1nh2FW6gR64hhFMHAJ" alt=""><figcaption></figcaption></figure>

Underneath the Document Classification Model drop down, you have the option to specify what files types are to be allowed for document classification.

<figure><img src="/files/SwqcBsgnfnnbxI4q13YS" alt=""><figcaption></figcaption></figure>

#### How do you set the confidence threshold for EnateAI Document Classification <a href="#how-do-you-set-the-confidence-threshold-for-enateai-document-classification" id="how-do-you-set-the-confidence-threshold-for-enateai-document-classification"></a>

Builder users can change the confidence threshold via the integrations section of the settings page of Builder.

<figure><img src="/files/xuaRnY7RGtFmvVAZJ8gZ" alt=""><figcaption></figcaption></figure>

#### Third party providers <a href="#third-party-providers" id="third-party-providers"></a>

Third party providers of document classification integrations can be found [here](https://docs.enate.net/enate-help/integrations/enate-integrations/auto-tag-email-attachments-document-classification).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.enate.net/whats-new/2024.1/2024.1-marketplace/enateai-document-classification.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
