The Import module is a legacy solution. You should use Automation with Data Transformations instead.
For more information, see:
Importing custom events
Requirements
- User permissions to conduct such a data update.
- The workspace API key must allow conducting imports.
- Prepare a file according to the instructions:
- The file must contain a column with a customer identifier and at least one parameter of the imported custom event.
- Spaces and special characters in the column headers are not allowed.
- The file cannot contain empty fields. If you want to leave empty fields, enter the null value.

client.register
page.visit
appSystemInfo.log
facebook.fanpagePost
form.submit
message.receive
application.started
message.send
facebook.postReaction
screen.view
facebook.postComment
Importing custom events
-
Go to
Settings > Import > New import.
-
Choose the Custom import as the type of the import.
Important: It’s necessary to select Custom import instead of Custom events because the Custom events type is only meant for importing single events. -
Choose the method of import.
-
Only for Pull imports: To define the access to your SFTP, in the Access section click the Define button. When you adjust the settings, confirm with the Apply button.
-
Only for Pull imports: To define the frequency of imports, in the Schedule section click the Define button and adjust the settings. Confirm them with the Apply button.
Tip: Instruction on scheduling imports is available here. -
To upload a file with the data to be imported, in the Sample file section click the Define button.
Important:- If you have chosen the File upload as the method of import, the file you upload here is is imported immediately after saving the import.
- If you have chosen the Pull method, the file you upload here is just a sample file, and the file from SFTP is imported at the time you scheduled.
- In the case of the Push method, the file you upload here is just a sample file. More information about the import flow for every method is available at the link.
- Choose the type of the file you are going to import.
- To upload the file, click the + Upload file or drop one here button.
- Confirm the action by clicking the Apply button.
-
To proceed to the next step, click the Next button.
The file before mapping -
On the left side of the screen, click Add endpoint.
-
Select the Events batch option.
Result: A list of parameters to map appears. -
Map the parameters. On the left side of the screen, in the Required list, locate the parameter that corresponds to the customer identifier column and drag a line from the parameter to the column.
-
Above the table, click the Add column button.
- In the Column name field, enter
action
. - In the Plain text field, type the name of the event (for example,
product.availability
). - Confirm the settings by clicking Save.
Result: A new action column appeared with the event name as a value for each row. - From the Required list, drag a line from the Action parameter to the action column.
Result: The action column is mapped.
- In the Column name field, enter
-
Above the table, click the Add column button.
- In the Column name field, enter
label
. - In the Plain text field, type the short description of the event (for example,
the availability of product in the store
). - Confirm the settings by clicking Save.
Result: A new label column appears with the event description as a value for each row. - From the Required list, drag a line from the Label parameter to the label column.
Result: The Label column is mapped.
- In the Column name field, enter
-
If your file contains columns with the parameters that are not available neither in the Required nor the Optional section, to be able to map these, you need to create the parameters on the list.
- Click the Add field button on the bottom of the list.
- Start the name of the field with the
params.
prefix. - The part after
params.
must contain the name of the column you want to connect (for example,params.campaignName
).WARNING: Remember to enter the exact name of the column after theparams.
part, it’s case sensitive.
Result: In the Optional list, a parameter shows up. To see it, you need to unfold the list by clicking the icon next to Optional. - In the Optional list, find the newly added parameter and connect it with the appropriate column.
- If needed, add more parameters in the same way.
-
At the bottom of the list, click the Add column button.
-
Required only for batch imports of custom events: In the Column name field, enter
type
. -
In the Plain text field, enter
custom
. -
Confirm the settings by clicking Save.
Result: Thetype
column appears. -
Click the Add field button. Result: Next to the button, a field appears.
-
Enter
type
.
Result: In the Optional list, a parameter appears. To see it, you need to expand the list by clicking the arrow icon next to Optional. -
Connect the type parameter with the type column.
The file after mapping -
To proceed, click the Next button.
-
Verify the mapping of the fields.
-
To complete the process, click the Save button.
Result: Only for Push method imports: the Save button saves the mapping, and you get the webhook URL to send the data. You can reuse this mapping later for importing CSV files. To do so, go to the list of imports, and click the import. Click the Import data from CSV file. The structure of the file (number of columns, name of the columns, and the data format) must be the same.
Depending on the import method you have chosen in the step 3, the flow of the import will vary.
- If you have chosen File upload method, the Save button completes the process. The import is processed immediately.
- If you have chosen Pull method, the Save button completes the process and the import will be processed at the scheduled time.