Skip to content

CSV Upload — Import Customer Data into CustomerLabs

A Source in CustomerLabs is a platform from which data can be brought into CustomerLabs 1PD Ops (First-Party Data Operations).

CSV Upload allows you to import data from a .csv file directly into CustomerLabs. Once imported, the data can be unified with existing customer profiles, enabling a consolidated view of your customer information — all without writing any code.


Follow the steps below to set up CSV Upload as a data source in CustomerLabs 1PD Ops.

  1. Log in to your CustomerLabs 1PD Ops account.
  2. Go to SourcesConnect Source.
Navigate to Sources and click Connect Source
  1. From the list of available sources, select CSV Upload.
Select CSV Upload from the list of available sources
  1. Click the Subscribe button to enable the CSV import functionality.
Click Subscribe to enable CSV import
  1. Click Import CSV.
Click Import CSV to begin the upload process
  1. Enter a File name and an optional Description.
  2. Click Choose file and select the .csv file you want to import.
Enter a file name, description, and choose the CSV file
  1. Once the file is validated, click Upload file.
Click Upload file after validation
  1. After the upload is complete, click Next: Workflow Setup to proceed with configuring a workflow for the imported data.
Click Next: Workflow Setup after upload is complete

Workflows allow you to filter, transform, and map incoming data to match your business requirements. By creating a workflow, you can align imported CSV data with existing customer profiles in CustomerLabs — achieving a unified customer view without any coding.


Step 1 – Name and Configure the Workflow

Section titled “Step 1 – Name and Configure the Workflow”
  1. Enter a name for the workflow → click Save.
  2. Optionally, set a delay for the workflow → click Save.
  3. Click Next: Choose sample data.
Enter workflow name, set optional delay, and click Next
  1. Click Fetch new data to retrieve records from your uploaded CSV.
Click Fetch new data to retrieve CSV records
  1. Choose a sample record from the list → click View Details.
Choose a sample record and click View Details
  1. Review the raw data displayed. Click Select this sample to use it as the basis for your workflow configuration.
Review raw data and click Select this sample

Step 3 – Filter Incoming Data (Optional)

Section titled “Step 3 – Filter Incoming Data (Optional)”

This step allows you to filter out irrelevant records so that only the data you need enters the workflow.

  • Define filter conditions based on specific field values.
  • Only records matching your criteria will be processed.
Define filter conditions based on field values
Filter configuration applied to incoming CSV records

Event configuration is the final step in the workflow creation process. Here you define how the imported CSV data maps to events and user identities within CustomerLabs.

  1. Select an event name from the drop-down menu.
  2. To create a custom event, choose Custom Event and provide a name that describes the data being imported.

CustomerLabs 1PD Ops supports a wide range of user identifiers (unique data points used to identify individual users, such as email, phone number, or user ID).

  1. Select the identifier type. For example, choose identify_by_email to map the email address field from your CSV.
  2. Select the corresponding value (e.g., the email column) from the drop-down.
Select identifier type and map the corresponding CSV column

After mapping user identity, you can categorically map additional incoming attributes as User traits (descriptive properties associated with a user profile).

Common user traits from CSV data include:

TraitDescription
first_nameUser’s first name
last_nameUser’s last name
emailEmail address
cityCity of residence
stateState or region
zip_codePostal or ZIP code
companyCompany or organization name
ad_campaignAssociated advertising campaign
ad_setAssociated ad set
Map additional CSV columns as user traits
  1. Once all mappings are configured, click Save workflow.
Click Save workflow to complete the workflow configuration

After saving the workflow setup, you must re-import the CSV data so that it is processed according to your newly configured workflow.

  1. Navigate to Sourcescsv-uploadSetup.
Navigate to Sources, csv-upload, then Setup
  1. Click Import.
Click Import to start processing the CSV
  1. Enable the workflows you want to apply.
  2. Click Yes, I understand and import all data to begin processing.
Enable workflows and confirm to begin processing

When preparing your CSV file for upload, keep the following best practices in mind:

  • Ensure the file is saved in .csv (comma-separated values) format.
  • Include a header row with descriptive column names.
  • Use consistent formatting for data values (e.g., dates, phone numbers).
first_name,last_name,email,phone,city,state,zip_code,company,ad_campaign
John,Doe,[email protected],+1234567890,New York,NY,10001,Acme Corp,Spring Sale
Jane,Smith,[email protected],+0987654321,Los Angeles,CA,90001,Beta Inc,Summer Promo

The table below summarizes the key field mapping concepts used during workflow configuration:

ConceptDescription
Event NameThe name assigned to the event triggered by the imported data. Can be a standard or custom event.
User IdentityA unique identifier (e.g., email, phone, user ID) used to match and unify user profiles.
User TraitsDescriptive attributes (e.g., name, city, company) associated with a user profile.
Custom EventA user-defined event name for non-standard data imports.
FilterAn optional condition applied to exclude irrelevant records from processing.

StepAction
1Navigate to SourcesConnect Source
2Select CSV Upload
3Click Subscribe
4Import and upload your .csv file
5Build a workflow (name, sample data, filters, event mapping)
6Save the workflow
7Re-import CSV to process data through the workflow