SimplyEmail

Prevent data loss when merging multiple value custom fields

Permission required to use this feature: add new subscribers

When you update custom field data for existing subscribers by importing a file, the custom fields in your account are overwritten with the custom field values in the file.

This is fine for most custom fields, as they only accept one value. However, "multiple option (can select many)" fields can contain many values, potentially leading to a situation where multiple values are overwritten by a single, new value imported from your file.

Below, we'll explain how you can import new custom field values without overwriting existing values. You can use Excel or Google sheets to do this, and you'll need some knowledge of spreadsheet formulas.

Backup and prepare

  1. Back up your list by exporting it. You can restore from this backup if you make an error.
  2. Click Lists & subscribers, then select the list you want to update.
  3. Click Custom fields in the left menu.
  4. Click on the overflow menu (3 dots) to the right of the "multiple option (can select many)" custom field you want to append values to.
  5. Click Edit.
  6. Write down the "Options available", then click Save
  7. Select Add custom field and enter a name like "Imported", set the data type to Multiple Options (can select many), then add the same options you just wrote down.
  8. Click Save.

Upload the new list

  1. Click Add new subscribers and import your subscriber file with the new data.
  2. On the next page, instead of assigning the new "multiple option (can select many)" values to your original custom field, assign them to the "Imported" custom field you just created. Click Save and continue.

Edit the data

  1. After you finish adding the subscribers, click Segments in the left menu.
  2. Click Create a new segment, and set the first rule to the "Imported" custom field you previously created. Set the next rule to is provided.
  3. Name the segment something like "Merge", then click Save.
  4. You will see a preview of the new segment after saving. Click the Export button to download a CSV file.
  5. Open the downloaded CSV file in Excel or Google Sheets, and create a new column in the spreadsheet.
  6. In the first row of the new column, enter a name like "New merge".
  7. In the second row of the new column, use the formula =D2&"||"&E2, where D is the column with the original custom field values, and E is the column that contains the new values imported from your file. This will merge the values together. Don't worry if you get duplicate values, they will be stripped out when the file is imported.
  8. Fill the formula for the remaining rows.
  9. Save your changes as a CSV file, then upload it to your subscriber list.
  10. After it has uploaded, assign your "New merge" column to the original "multiple options (can select many)" custom field, then set the other columns you worked with in step 7 to "Nothing (skip)".
  11. To clean up, delete the temporary "Imported" custom field and "Merge" segment from your list.