Import CSV files

Overview

You can use a CSV (comma separated values) file to import users and accounts or events into your Intempt account.

Before you import

Set up your import files. Properly setting up your files helps you avoid import errors.

Set up your import file

The import file must:

  • Be a .csv file.
  • Include a header row in which each column header represents a column in the dataset. The column headers can be organized in any order without affecting the import. To join your CSV data to Intempt event, one of the columns in the file must match Intempt event attribute for the event you want to join your data with.
  • Contain less than 500 columns.
  • Be UTF-8 encoded if foreign language characters are included.
  • Ensure all cell values containing commas are enclosed in quotes.

A CSV file with Users data only must meet the following criteria:

  • At least one field matches theΒ user unique identifier - UserId, Email, Phone

A CSV file with Accounts data only must meet the following criteria:

  • At least one field matches theΒ account unique identifier - AccountId, Company name.

A CSV file with User and Accounts data must meet the following criteria:

  • At least one field matches theΒ account unique identifier - AccountId, Company name. and one field matches theΒ user unique identifier - UserId, Email, Phone

A CSV file with Events data only must meet the following criteria:

  • At least one field matches theΒ one event timestamp and account or user unique identifier - AccountId, UserId.

Import users and/or accounts

Once you've set up your file for import:

  1. Click Import in the top right corner of the β€œList” page.
  1. On the Imports page, click Start an import
  1. Choose the type of data in your file (Users, Accounts, or both), then click Next.
  1. Drag and drop your file or select it from your computer. Name your file if necessary, then click Next.
  1. On the Map Columns in Your File to Intempt Attributes screen, Intempt will automatically map the columns in your file to the relevant user or account attributes based on the header name, header language, and property name. Depending on whether you selected Users, Accounts, or both, the attribute options will be:
  • If β€œUsers” selected we will only display user attributes, if β€œAccounts” only account attributes, if both - we will display users and account attributes choice.

The Mapping Guide displays the attributes required to create and/or update the user and accounts. If your file is missing any of the attributes needed to import the file, you should fix your import file and restart the import to avoid errors.

  • If there are no errors, a success checkmark will appear in the Mapped column.
  • If errors are detected, an alert icon will be shown in the Mapped column.

  • If any columns were mapped to the wrong user or account attributes, click the dropdown menu in the Import As column and select the correct attribute.

If any columns don't map to an existing attribute, or mapped to the wrong attribute, click the dropdown menu in the Intempt field column. In the dropdown menu, you can do one of the following:

  • Map the column to an existing attribute: Search for and select an existing property.
  • Set up a new custom attribute: Click Create New Attribute and define the attribute in the right panel. The data in that column will be mapped to this new custom attribute.

Attribute Creation Requirements

Attribute creation requires the fields below:


Attribute's fieldDescriptionRequired
Attribute typeDetermines if it is a user or account. Auto-selected and non-editable, based on the incoming attribute type.Yes
NameThe unique identifier that is used internally by Intempt to reference the attribute.Yes
Display nameThe attribute's name, as shown in the user interface, is typically more readable than the name itself.No
DescriptionA brief explanation of the attribute's purpose and how it should be used.No
ExampleA representative value or instance to illustrate how the attribute might be populated.No
VisibilityThis defines whether the attribute should be visible for targeting (e.g., appear in the segment, event editor, etc.).Yes
Object typeThe attribute's data type (e.g., String, Integer, Boolean, Date, etc.).Yes
Merge strategyDefines how an attribute should be updated once new data is received.Yes

Merge strategy

You can define rules for updating attributes once new data is pushed to the attribute. For example, the value of the user's "Location" attribute changed from that of the United States to that of the United Kingdom.

First used value β€”If both user profiles have a value, the oldest value (with the oldest timestamp) is used for the attribute. This is important when tracking the user's first option and relevant when tracking the user's original location.
Most recent value - keeps the value that was the last set. We recommend using this option most frequently as it represents the most up-to-date user's or account information. Any data item submitted most recently will be used as an attribute value for this merge strategy.
Most frequently used value - the value of the attribute used most often. Consider this example for an email address - the user submitted [email protected] 6 times and [email protected] 2 times. Intempt will use the email address that was used most frequently [email protected] (user might use multiple emails to sign up).

Finalizing the Import

  1. Once all columns are correctly mapped, click Import

You can view the import details on the Import page after completion.

Import events

Events allow you to capture user behavior and use it within Intempt. An import can create a new event or update data in an existing event.

Once you've set up your file for import:

  1. Click Import in the top right corner of the β€œEvent” page.
  1. On the Imports page, click Start an import
  1. Select whether you want to import a new event or add data to an existing event, then click Next.
  1. Name the new event or select an existing event from the dropdown list.
  2. Drag and drop your file or select it from your computer. Name your file if necessary, then click Next.

On the Map Columns in Your File to Intempt Attributes screen, Intempt will automatically map the columns in your file to the appropriate user, account, or event attributes based on the header name, header language, and property name.

The Mapping Guide displays the attributes required to create or update events. If any required attributes are missing, fix your import file and restart the import to avoid errors.


  • If there are no errors, a success checkmark will appear in the Mapped column.
  • If errors are detected, an alert icon will be shown in the Mapped column.

  • If any columns were mapped to the wrong user, event, or account attributes, click the dropdown menu in the Import As column and select the correct attribute.

If any columns don't map to an existing attribute, or mapped to the wrong attribute, click the dropdown menu in the Intempt field column. In the dropdown menu, you can do one of the following:

  • Map the column to an existing attribute: Search for and select an existing property.
  • Only for new eventsSet up a new custom attribute: Click Create New Attribute and define the attribute in the right panel. The data in that column will be mapped to this new custom attribute.

Finalizing the Import

  1. Once all columns are correctly mapped, click Import.

You can view the import details on the Import page after completion.