Skip to main content

Creating Segments with CSV Upload

Create a segment from a list of user IDs or emails, by uploading a CSV in the segment editor or by asking Claude, ChatGPT or the Candu assistant to build it.

Written by Jonathan Anderson

Before you start:

  • Know how your users are identified in Candu: by user ID, or by a user property such as email. Your list has to use the same identifier. If you're unsure, check with your technical team or open a user in a segment's User Feed to see their ID and properties.

  • Prepare a CSV file with at least one column containing these identifiers and a header row with column names.

Common use cases

  • Target attendees from a conference or webinar (using registration list)

  • Create segments from external analytics tools (users who completed specific actions)

  • Build audiences from marketing campaign responses or survey participants

  • Group beta testers or early access users from a spreadsheet

  • Leave a list of users out of a campaign (use is not one of)

How to create a segment with CSV upload

  1. Navigate to Segments and click Create Segment

  2. Set up the segment condition:

    • Select User ID if your list has user IDs, or User Property and then the property your list holds (for example email)

    • Choose is one of as the operator, or is not one of to exclude the users on your list

    • Click Upload CSV

  3. Drag and drop your CSV or click to browse

  4. Select the column containing your user identifiers (must match the identifier used in your Candu implementation)

    Column selection modal showing uploaded file '2021-employee-data.csv' with radio button options for different columns including Company, First Name, Last Name, and monthly options. Has Cancel and Save buttons.
  5. Click Save

Note: Uploading a new CSV will replace any previously uploaded values for this specific segment condition. If you need to add users, download your current list first (the download icon next to the CSV tag), combine it with new users, and re-upload.

Review and save:

  • Verify your CSV values appear in the segment condition

  • Add additional conditions if needed (optional)

  • Save your segment

  • Check the segment's User Feed to confirm the expected users are included

Troubleshooting: If users aren't appearing in your segment, the most common issue is identifier mismatch. Check how a user's ID or email appears in Candu, then make sure your CSV matches it exactly. Other common issues:

  • Your CSV uses emails but the condition is on User ID (or the other way round)

  • Case sensitivity differences ([email protected] vs [email protected]). Matching is exact, so if your app sends mixed-case emails, keep the same case in your list.

  • Extra spaces or formatting in your CSV column

Build it with Claude, ChatGPT or the Candu assistant

You can also hand a CSV or a pasted list to the Candu assistant in your dashboard, or to Claude, ChatGPT or another AI assistant connected to Candu (see Connect Candu to Claude or ChatGPT (MCP)), and ask it to build the segment. It reads the column you name, tells you how many values it found, and saves an is one of condition. Long lists are saved the same way as a CSV upload, so they show in the segment editor as a CSV list you can download.

  • Say which column holds the identifier, and whether it's a user ID or an email, depending on how your users are identified in Candu.

  • Matching is exact and case-sensitive, the same as uploading in the editor.

  • If your AI assistant saves a condition with no values, disconnect and reconnect the Candu connector so it picks up the latest tools, then try again.

CSV file requirements

  • One column must contain user IDs or emails that match how your users are identified in Candu

  • Include a header row with column names

  • Use consistent formatting (e.g., all lowercase emails if that's how they're sent to Candu)

Note: This feature only creates segment membership, it doesn't create or update user properties, and currently doesn't support company or group-level traits. For bulk property updates, you'll need to use your Candu implementation.

Did this answer your question?