Import Users
To import Users via Secure folder, you can upload two JSON files, a header file and a data file, to the File Server. You can find credentials for the Server in your System Setup.
The header file contains the data fields structure, so that CrossEngage can validate each field on upload, to ensure there are no mistakes. The data file contains the Users and their attributes that you wish to upload to the CrossEngage system.
Naming convention
The naming convention for these 2 files is the following:
Example:
Please ensure that a pair of header and data files always have the same timestamp in the UTC Timezone (YYYMMDDHHMMSS
). If the files have different timestamps, they will not be processed as intended.
Header File
This header file contains an array of objects which describe the type of attributes that may be loaded through a user object in the data file. The structure of these objects is as follows:
Key | Description |
| Name of the user attribute loaded through the user data file. The column name should always be sent in camelCase e.g. |
| This describes the type of data that will be loaded in the respective attribute. See all possible values in the Supported data types section below. |
| This property allows you to describe whether or not a field can have the value |
Supported data types
Should your data file include any array attributes, please make sure to create these via API before uploading the file to our system to prevent our system from rejecting your file.
Data type | Description | Example |
| strings of different lengths |
|
| A date e.g. birthdate |
|
| timestamp |
|
| logical |
|
| an integer number |
|
| any number |
|
Example header file
Data File
This data file contains an array of objects which contain the data of the users that should be loaded into CrossEngage. Each object defines the attributes of a single user.
The only technical mandatory field in User data is the id
. The id
refers to the user identifier you have assigned to a customer in your data warehouse. This is the same id
you might be already sending through our Tracking SDK or User Management API.
But the combination of email
and businessUnit
of a user is also a unique identifier and therefore its advised to also include it in the user feed.
If email
and/or businessUnit
are empty or missing from the import file, the importer will update them as empty and overwrite whatever there might have been saved before in the user profile.
Please note that if you drop more than one file at the same time before they are processed, only the most recent file will be processed. The older one(s) will be ignored.
Example data file
Last updated