> For the complete documentation index, see [llms.txt](https://docs.antsomi.com/cdp-365-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.antsomi.com/cdp-365-user-guide/quick-start-guide/how-to-send-mail-from-email-upload.md).

# How to send mail from email upload?

## ![1](https://lh3.ggpht.com/DvqCktyYSEo9pM47-2MDMI_yhbDnxXRHuPhIWnN5kH2AhIt0J1k07Ng5F2fuGysemfMmX54r=w47)Create attribute "Email" for Customer/Visitor

First, you have to create an attribute containing the customer email data, which you want to upload.

&#x20;   1\. After you have logged in, click on the Menu icon ![](/files/r7OBvnTq2KSLSOMDTcb4) in the left corner of the screen

&#x20;   2\. Select the menu as follows: **"DATA HUB" >> "Business Objects"**

![](/files/7FjRcoaYOgYpinnqVq2u)

&#x20; 3\. Select the object: **"Customer"/"Visitor"**&#x20;

![](/files/DdrPzDGQ10I3gyulUYf6)

&#x20;  4\. On the **"Attributes"** tab, select the icon ![](/files/K1XiqLnSPHzHq466qq4X)

&#x20;  5\. Select type **"Custom Attributes"**

&#x20;  6\. Enter the information to create [attributes ](#1.-mo-ta-cac-field-khi-tao-attribute). Note that the Datatype that must be selected is String.

&#x20;  7\. Click **"Save"**&#x20;

{% file src="/files/uR6ZUl12mfmWmpVOYK6v" %}

## ![](/files/tudDExLNUpCJJ9xKqHEQ)Upload data for "Email" Atrribute

&#x20;  1\. After you have logged in, click on the Menu icon ![](/files/r7OBvnTq2KSLSOMDTcb4) in the left corner of the screen

&#x20;  2\. Select the menu as follows: Personas >> Customers / Visitors

![](/files/jyPEy6eOhJMm5SnFdoH8)

&#x20;  3\. Click Upload icon ![](/files/prMc7kyzCWlxZQKqbceE)

&#x20;  4\. Select Local

![](/files/CMkE5LqtUUmO4DDORrWk)

&#x20;  5\. Select “Browse”, then select the file containing the desired Email data set. Only [.csv, .xls, .xlxs](#undefined) files are supported

![](/files/3vf9l26emLC8p7CDwfH9)

&#x20;  6\. Select Import type "Update Only"

&#x20;  7\. Mapping the existing Attributes in the “Customer” Object with the columns in the uploaded file.

![](/files/R4udWepySWOK5MlNeFE3)

&#x20;  8\. Click Save

{% file src="/files/HZe39ep2cBdQpw0QQOH9" %}

## ![](/files/NjhYRYurjdy9l9nWkMho)Create Destination to send mail

&#x20;  1\. After you have logged in, click on the Menu icon ![](/files/r7OBvnTq2KSLSOMDTcb4) in the left corner of the screen

&#x20;  2\. Select menu as follows: Marketing hub >> Destinations

![](/files/Wyoswgl4kzHsztoltkGr)

&#x20;  3\. Click icon ![](/files/qvyaJSg0vfSu6EiW2FqT) and select Email

![](/files/EGE396fcerpRA6zhXP1d)

&#x20;  4\. Set up information to create [destination](#create-attribute-email-for-customer-visitor). User can choose the corresponding mailing service in "Destination Catalog". In this example, we choose G Suite Email. Note: choose "Method" as "Send"

&#x20;  5\. At field "Email", click icon ![](/files/MGO4ThDb4tVtqL7iYyyI)Add Personalization.&#x20;

![](/files/QNl8bzsojiN3xnpEf0Ie)

&#x20;      Select Attribute "Email" in list attribute of "Customer Object" => Then click "Insert"

![](/files/Ieqg3oU8JhwQ8OUAQnya)

&#x20;  6\. Click Save

{% file src="/files/FWnCwpqe5JqvWz1s7rWb" %}

## ![](/files/ECjXy3jt6FpubktXuzl6)Setup Journey to send mail&#x20;

1. &#x20;After you have logged in, click on the Menu icon ![](/files/r7OBvnTq2KSLSOMDTcb4) in the left corner of the screen
2. Select menu as follows: Marketing hub >> Customer Journeys

![](https://lh4.googleusercontent.com/9H2gOqiiLiZvvTPGVgKKMqrl1P0L_TJHSWfh62qiWZ2ZYCnrc4jW_rnAqHY_d3ZmNMkGxpiyUlskHzrpJH-wAcypye915wE_P04sj-XkyylRfm6ButZ1sj2c6s2JcQ)

&#x20; 3\.  Select channel Email -> Click icon ![](/files/qvyaJSg0vfSu6EiW2FqT)

![](https://lh5.googleusercontent.com/gaSboiKCbyXylepZxQyQ5CEychchqzg92zWJ--QFZj-EdXUXF-G7yif6ofhB6hAo9G3rQ_bEYdSk0ExkhCIhNXZrApXMNeiwVmy_FS360s5RHeuJlLP8oUa9NiNgkw)

&#x20; 4\.  Select the account you want to create Journeys on.

![](https://lh5.googleusercontent.com/vph9lnorFGvns7uV2_pq9u_0wv9NQ7n5Mg4HBRTWvesomu9dAdmOgj6MoERi06ywh97MCL8AiVDTBwpG_sc3RsHIk8Y2AmDr95mXBvy846M3rcJKj5y4btnYsw_s5A)

&#x20; 5\. Set up the necessary information for Journey. Note: it is necessary to select the set of segments corresponding to the Email data set that has just been uploaded in II (Details about segments can be found in the description of the segment).

![](https://lh5.googleusercontent.com/DE0txu9lS_o_HiQ7q4wtLz1KSWLwI9x657__PpOUKxTFbAkLWxyWrLb0IQ8kWA1ox-Nn1sL61pHc_dWUQZvw0_csM_3Fe6rGNJcjg74GpISzw21Lp_RKJu8KiSvvgg)

&#x20; 6\.  Add “G Suite Email”

![](https://lh5.googleusercontent.com/p6YjbrJc4A-rx2kzKUjC-HscBzy6mo-xyBIrGq6zotxpA1gEtMupt7JU0Me02pSowFLDizH5NPLy9jdB5xYS8j-iy3jua6knWpP7uwkZGSMcpGWAtM3YCqMr2ZMmpA)

&#x20; 7\.  Choose the correct destination that the user has set up to send mail in Journey settings to send mail to customers

![](https://lh4.googleusercontent.com/vjxEZ2MMvjQW_-GfVaduDuA59Ls0KSMIzRXgqkX_otpLwd5d-K0RhIoo340p9YJaPUIzVkE3ubE_2scXm9zS0w1Av5SzLhjoOM_Pw-Y_2Xg37IFEnOpufApg11Cs1g)

&#x20; 8\. Save changes. By default, the newly created Journey's status is "In design"

![](https://lh3.googleusercontent.com/WMU10mmqFazxlL7uhxKbaT8GLYWMtdIGyz15HvWrwtR2p4sm27Y732t8lViybA71TP4erTMSfiQCZ23hi4qz7F0fzeOOt91b06jzWOs7ic8Trd0DO7Y3PIBLL5uNjA)

&#x20; 9\.  Select Activate. Journey's status will change from "In design" to "Active".

![](https://lh6.googleusercontent.com/95m4IQjkRRGj3AbsfSWVEr_APQYqFDTBjp7KLL696zQGaxoBHakrLsELtDZ9ABRAuB3IL--iCot22DYuGWJoT452DD1V3fgtjk_easrtHl1hbDiDygyUmv6zqXfE7g)

## Note

### 1. Description of fields when creating Attribute

<table><thead><tr><th width="164.89672204759768">Field</th><th>Description</th></tr></thead><tbody><tr><td>Object</td><td>This field indicates which Business Object attribute is being created in. By default, Business Object selected in step 3 will be displayed (not edited)</td></tr><tr><td>Group attribute</td><td>Group to which this "Email" attribute will be assigned. Clicking will open a list of existing groups belonging to Business Object</td></tr><tr><td>Attribute type</td><td>Help the user know what type of attribute is creating/editing (not edited). Default value will be “Custom””</td></tr><tr><td>Attribute name</td><td>Name of attribute. For example: “Email”</td></tr><tr><td>Attribute internal code</td><td>Attribute internal code will be automatically generated after the user enters the Attribute name and can be clicked by the user to change the internal code. For example: If the above name is "Email", then below the Attribute internal code will be "email".</td></tr><tr><td>Description</td><td>Description of attribute</td></tr><tr><td>Data type</td><td>The data type of attribute.Custom Attribute supports 7 types of data types including: number, string, text, datetime, boolean, object, array Example: For "Email" we will choose the data type as "String"</td></tr><tr><td>Display Format</td><td>For each selected Data type above, there will be a display as set corresponding to that data type. https://www.screencast.com/t/gZCm9JLpAP Example: For attribute “Email” will choose “Raw String”</td></tr><tr><td>Is Required</td><td>Mark this attribute as required for the "Business Object" under consideration. By default, this checkbox is unchecked</td></tr><tr><td>Auto suggestion</td><td>This field is only enabled when the data type of the attribute is string. For other data types that are not supported, this option will be disabled.<br>By default, this checkbox is unchecked</td></tr><tr><td>Enable Data Encryption</td><td>Mark the data encoding for this attribute. By default, this checkbox is unchecked</td></tr><tr><td>Is Identity Attribute</td><td>If checked, the generated attribute will be marked with an identifier. Fields that are considered Identity are fields that can contain information such as: phone, email, device ID, ... Only "Business Object" is Customer and Visitor when creating Custom Attribute, there is a checkbox "Is Identity". By default, this checkbox is unchecked</td></tr></tbody></table>

### 2. Download data example

{% file src="/files/HxRb0c90bc0QPnQtnBmc" %}

### 3. Description of fields when creating a Destination - G Suite Email

<table><thead><tr><th>Field</th><th width="249.33333333333331">Description</th><th data-hidden></th></tr></thead><tbody><tr><td>Destination Name</td><td>Destination names are supported with multi-lang. By default, the language icon will display according to the language configured in Portal setting - Portal language setting, and this value is considered the default value.</td><td></td></tr><tr><td>Description</td><td>Description of destination, with multi-lang support</td><td></td></tr><tr><td>Destination Catalog</td><td>Channel Email has catalogs like: Amazon SES, Onesignal Email, G Suite Email… → in this example we choose the catalog as G Suite Email</td><td></td></tr><tr><td>Method</td><td>Catalogs belonging to App Push, Web Push channels, the default method will be Push. Catalogs belonging to Email, Webhook, and Conversation channels, the default method will be Send. In this example, we will choose Send.</td><td></td></tr><tr><td>Email</td><td><p>Click icon Add Personalization <img src="/files/MGO4ThDb4tVtqL7iYyyI" alt=""></p><p>Personalization Attribute: List of attributes belonging to the selected Personalization type. In this example we choose “Email”</p></td><td></td></tr><tr><td>From Email Name</td><td>Sender name</td><td></td></tr><tr><td>Username</td><td>Sender email</td><td></td></tr><tr><td>Password</td><td>Sender email password</td><td></td></tr><tr><td>Ignore duplicate messages for the scheduled journey</td><td>Limit allocation frequency to 1 address in 1 scheduled iteration of a journey</td><td></td></tr><tr><td>Limit frequency for the journey (3 months duration)</td><td>Limit allocation frequency to 1 address in 1 journey</td><td></td></tr><tr><td>Limit frequency for destination</td><td>Limit allocation frequency to 1 address per unit of time (hour, day, ...)</td><td></td></tr></tbody></table>
