Importing personalization data via CSV
Many records at once: export as a template, add to it, import again – and what the import replaces.
What it's about
- The export is the template for the import file.
- The first two columns stay in the header with empty values; without them: Invalid import file.
- The import replaces all records.
- Remove the trailing semicolon, or you get a field without a name.
Transcript
Click a timestamp to jump to that point in the video.
- A database with one record. After the import, there are five – and in the shop, the buyer finds every one of them.
- The template for your file is the export. It starts with two columns: customer user id and budget group id. They stay in the header, the values below them stay empty. After them come the fields of your database, separated by semicolons.
- In the back end: Print templates, Data, Personal data. There's one record here. On the edit page, you start the CSV export and add your rows.
- Then, under Data import, choose the file. Separator: semicolon. First column holds field names: Yes. And Send file.
- There's no success message. Check the data list: now there are five.
- If the first two columns are missing, you get: Invalid import file. Your data then stays as it was.
- Two things you should know. The import replaces all records. Whatever isn't in the file is gone afterwards. And the semicolon at the end of every export line creates a field without a name. Remove it before the import.
- Here's how it looks live.
- Export as a template, add rows, send the file.