---
sourceDocument: Australia Employee Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/employee-service-management

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# Auto populate information from

# Auto populate information from email to legal request or matter {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Map the sender's email address, email content, and subject field from an email to legal request fields to automatically fill in information from the email to the submitted legal request.

## Antes de Iniciar

Role required: sn_lg_ops.legal_config

## Por Que e Quando Desempenhar Esta Tarefa

The script include OutlookMappingConfig available in the base system supports the mapping of the following variables of the email.

* <var class="keyword varname">subject</var> - Subject of the email.
* <var class="keyword varname">fromEmail</var> - Sender's email address.
* <var class="keyword varname">body</var> - Email content
{#lsd-outlook-adddin-map-fields__ul_pzj_yp5_wbc}

## Procedimento

1. Navigate to AllSystem DefinitionScript Includes.
2. Select the OutlookMappingConfig.
3. Define the email mapping with the intake forms of the practice area.
   1. Open the script include.
   2. Copy and paste the existing mapping object into the script field.
   3. Copy the sys_id of the intake form of the practice area that you want to map to the email.
   4. Replace the object key with the copied sys_id.  
   {#lsd-outlook-adddin-map-fields__substeps_d31_bcx_bfc}
4. In the copied mapping object, specify the key-value pairs using the variables from the intake form.

   | Variables from email | Variables from legal request |
   | subject | Specify the legal request variable into which you want to store the email subject line. Example: If you want to copy the subject of email into the short description of the legal request, map <var class="keyword varname">subject</var> with <var class="keyword varname">short_description</var> by including the following code. short_description: "subject" |
   | fromEmail | Specify the legal request variable into which you want to store the sender's email address. Example: If you want to copy the sender's email address into the requested for of the legal request, map <var class="keyword varname">fromEmail</var> with <var class="keyword varname">requested_for</var> by including the following code. requested_for: "fromEmail" |
   | body | Specify the legal request variable into which you want to store the email content. Example: If you want to copy email content into the description, map <var class="keyword varname">body</var> with <var class="keyword varname">description</var> by including the following code. description: "body" |
   |-|-|

   {#lsd-outlook-adddin-map-fields__choicetable_mdk_wvs_xcc}
5. After defining the object, select Update.

