---
sourceDocument: Brazil Customer Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/customer-service-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# How Document Intelligence works

# How Document Intelligence for Customer Service works {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 5 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of How Document Intelligence for Customer Service works

Document Intelligence for Customer Service automates the extraction of relevant information from email and case attachments, populating fields on case records to enhance case management efficiency.
It leverages machine learning models to recognize and extract data, reducing manual data entry and improving case handling speed.
Show full answer Show less  

## Use Cases and Components

A use case defines the document structure and extraction parameters, including:

* **Fields:** Specific data points to extract and map to case fields.
* **Field groups:** Facilitate extraction from complex document elements like tables and checkboxes.
* **Document tasks:** Training instances created from case attachments to continuously improve model accuracy. Agents can validate and correct extracted data in the CSM Configurable Workspace.
* **Integrations:** Conditions that determine when extraction occurs, based on case or case type attributes (e.g., Category equals Credit Card). The system selects the best matching use case based on these integrations.

## Extraction Modes

Extraction modes control how data is processed and reviewed:

* **Recommendation:** Provides AI-based suggestions for all fields, requiring agent review and confirmation.
* **Auto-fill:** Automatically fills fields when confidence is sufficient, with mandatory agent review. Confidence threshold is configurable.
* **Fully automated (Straight through processing):** Automatically processes documents without agent intervention if confidence exceeds thresholds, suitable for high-volume or trusted document types.

## Field Identification and User Interface

Extracted values are clearly marked on the Case form with AI icons and labels in CRM Workspace, or with "Predicted from DocIntel" messages in Core UI. Agents can view additional context via information icons. In non-fully automated modes, agents must validate or correct extracted values using the Document Intelligence workspace before submission.

## Performance and Notifications

Extraction speed depends on attachment volume and data center location. The system notifies users if extraction fails, is slow, or if attachments are missing or unexpected, ensuring transparency in processing status.

## Operational Workflow

* Upon case creation, the system checks for valid attachments based on configured supported types.
* It selects the appropriate use case via integration conditions tied to the case or case type.
* Tasks are created for each attachment and sent to the prediction model, which applies OCR to extract data.
* Task status updates to Done when extraction completes.
* Depending on extraction mode, values are either auto-applied or presented for agent validation in the Document Intelligence workspace.
* Agents can review, confirm, or correct extracted data directly from the case or through the dedicated workspace interface.  
Document Intelligence for Customer Service extracts relevant information from email and case attachments and adds it to fields on the case record.

## Use cases {#csm-docintel-how-it-works__section_mst_sfk_wtb}

