---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Create a custom email subflow

# Create a custom email subflow {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

Create an email subflow according to your requirements. You can then select this
subflow to define translation preferences for a language.

## Before you begin

Roles required: localization_admin and flow_designer

## About this task

The Localization Framework provides a default email subflow that you
can customize.

Copy the existing email subflow configured for the Localization Framework and then customize it. Publish the customized
subflow so that it is available for selection when setting up the translation
preference for a language. For more information, see [Create a subflow](https://www.servicenow.com/docs/access?context=create-subflow&version=xanadu&pubname=xanadu-build-workflows&ft:locale=en-US).

## Procedure

1. Navigate to AllProcess AutomationFlow Designer.
2. In the Workflow Studio window, click Subflows.
3. Click Send LF Email for Translation subflow.  
   The Send LF Email for Translation subflow opens in the Workflow Studio in read-only format. The inputs in this subflow are described in the following table:{#create-email-subflow__table_cfz_2fx_xnb__entry__3}

   | Name | Description | Type |
   |-|-|-|
   | lftask_record | Associated Localization Framework task record. | Reference.Localization Task \[sn_lf_insight\] |
   | attachment_record | Contains a file related to the LFTASK that can be sent via Email for translation. | Reference.Attachment |
   | send_to | Contains email addresses of the recipients to send the LF task file. | String |
   | source_language | Language from which the localization task was created. | String |
   | target_language | Language into which the content of the localization task gets translated into. | String |
   [Table 1. Send LF Email for Translation input parameters]

   {#create-email-subflow__table_cfz_2fx_xnb}
4. In the subflow header, click the more actions icon ![More actions]() and select Copy subflow.
5. In the New subflow name field, enter the name of the new subflow.
6. To limit the application scope of the subflow, in the Application field, select the required application, otherwise select Global.
7. Click Copy.  
   The new subflow is created and opens in the subflow designer editor. The inputs from the copied subflow appear.  
   Note:  
   Inputs are fixed and cannot be edited.
8. In the Actions section, click Send Email.  
   This expands the Send Email section. The fields in the Send Email section are described below:{#create-email-subflow__table_xf1_5yx_xnb__entry__2}

   | Field name | Description |
   |-|-|
   | Action | Name of the action. Default: Send Email. |
   | Target Record | Associated Localization Framework task record |
   | Table | Name of the table where the localization task resides. |
   | Include Watermark | Adds a watermark in the file associated with the localization task. |
   | To | Contains email addresses of the recipients who should be addressed directly. |
   | CC | Contains email addresses of the recipients who should see the list of recipients directly addressed in the email. |
   | BCC | Contains email addresses of the recipients who are copied on the email but not displayed in the email. |
   | Subject | The text about the email that its recipients can see. |
   | Body | The text message about the localization task being sent for translation. |
   [Table 2. Send Email fields]

   {#create-email-subflow__table_xf1_5yx_xnb}
9. Click Done, when you have modified the fields as per your requirement.
10. Click Copy Attachment.  
    The Copy Attachment action expands. The fields in the Copy Attachment section are described below:{#create-email-subflow__table_gss_rdy_xnb__entry__2}

    | Field name | Description |
    |-|-|
    | Action | Name of the action. Copy Attachment is displayed by default. |
    | Source Attachment Record \[Attachment\] | Translatable content file of the localization task. |
    | Target Record | Represents the target record in the email. |
    | Table | Represents the email table. |
    [Table 3. Copy Attachment fields]

    {#create-email-subflow__table_gss_rdy_xnb}
11. Click Save, to save the subflow in draft status.
12. Click Publish.

## Result

Use the published subflow to define the translation preference for a language.

*[\>]: and then


