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

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# Create a Document Intelligence use case

# Create a Document Intelligence use case {#ariaid-title1}

* Release version: Xanadu
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 7 minutes to read

Create a use case that identifies the information to extract from email and case
attachments and determines how users with CSM agent roles interact with the extracted values in
the Document Intelligence workspace.

Before you begin
:   Role required: sn_csm_ml_task.ti_analyst, sn_csm_ml_task.ti_admin, admin

About this task
:   A use case contains the list of fields to extract from attachments and a mapping of
    those fields to fields in the Case table or a case type table. It also contains an
    extraction mode that controls how the values for the extracted fields are added to the
    case.  
    Use cases include the following information.{#csm-task-intel-create-di-use-case__table_mls_rkw_fwb__entry__2}

    | Use case information | Description |
    |-|-|
    | Fields | Configure the list of fields to predict for a use case. A field is a single piece of information to extract from a document. For example, the date on a document. |
    | Document tasks | Create a document task and include attachments that are used to train the Document Intelligence model to identify the correct information. |
    | Integrations | Select conditions for a use case that tell the Document Intelligence feature when to run. |
    [Table 1. Use case form fields and descriptions]

    {#csm-task-intel-create-di-use-case__table_mls_rkw_fwb}

Prerequisite
:
    * Activate Task Intelligence for Customer Service (com.snc.csm_ml_task).
    * Activate Document Intelligence Admin (com.snc.docintel_admin).

    {#csm-task-intel-create-di-use-case__ul_zqs_ltg_hvb}For more information, see [Configure Document Intelligence for Customer Service](https://servicenow-prod.fluidtopics.net/c2OiPY2oQkn6v4kiY8dzNA "Enable Document Intelligence for Customer Service and create use cases to extract data.").

## Access the DocIntel Admin experience {#csm-task-intel-create-di-use-case__section_icx_xdz_g5b}

1. Navigate to AllTask Intelligence for Customer ServiceSetup to open the Task Intelligence Admin Console.
2. In the Explore related applications section of the console, select Open DocIntel in the Document Intelligence card to open the DocIntel Admin experience.
{#csm-task-intel-create-di-use-case__ol_lzt_g2z_g5b}

## Create a use case {#csm-task-intel-create-di-use-case__section_j3m_j15_2wb}

Create a use case to identify a document or set of documents to be processed together in Document Intelligence. With Document Intelligence for Customer Service, the [Use
Cases list](https://servicenow-prod.fluidtopics.net/1gFZ1rkdHtOX3OlWWeNe7g#csm-document-intelligence__section_cyk_n1r_fwb) in the DocIntel Admin experience uses a default filter with an OR condition to show use cases for:

* Application = Task Intelligence for Customer service -or-
* MLUC ID = MLUC CSM-00003
{#csm-task-intel-create-di-use-case__ul_jyy_xbr_fwb}  
To create a use case:

1. Select Use Cases in the DocIntel Admin header.
2. Select New use case in the Use Cases list.
3. In the Define a new use case pop-up window, enter the following information.{#csm-task-intel-create-di-use-case__table_trk_1dg_2wb__entry__2}

   | Field | Definition |
   |-|-|
   | Name | The name of the use case. |
   | Location for the extracted data | The table that contains the records to be automatically populated with data extracted from attachments. Set this field to the case or case type that is relevant to your use case. |
   | Extraction mode set by default | The extraction mode determines how the results are displayed to agents in the Document Intelligence workspace. The DocIntel Admin starts by showing the results for each use case as recommendations. |
   [Table 2. Define a new use case pop-up window]

   {#csm-task-intel-create-di-use-case__table_trk_1dg_2wb}
4. Select Save to add the use case to the Use Cases list.
{#csm-task-intel-create-di-use-case__ol_bkl_k15_2wb}

## Define the fields to extract {#csm-task-intel-create-di-use-case__section_mz2_hf1_fwb}

After creating a use case, select the fields that you want to extract. You can select one or more fields for a use case. These fields can be of the text or Boolean type.  
Note:  
The fields to be extracted should already exist in the use case target table. If the fields do not exist in the target table, add them to the table and then complete this step.

1. Select a use case in the Use Cases list.
2. Select the Fields tab.This tab lists the fields that have been selected for
   extraction for the use case.

3. Select Define your fields.

   If you have already defined one or
   more fields and you want to add another field, select New field.
4. Fill in the fields in the Define a new field pop-up window.  
   {#csm-task-intel-create-di-use-case__table_tsh_4mb_fwb__entry__2}

   | Field | Definition |
   |-|-|
   | Use case | \[Read only\] The use case associated with this field record. |
   | Field Name | The display name of the field to extract as it appears in the Document Intelligence workspace. |
   | Field Type | The type of field (for example, a text field or a check box option). Field type is read-only if you add this field to a field group. The field type is whatever is designated for the group. Some field types convert the extracted value into a standard format. See [Data normalization](https://www.servicenow.com/docs/access?context=data-normalization&version=xanadu&pubname=xanadu-intelligent-experiences&ft:locale=en-US). |
   | Is field required | \[Text and number fields only\] Required fields can't be left empty or unreviewed. |
   | Add field | Select the field group that you want to add the field to. |
   | Target Table | \[Read only\] The table that stores the document processing results for this use case. |
   | Target Field | Field on the target table you want to align this field with. Used for integration. Note: You must select a use case with a target table. |
   | Define multiple fields | If you're adding more than one field to the use case, enable this check box to keep the pop-up window displayed on the screen. |
   [Table 3. Define a new field pop-up window]

   {#csm-task-intel-create-di-use-case__table_tsh_4mb_fwb}
5. Select Add field.

   The system adds the field definition to the
   Fields list.
{#csm-task-intel-create-di-use-case__ol_ccx_3f1_fwb}

## Create a document task {#csm-task-intel-create-di-use-case__section_evk_5s1_fwb}

Document tasks include attached documents that are used to train the model to identify and extract the correct information.

1. Select a use case in the Use Cases list.
2. Select the Document tasks tab.This tab lists the tasks that have been created for
   the use case.

3. Select Create a document task.

   If you have already created
   one or more tasks and you want to add another task, select New document task.
4. In the Create the document task pop-up window, enter a Document task name.
5. Select +Add File to add one or more attachments.
6. Select the file and then select Open.
7. In the Upload a file pop-up window, select Upload.
8. In the Create the document task pop-up window, select Add Extraction.  
   The system adds the task to the Document Tasks list and Document Intelligence begins the data extraction process, which can take a short time to complete.
   * When the extraction process is complete, the Is Processed field is set to true.
   * When the values have been extracted from the document, the Status field is set to Done.
   {#csm-task-intel-create-di-use-case__ul_cbr_vxp_fwb}
9. Open the task and select Open in Document Intelligence to view the task in the [Document Intelligence
   Workspace](https://www.servicenow.com/docs/access?context=doc-intel-workspace&version=xanadu&pubname=xanadu-intelligent-experiences&ft:locale=en-US).
10. Train the extracted fields to identify the correct values.
    1. If a field value is correct: put your cursor in the field and press Return to confirm the value.
    2. If a field value is missing: select the value from the list and press Return to confirm the value.
    3. If a field value is incorrect: delete the incorrect value and enter the first few characters of the correct value. When the correct value appears in the list, select it and then press Return.
    4. If a field value is incorrect and the correct value does not appear on the image, select Missing in the document from the list.
    5. Select Submit.
    {#csm-task-intel-create-di-use-case__ol_czp_d2b_fwb}
{#csm-task-intel-create-di-use-case__ol_zsk_ys1_fwb}

## Create an integration {#csm-task-intel-create-di-use-case__section_mdh_pbb_fwb}

Select conditions for a use case that tell the Document Intelligence feature when to
run.  
You can create one or more integrations for a use case. If a use case has more than one Integration, the system uses the latest one at run time.  
Note:  
When creating an integration, make sure that the Create Flow check box remains unchecked.

1. Select a use case in the Use Cases list.
2. Select the Integrations tab.This tab lists the integrations that have been created
   for the use case.

3. Select Set up your first integration.

   If you have already
   created one or more integrations, select Add integration.
4. In the Create Integration pop-up window, enter a name for the integration.
5. Use the condition builder to select conditions that tell the Document Intelligence feature when to predict values.At run time, the system identifies the right task
   definition based on these filters. The first active task definition that matches the
   filters for the case or case type is selected.

6. Select Save.
{#csm-task-intel-create-di-use-case__ol_u4t_5bb_fwb}

## Set general Document Intelligence features {#csm-task-intel-create-di-use-case__section_uqr_n35_2wb}

General settings determine how the Document Intelligence feature displays information to agents. General settings apply to all use cases.

1. Select Settings in the DocIntel Admin header.
2. Enable or disable the Exact match option. When enabled, Document Intelligence displays only the candidate values that exactly match what the agent types.
3. Enable or disable the Candidate score to display confidence scores for each recommendation.
4. Select a layout for the Side panels.
5. Set the Default width of the extraction panel.
6. Set the Default width of the thumbnail panel.
7. Select the Default document fit for the image panel.

For more information about the general settings, see [Configure Document
Intelligence](https://www.servicenow.com/docs/access?context=doc-intel-administration&version=xanadu&pubname=xanadu-intelligent-experiences&ft:locale=en-US).

## Configure the data extraction mode {#csm-task-intel-create-di-use-case__section_blm_x15_2wb}

The extraction mode determines how the Document Intelligence workspace handles the extracted values. Two extraction modes are available: Recommendation and Autofill.

* Recommendation mode 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.
* Autofill mode adds values to the fields in the Document Intelligence workspace if the extraction confidence is higher than the Autofill Threshold value.
{#csm-task-intel-create-di-use-case__ul_qqm_nfq_fwb}  
1. Select Settings in the DocIntel Admin header.
2. In the left column of the Settings page, expand the Use Cases list and select a use case.
3. Select Extraction Mode.
4. To use the Recommendation mode, enable Mode 1: Recommendation.

5. To use the Autofill mode, enable Mode 2: Autofill.
   1. Enter a percentage value in the Set the Autofill Threshold field.
   2. Enter a percentage value in the Set the Warning Threshold field.

   {#csm-task-intel-create-di-use-case__ol_j4y_f35_2wb}

{#csm-task-intel-create-di-use-case__ol_qtr_fb5_2wb}

## Configure the agent verification setting {#csm-task-intel-create-di-use-case__section_olw_yk5_2wb}

By default, agents review and verify the fields with values that are extracted from attached documents. You can enable Straight Through Processing to automatically populate these fields with extracted values. When enabled, agents only review and verify the extraction tasks if the confidence score of all field values is below the set threshold.

1. In the left column of the Settings page, expand the Use Cases list and select a use case.
2. Select Agent Verification.

3. If desired, enable Straight Through Processing.
4. Enter a percentage value in the Set Straight Through Processing Threshold field.
{#csm-task-intel-create-di-use-case__ol_djb_jm5_2wb}

*[\>]: and then


