The order
- Export everything from the old place – Excel sheets, the old CRM and ideally your mail client’s contacts – to CSV in UTF-8, so æ, ø and å survive.
- Decide what stays behind. Free-text notes and birthdays are the fields where sensitive information hides. When we imported a salon booking site’s customer list into Odoo, we left out free-text notes and birthdays.
- Clean up and remove duplicates with the script below: CVR first, then e-mail.
- Test with 50 rows, check them in the new CRM, then import the rest.
- Keep the raw export somewhere safe and delete it once you have checked the import.
Our own import ended with 3,905 contacts and 64,879 identities: phone numbers, e-mails and handles that had to be linked to the right person – also when the name was in another alphabet. Duplicates take the time, not the import itself.
Clean-up with Python
The script reads a CSV export, drops the columns you do not want, fixes e-mail and CVR (the Danish company number) and removes duplicates in the same order our lead endpoint does: CVR, then e-mail. Run it on a copy. It expects a semicolon-separated file, which is what Danish Excel usually saves.
import csv
import re
import sys
DROP = {"noter", "notes", "fødselsdag", "birthday"} # free text and birthdays stay behind
def clean_cvr(value):
digits = re.sub(r"\D", "", value or "")
return digits if len(digits) == 8 else ""
def clean_mail(value):
value = (value or "").strip().lower()
return value if "@" in value and "." in value.split("@")[-1] else ""
def main(src, dst):
seen, kept, dropped = set(), [], 0
with open(src, newline="", encoding="utf-8-sig") as f:
rows = list(csv.DictReader(f, delimiter=";"))
fields = [c for c in rows[0].keys() if c.strip().lower() not in DROP]
for row in rows:
row = {k: (row.get(k) or "").strip() for k in fields}
row["cvr"] = clean_cvr(row.get("cvr"))
row["email"] = clean_mail(row.get("email"))
key = ("cvr", row["cvr"]) if row["cvr"] else ("email", row["email"])
if not key[1] or key in seen:
dropped += 1
continue
seen.add(key)
kept.append(row)
out_fields = fields + [c for c in ("cvr", "email") if c not in fields]
with open(dst, "w", newline="", encoding="utf-8") as f:
w = csv.DictWriter(f, fieldnames=out_fields, delimiter=";")
w.writeheader()
w.writerows(kept)
print(f"{len(kept)} rows kept, {dropped} duplicates or empty rows skipped")
if __name__ == "__main__":
main(sys.argv[1], sys.argv[2])
Run it with python3 clean_up.py export.csv ready.csv. Rows with neither CVR nor e-mail are skipped – go through them by hand; they are often private customers with only a phone number.
GDPR – what hits a CRM
We do not write your agreements or policies here; you or your adviser must sign those off. But you should know this before choosing:
- Data processing agreement (databehandleraftale). The CRM vendor processes personal data on your behalf. GDPR Article 28 requires a written agreement – electronic is fine – stating, among other things, that the vendor acts only on your instructions, also about transfers outside the EU, and uses sub-processors only with your written authorisation. The Danish Data Protection Agency’s (Datatilsynet) template is optional; the Commission’s standard clauses are equivalent.
- Information duty on import. If you import contacts you did not get from the person – for example a bought list or a register – you must tell them which data you hold and where it came from. At the latest within a month, or the first time you contact them.
- Deletion. GDPR sets no fixed periods. Accounting records must be kept for 5 years after the end of the financial year (bogføringsloven). As an indicative example, Datatilsynet mentions deleting a customer who has bought nothing for 2 years, and removing people from newsletters and SMS lists when they withdraw consent. Failing to delete is what Danish companies have most often been punished for: in the IDdesign case Datatilsynet proposed 1.5m kr., the district court gave 100,000 kr. and the Western High Court 1.5m kr.
- Record of processing. The exemption for businesses under 250 staff is narrow; if you have employees, expect to keep at least an HR record.
- Breaches. A personal data breach is reported via Virk.dk without undue delay and if possible within 72 hours.
So ask the vendor two things: can the CRM delete automatically by rule, and is there an audit log? JaKun – our own product – keeps a 2-year audit log and backups per customer.
What we ran into ourselves
- Mail that vanished. The CRM fetched mail over POP. The mail server deleted 1,438 mails in five weeks while the CRM had saved only 97. Never use POP; read the mailbox read-only and check by message-id.
- An id that was not what we thought. In our database subtype number 1 was the public “Discussions” type, not an internal note – the code came close to e-mailing customers. Look things up by name, not by number.
- Phone search that quietly stopped. A phone-number library was missing, and search simply returned nothing. Search for a number with and without the country code after the import.
- A restore must be rehearsed. A backup you have never restored is an assumption. We last rehearsed on 6 November 2026.
Sources
- GDPR (Regulation 2016/679) — Articles 14, 28, 30 and 33
- Datatilsynet – Danish template or EU clauses — both are equivalent
- Datatilsynet – Step 3: remember to delete — no fixed periods, indicative examples, read 19.11.2026
- Datatilsynet – furniture company reported for a fine — the IDdesign case
- Datatilsynet – guidance on records — the exemption is narrow
- Datatilsynet – handling breaches — 72 hours, Virk.dk
Questions about import and GDPR
Can we move from Pipedrive or HubSpot to another CRM?
Yes. Export contacts, companies, deals and activities to CSV, run the clean-up and import in the order companies, contacts, deals. Activities and notes are the hardest to bring along.
May we import a bought contact list?
That is a legal question you need to settle yourselves. If you do, you must at least tell the people which data you hold and where it came from, within a month at the latest.
How long may we keep customers in the CRM?
GDPR has no fixed period. You set one yourselves and need a routine for deleting. Accounting records must be kept for 5 years.
Do you help with the import?
Yes. Send a short description of what you have today and you get a fixed price for clean-up and import.
Fixed price, no commitment
Get a fixed price for choosing and importing a CRM
Tell us briefly what you use today and what you want to achieve. A person answers by e-mail with a proposal and a fixed price before any work starts.
- A fixed price before we start
- An answer by e-mail, no calls
- Your details are used only to answer you