Importing data into Leanplum

Introduction to Importing Data

Getting started on the right foot in Leanplum is crucial to a successful integration and setting up the right use cases in Leanplum. There are many ways to data is ingested into Leanplum, see below for ways you can import that historical data.

From a CSV File

For your initial import of historical data on your users, such as adding existing push tokens or user email addresses, our recommended method is via a CSV file upload. This is a one time import that will import all your important data in Leanplum to get you up and running quickly.

In the CSV upload, the User ID from your internal database and any other attributes/events you want to associate with that user can be stored in a single row of the CSV file. This batch upload will be quick, easy and cost effective. Once uploaded and processed, this information will be stored in Leanplum and available in our platform for targeting and segmenting users.

Visit our page for more information on Importing user data with a CSV file.


You can also import any other of your data into Leanplum using our API. This includes setting attributes for a user(such as their loyalty tier of other profile information) or tracking user events through the API. Both of these will be useful for your in situations where you want to trigger a messaging campaign from a user's activity in another platform.

Integrations with Third Party Data Platforms

The easiest way to send data between multiple platforms is to use the Leanplum integrations with Data Platforms. These integrations allow you to use third-party data sources and ensure that the same dataset is captured by all platforms.

Leanplum has integrations with many platforms. Learn more how you can integrate with Tealium, mParticle and Segment.

Integration with Attribution Providers

If you are running install advertising campaigns to drive app installs, you can use attribution providers to easily track your install sources. This data — when sent to Leanplum — can be used to target and segment users for use in campaigns, tests, and analytics.

Leanplum integrates with most external Attribution services for easy access to this information.