A use case, previously known as a task definition, is a template that is used to define the structure of a type of document you want to process. A use case is made up of the use case record and its related fields, field groups,
integrations, flows, and all the related machine learning (ML) models.  
{#csm-docintel-how-it-works__table_cdv_trj_h5b__entry__2}

| Component | Description |
|-|-|
| Fields | Identifies a field that you want to extract a value for. A use case includes the list of fields to extract from case and email attachments and a mapping of the extracted values to fields in the Case table. |
| Field groups | Field groups help Document Intelligence extract data from documents with tables, check box lists, and other logical groupings of fields. |
| Document tasks | A document task includes one or more attached documents that are used to train the use case to identify and extract the correct information. Document tasks are stored in the Document Tasks related list on the Use Case form. The Document Intelligence feature creates these tasks for each case with valid attachments. Each task trains the model. In CSM Configurable Workspace, agents can view these tasks, confirm or correct extracted values, and continue to train the model. |
| Integrations | Select conditions that tell the Document Intelligence feature when to extract values. The system creates tasks for those cases that meet the specified conditions. For example, you can add a condition on the Category field where \[Category\] \[is\] \[Credit Card\]. At run time, the system evaluates the active use cases and identifies the use case to use for the case based on the integration. The first active use case that matches the integration for the case or case type is selected. If there are use cases for the case or case type but none that match the integrations, then no use case is selected. You can create one integration for a use case. If a use case has more than one integration, the system uses the latest one. Note: When creating an integration, make sure that the Create Flow check box remains unchecked. |
[Table 1. Document Intelligence use case components]

{#csm-docintel-how-it-works__table_cdv_trj_h5b}

Users with the ti_admin role or the ti_analyst role can create use cases for cases and for case types. At run time, the system identifies the correct use case based on the case or case type when a case is created and has a valid
attachment. If there is no use case for a specific case type, the system goes up in the hierarchy chain until it finds a use case to use.

Use cases are stored in the Use Case (di_task_definition) table.

## Extraction modes {#csm-docintel-how-it-works__section_z2f_23k_wtb}

A use case includes an extraction mode that determines how the data is extracted in the document task and how the task is processed. The mode changes the behavior of the fields in the Document Intelligence workspace.

DocIntel uses the following extraction modes  
{#csm-docintel-how-it-works__table_vzp_p3p_d5b__entry__2}

| Extraction mode | Definition |
|:-|:-|
| Recommendation | Provides recommendations for the extracted fields in the Document Intelligence workspace. Agents can choose the recommended value for a field or manually enter a value. All fields must be reviewed. Recommendations are ordered based on how confident the AI is in the prediction. As Document Intelligence continues processing your documents, recommendations can improve over time. |
| Auto-fill | Adds values for the extracted fields in the Document Intelligence workspace. All fields must be reviewed. Auto-fill works only if the AI has enough confidence to make the prediction. You can change the confidence threshold by updating the Auto-fill threshold field in the use case. |
| Fully automated (Straight through processing) | DocIntel extracts the data for all fields and processes the document task if the confidence scores for all required fields are above the defined confidence threshold. DocIntel becomes more confident over time, as it processes more and more documents. Choose Fully automated mode for frequently processed documents or if you're confident in the system. |
[Table 2. Document Intelligence use case extraction modes]

{#csm-docintel-how-it-works__table_vzp_p3p_d5b}

## Extraction labels {#csm-docintel-how-it-works__section_zdv_3xy_b5b}

In CRM Workspace, the fields on the Case form that contain Document Intelligence predicted values are identified with an AI icon (![AI icon]()) and label. These fields also include an information icon that displays a message with additional context about the predicted values.  
In Core UI, the fields on the Case form that contain Document Intelligence predicted values are identified with the message `Predicted from DocIntel`.

* For Fully automated mode, the message appears below each extracted field returned by the task. The values and messages for each field are added to the case before the agent views the case record.
* For the other extraction modes, the agent reviews the extracted values in the Document Intelligence interface, confirms or corrects values, and submits those values. The message then appears below the extracted fields.
{#csm-docintel-how-it-works__ul_e3t_p4c_35b}

## Predicted field values {#csm-docintel-how-it-works__section_gc1_kfp_4yb}

In CRM Workspace, the fields on the Case form that contain Document Intelligence predicted values are identified with an AI icon (![AI icon]()) and label. These fields also include an information icon that displays a message with additional context about the predicted values.

In Core UI, the fields on the Case form that contain Document Intelligence predicted values are identified with the message `Predicted from DocIntel`.

## Performance {#csm-docintel-how-it-works__section_itm_nhf_g5b}

The Document Intelligence for Customer Service feature needs time to identify cases with attachments, scan the attachments, and make recommendations for case fields. The response time also depends on factors such as case with attachment
volume and data center location.  
The system displays notifications to the user for the following scenarios:

* If the extraction fails.
* If the extraction is too slow.
* If there are no attachments.
* If there are unexpected attachments.
{#csm-docintel-how-it-works__ul_ycz_2rk_wtb}

## How it works {#csm-docintel-how-it-works__section_w3d_s2f_g5b}

When a case is created, Document Intelligence for Customer Service checks to see:

* If the case has one or more attachments.
* If the attachment types are specified in the sn_csm_ml_task.case.docintel.parsing_supported_types system property.
{#csm-docintel-how-it-works__ul_px1_c2y_b5b}  
If yes, the feature:

* Identifies the right use case to use based on the case or case type and the use case integrations.
* Creates a task using the use case, the sys_id of each attachment, and the case reference.
* Sends the task, attachment sys_ids, and case reference as inputs to the prediction model.
* Uses optical character recognition (OCR) solutions to extract data from the documents.
* Sets the status of the task to Done once the solution has completed.
* If the extraction mode in the use case is set to Fully automated, the extracted values are added to the case.
* If the extraction mode is set to Autofill or Recommendation, the agent can validate the extracted values in the Document Intelligence workspace.
{#csm-docintel-how-it-works__ul_dmd_kph_25b}  
The agent can open a case and review the predicted fields or review the prediction task by selecting Review in DocIntel and opening the Document Intelligence workspace interface in a separate tab. From this interface, agents can:

* Review each predicted field.
* Confirm correctly predicted values.
* Update incorrect or missing values.
* Submit the changes.
{#csm-docintel-how-it-works__ul_b2d_sqh_25b}

