I have a list of user ids for existing customers/profiles and want a way to quickly combine them into a cohort without manually selecting each user id. How do I do this?
You can create a cohort from a list of user IDs by uploading a CSV file. Here's how:
Steps to Create a Cohort via CSV
Prepare your CSV file with two columns:
One column containing the $distinct_id values (your user IDs)
One column containing a user property that flags cohort membership (e.g., inCohort = "yes")
Do not include column headers in the file โ you'll define them during the upload wizard.
Upload the CSV by going to the Users tab, clicking Add/Edit Profile, selecting Import from CSV, and uploading your file. [Creating a Cohort via CSV]
Map the columns in the upload wizard:
Assign $distinct_id as the property name for the column with user IDs.
Assign a custom property name (e.g., inCohort) for the membership flag column.
Click Import Profiles. [Bulk Import from CSV]
Define the cohort using the newly uploaded property (e.g., filter for users where inCohort == "yes"). [Creating a Cohort via CSV]
โ ๏ธ Important notes:
If a $distinct_id in your CSV doesn't match an existing user, a new profile will be created for it.
Cohorts created this way are static โ they won't update over time since the underlying user property doesn't change automatically.
The maximum CSV size is 1 million rows.
โน๏ธย Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
