Skip to main content

Personalizing an E-mail campaign

Actito lets you personalize your e-mails in order to display text elements specific to each of your contacts. This can call on attributes of the Profile table, but also on various other data.

This allows you to personalize using the attributes of the Custom Tables of your Data Model : Interactions and Linked Data tables (Repository tables cannot be used on their own : they are imbricated into a profile table of another custom table).

Inserting personalizations

To insert a personalization, type the $ tag followed by the name of your personalization between curly brackets (for example, ${firstName}) where you want your personalization to appear in your message. When the recipient will receive the e-mail, this tag will be replaced by the corresponding value for their profile.

tip

It is not allowed to use special characters or spaces in the technical name of personalizations. For instance, ${firstname} must be used instead of ${first name}.

In addition, you can also insert personalizations directly using the quickpicker. Clicking on this button will allow to search through all your profile attributes, or any other data source you added (see below).

By selecting an attribute, a personalization will be automatically added to your message, with the correct syntax.

images/download/attachments/624689700/image2021-4-15_10-51-8.png

The quickpicker is available in the the template editor but also everywhere you can insert personalizations :

  • in the links wizard
  • in the images wizard
  • in links parameters
  • in the headers (step 1)
  • in the reply-to address (step 1, advanced parameters)images/download/attachments/624689700/image2021-4-15_10-56-38.png
tip

By default, the quickpicker allows to personalize on Profile and Technical attributes.

You can click on "Add a new datasource" to include more advanced data : see the "Expert mode" section below to learn about advanced sources.

Defining Personalizations

To define personalization parameters, click on the 'Personalizations' button.

images/download/attachments/624689700/image2021-4-15_10-40-41.png

Simple personalizations

You will reach the personalization settings interface. By default, you will see the personalizations included in the subject and the content.

  • When the name of the variable is exactly the same as a profile attribute, the matching will be pre-filled.
  • If you used the quickpicker, the matching will be pre-filled too.
  • In other cases, you will need to match your personalization with the data of your choice.

images/download/attachments/624689700/image2021-4-15_11-16-26.png
First of all, it is necessary to select the data source from which the personalization value will come.

Five data sources are available by default in the dropdown menu:
images/download/thumbnails/624689700/worddav0452978980a0e27fb8ed785675b3aba9.png

Constant

Allows you to replaces the variable by a fixed value. This is useful for testing or in a campaign template.

Profile

Allows you to call on every profile attribute. These are the most basic personalizations.

tip

If the name of the personalization (the variable between the ${}) matches the technical name of a profile attribute, it is automatically mapped.

Technical value

Allows you to use technical attributes, such as the campaign name or the sending moment.

  • The campaign name is useful to display in the UTM parameters added to the links of the campaign.

  • The sending moment is the time at which the e-mail has been sent. This is useful to display the date of the day, for instance, or even the exact moment the campaign was sent.

    It can be combined with the date transformation functions to display only the date without the time of the day or to create dynamic personalizations by adding/removing a time period to the date of the day (like adding 15 days to the date of the sending, to display the time validity of an offer for instance).

alt text

tip

The time parameter of the sending moment matches the timezone of the server from which the e-mail is coming, namely Central European Time (CET/CEST) for ENV-0 & ENV-3, and Central Time US & Canada (CST/CDT) for ENV-1.
If the time is not important, you can always hide it thanks to the date formatting.

Gender test

Allows you to display a different message according to the gender of the profile, for example, Sir/Madam (only available if your DB has the standard attribute "sex")

Allows you to refer to a link. It can be an unsubscribe link, a webversion link, a link towards an Actito form or a custom URL. It can also be a 'Partner link' directly pointing to a Qualifio campaign.

tip

After mapping a personalization to a data source, it is automatically saved. You can exit the picker without needing to save anything.

Provided by API

This 6th option is only available for scenarized and transactional e-mails.

images/download/attachments/624689700/image2022-12-28_14-8-30.png

It is useful if the trigger of the e-mail is done programmatically by API call.

The value of the personalization can be therefore provided directly in the "parameters" array of the body of the call used to trigger a scenarized e-mail or a transactional e-mail.

This allows to personalize the e-mail with data that are not stored in Actito, but are coming from an external system, where the trigger event of the call happens, which automatizes the e-mail sending.

HTML content

Through the advanced parameters of a "provided by API" personalization, it can be defined as "HTML content".

images/download/attachments/624689700/image2022-12-28_14-18-53.png

This means that in the API call made to trigger the e-mail, you'll be able to directly integrate a snippet of HTML code, which will interpreted in the final rendering of the e-mail.

This is the only way to inject HTML in a campaign defined through the template editor!

Testing 'provided by API' variables

As the final e-mail will the triggered by an API call, it might be relevant to carry out tests together with one of your developers.

Nevertheless, Actito gives you the possibility to test your e-mail directly in the interface, without involving technical resources.

