Auto populate information from email to legal request or matter

  • Release version: Australia
  • Updated March 12, 2026
  • 1 minute to read
  • 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.

    Before you begin

    Role required: sn_lg_ops.legal_config

    About this task

    The script include OutlookMappingConfig available in the base system supports the mapping of the following variables of the email.
    • subject - Subject of the email.
    • fromEmail - Sender's email address.
    • body - Email content

    Procedure

    1. Navigate to All > System Definition > Script 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.
        Defining the email mapping with the intake forms in the script include.
    4. In the copied mapping object, specify the key-value pairs using the variables from the intake form.
      Variables from emailVariables 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 subject with short_description 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 fromEmail with requested_for 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 body with description by including the following code.
      description: "body"
    5. After defining the object, select Update.