If you use a personalization 'provided by API', an additional button will indeed be automatically displayed at the 'Check and test' step.

images/download/attachments/624689700/image2022-12-28_14-24-32.png

It lets you simulate test values for your personalizations, so that your test e-mails really use data to validate their final rendering.

These data are stored in the cache of your browser. They therefore do not appear if another user edits the campaign, or if you change session.

images/download/attachments/624689700/image2023-2-15_18-3-43.png

Expert mode

In addition to 'base' sources, it is possible to use more advanced data.

To do so, you need to activate the 'expert mode' on the top left of the interface.

images/download/attachments/624689700/image2021-4-15_11-22-44.png
A new tab called 'Data sources' will appear in the interface. Three kinds of advanced data can be added.

Once selected, the source will be available in the bottom part of this screen and you will be able to allocate it to the correct personalization parameter.

images/download/attachments/624689700/image2021-4-15_11-23-57.png

File

This allows you to personalize with an external file (.csv file) that you can upload.

This is useful to personalize with one-off data which do not need to be stored in Actito because it is only used in this specific campaign (such as a discount code).

images/download/attachments/624689700/image2021-4-15_11-29-0.png

You will need to specify the file parameters :

  • File type : it must a .csv file (or a .zip compressed CSV file), which can use commas, semicolons or tabs as separator.
  • File encoding : UTF-8 is the most common format, but other encodings are allowed.
  • Key attribute : this is the profile attribute that will be used to match the values in the file with the profiles. This does not need to be a unique attribute. You can push your one-off data according to the postcode, for example.
tip

The name of the uploaded file can only contain underscores and alphanumeric caracters.

The format of the file must follow some specifications :

  • The file contains one column for the key attribute given above. This must be the first column of the file.
  • The file must contain one column by external personalization (as the file can be used to define several personalizations at once).
  • The columns must have headers (they will be used in the personalization picker)
  • Each possible value for the key attribute will correspond to one row
  • The maximum size of the file is 50MB.

Survey

This allows you to personalize using information from an Actito survey.

This includes the answers given by the profile to the form questions, but also technical data such as the participation moment.

Tables

This allows you to personalize using the attributes of the Custom Tables of your Data Model : Interactions and Linked Data tables (Repository tables cannot be used on their own : they are imbricated into a profile table or another custom table).

Due to their nature, interaction tables often contain several lines for the same profile (for example, in an 'order' table, the same profile can have several orders).

  • Defining which line must be used by the personalization:

By default, Actito will take the last line. What exactly is the 'last' line is defined when the table is created. Usually, it will be the line with the latest creation date.

However, in some cases, another sorting method might be more relevant to your communication. If you do not want to use the 'default' option, click on the cog icon to the right of the data source line.

images/download/attachments/624689700/worddavde3a493362e3320de282cb3fc3a29139.png
You will have two options:

images/download/attachments/624689700/worddav80538697cc38832a646318f59cb3b4bd.png

  • Provided by the scenario: this option should be chosen for your scenarized sendings when the start block of the scenario is related to the value of the personalization (for example, if the scenario is triggered by a ticket creation). In doing so you will be sure that the information used to trigger the scenario and the information used in the personalization are the same.

This option is only available for scenarized and transactional campaigns.

  • By default + filter: You can reduce the range of possible results by adding criteria, like for a targeting.

images/download/attachments/624689700/worddav0fce9473b4a37f7e67e2fc95482d471e.png

  • Defining the number of lines used

By default, a personalization can only refer to one line of data.

Yet by nature, custom tables can often contain several data entries for one profile. There are options that allows you to personalize with multiple lines at once.

Therefore, the "use a maximum of" field allows you to configure how many lines you want to display. For instance, if a client makes an unusually large order, you may want to avoid displaying all the products bought in the confirmation e-mail if you don't want it to be astonishingly long.

images/download/attachments/624689700/image2021-4-15_12-30-20.png

You have the possibility to order these lines according to an attribute and to retrieve them in ascending or descending order.

The order will vary according to the type of the attribute chosen :

  • Ascending means the most ancient date first, the smallest number first or alphabetical order for texts.
  • Descending means the most recent date first, the biggest number first or unalphabetical order for texts.
info

The number and order of lines is only relevant when using features that allows personalization on multiple values :

  • Loops personalizations : loops can be used for all kinds of e-mails but are especially relevant for transactional e-mail (see "Loop personalizations" in Creating a Transactional E-mail for more explanation).
  • Displaying all values as a list : see the "Multivalue attributes and custom tables" section in the below chapter.

Configuring personalizations

After selecting your data source, it is not necessary to use the data exactly as it is. You can transform it.
To do so, click on the cog icon to the right of the personalization line.

You will reach the advanced parameters.

images/download/attachments/624689700/image2021-4-15_14-22-27.png

Multi-value attributes and custom tables

Some profile attributes can be multi-valued (identified by the icon icon), which means that a single field can hold several values for the same profile (ex: a "hobbies" attribute).

In addition, custom tables (interaction and linked data) can also hold several lines associated to the same profile.

These types of data unlock additional advanced parameters.

Display all values as a list

This option allows you to display all the values associated to a profile one after the other as a list in a single sentence (or the number defined in "number of lines used").

For example, this can be used to display the names of all the children of a profile (stored in a linked data table), or list all the interests of a profile (stored in a multi-value attribute).

This feature lets you structure the list by choosing the separators that will come between the values, but also how to start and close the list.

images/download/attachments/624689700/image2021-4-15_14-51-33.png

This enables highly personalized communication.

images/download/attachments/624689700/image2021-4-15_15-0-59.png

=>

images/download/attachments/624689700/image2021-4-15_15-0-29.png

Tip

Displaying the values as a list is very useful to display a single class of information on the same line.

However, to display structured sets of data (such as several products, each with a name, a picture, a quantity and a price), it may be better to use loop personalizations (see "Loop personalizations" in Creating a Transactional E-mail for more explanation).

Filter function

What if you send an e-mail about potential interests of a profile, but you want to only focus on some specific interests that a profile might have stored in his multi-values attribute.

No need to say "Hey ${firstName}, we know you're a fan of football, basketball, cycling, fly-fishing and knitting" if you want to get them to subscribe to your articles about ball sports.

The filter function will allow you to only keep the values that are relevant to your topic.

images/download/attachments/624689700/image2021-4-15_15-24-3.png

You have 2 options :

  • Exclude : to remove the possible values that you do not want to display.
  • Keep only : to explicitly state the possible values that you want to display.

images/download/attachments/624689700/image2021-4-15_15-27-4.png

Now your communication will be personalized with the own interests of your profiles, depending on what sports they like, all while filtering the irrelevant options.

Numerical attributes

This function lets you choose the display format for numerical values typed as 'Real numbers'.

This allows you, for example, to choose the format of the prices you wish to display in your order confirmation e-mails.

tip

This transformation is particularly useful for "Real number" fields, which may nevertheless contain numbers without decimal places. It ensures consistency of display.

Several formatting options are available:

  • Separator (dozen/decimal)
    • no space "" and point "."
    • no space "" and comma ","
    • point "." and comma ","
    • comma "," and point "."
    • space " " and point "."
    • space " " and comma ","
  • Number of decimals: from 0 decimals to all decimals
  • Round to the nearest number or up or down
info

If you want to keep all the decimals, the rounding option is not available.

Numerical attributes

tip

To help you choose the display format, a series of dynamic examples will demonstrate the visual representation of the chosen format for a variety of numerical inputs in real time.

Date attributes

All date (and date + time) attributes have access to additional features to format and customize the display of the date value.

Add X to the date

To create dynamic date personalizations, you can add a time period to the value stored in your table. This can be used to display the validity period of a special offer for instance, or in reminders.

alt text

You can add/remove a set number of days, weeks or months to the date (to remove time from the date, simply provide a negative number in the field).

alt text

info

This feature can be used to calculate dates up to 5 five years in the future/past. This amounts to max 1830 days, 365 weeks or 60 months.

tip

The date calculation can be combined with date formatting, to choose the date parameters displayed in the result.

Age of the date in month or year

Just like the 'profile age' personalization value is automatically calculated based on the 'birth date' standard attribute, this function allows you to calculate the age of any date attribute.

This is useful in an anniversary scenario based on the registration date or the first purchase rather than the birthday, for instance.

Age of the date in month or year

Transformation function: Format date

You can choose how to format dates (and date+time) attributes.

For date attributes, the following formats can be used:

  • dd/MM
  • dd/MM/yyyy
  • MM/dd
  • yyyy/MM/dd
  • yyyy
  • yy

For moment attributes (date+time), the following formats can be displayed

  • all of the dates formats above (without time)
  • dd/MM HH:mm
  • dd/MM/yyyy HH:mm
  • MM/dd HH:mm
  • yyyy/MM/dd HH:mm

alt text

All attributes

The following advanced parameters are available for personalizations on all attributes (profile and custom tables).

Define a default value

You can define a default value, which will replace the personalization if it does not have a default value for the profile.
If no default value is defined in such a case, the personalization will be empty (a blank space will be displayed).

images/download/attachments/624689700/image2020-3-11_15-22-24.png

Transformation function: Mapping

You can create a mapping to replace attribute values by a custom value.

For example, you can replace the "post code" by the name of the closest store, or the 'sex' attribute allows you to create a 'gender test' and display 'Sir' or 'Madam'.

You can input the values one by one, or copy paste a list, in which case the format of the mapping should "key=value" lines, with a carriage return as separator.

images/download/attachments/624689700/image2021-4-15_15-50-36.png