When a CSV import is the right way to load Zammad customers
A CSV import through the Zammad admin interface is the direct route when a helpdesk goes live with a backlog of customers and organizations that already sit in a CRM or directory export, and when that load is one-time or runs only occasionally. The import creates customer user accounts with the customer role, creates the organizations they belong to, and links each user to the right organization so that shared ticket views and organization-level settings work from day one. It is one of several ways to get identities into Zammad, alongside the API, directory synchronization and customers signing themselves up through the web channel, and the choice depends on how often the source data changes and who owns it.
Pick the CSV route when the source is a static snapshot you can export, clean and review before loading, and when nobody needs the data to stay in step with the source afterward. If customer records change every day in the CRM, or if agents must be created and kept in line with a directory group, a recurring API job or LDAP sync is the better fit, because a CSV load does not keep Zammad updated on its own. Before committing, confirm with your Zammad version and admin documentation which fields the import accepts for your installation, since custom attributes and organization fields can differ. Also decide who will own the file, how duplicates will be resolved, and whether the load will be repeated, because those answers shape the preparation work more than the import itself.
CSV import, LDAP sync or API: which route fits your data
A one-time load fits when a CRM or spreadsheet export is the starting point for customers and organizations and the source will not keep changing in a way Zammad must follow. CSV import in the admin interface suits this shape: you prepare a file, run a preview, and then import once.
- Good at: loading a clean starting set of customers and organizations without writing code.
- Cannot do: keep records current after the CRM changes, so later edits need another import or manual work.
- Who maintains it: your support operations lead owns the export and column mapping, and the Zammad admin runs the import.
- Watch for: duplicate email addresses and organization names across exports, which the preview step helps surface.
- Plan for: re-imports, since you need to know how a second run treats records that already exist.
Confirm how your Zammad version handles updates to existing records in the sample file before you run the import on production data.
When a directory such as Active Directory or another LDAP source already defines who belongs to your organization, a sync keeps Zammad aligned without repeated hand-built files. The directory then acts as the source of truth, so its data quality becomes Zammad's data quality. Confirm the LDAP sync features your Zammad version provides before you design around them.
- Good at: keeping user records aligned with a source that already changes on its own.
- Cannot do: correct bad source data, since errors in the directory flow into Zammad.
- Who maintains it: the directory team owns the source attributes, and the Zammad admin owns the mapping and schedule.
- Confirm: how departed accounts are handled, and whether roles or group membership can come from directory groups in your release.
- Plan for: a test against a limited directory group before you point the sync at all accounts.
Ask your directory team which attributes are authoritative, then check the LDAP documentation for your Zammad version before go-live.
The API suits a system that must create or update customers and organizations when events happen, such as a billing platform or internal portal, or when the source data needs transformation that a flat CSV layout cannot express. The Zammad migration documentation notes that systems without a built-in migrator can be imported through the API or through custom development. Expect your own code to own the logic.
- Good at: event-driven creation and updates, field transformation and error handling inside your code.
- Cannot do: run without a development team, since the code, credentials and retries become your responsibility.
- Who maintains it: your developers own the integration, and the Zammad admin owns the API user, token and permissions.
- Watch for: token scope and rotation, plus error handling and pacing for large backfills.
- Consider: a one-time API backfill combined with CSV for corrections, if both are needed.
Confirm the endpoints and permissions available in your Zammad version, and name an owner for the integration before development starts.
Most teams decide by asking how often the source changes, who owns it, and how much transformation it needs. Answer these questions for each data source before you pick a route, and record the answers with a named owner.
- Change frequency: a static export points to CSV, while a directory that changes daily points to sync.
- Source authority: if the directory is authoritative for identity, let it drive Zammad's user records.
- Transformation: heavy field logic usually needs the API or custom code.
- Skills available: CSV needs an admin, sync needs directory and Zammad admins, and the API needs developers.
- Mixed sources: many organizations combine a one-time load with a sync or API for ongoing changes.
Write the decision down with an owner per source, so the route does not change silently after go-live.
CSV import settings and when each fits
This table compares the settings that shape a CSV import into Zammad and the routes around it. Read each row as a decision: what the option is for, when it fits, and what to check before you run the import against live data. The main takeaway is that a preview run and a clear role and organization mapping prevent most of the cleanup work after an import.
| Option | When it fits | Trade-off | What to check before a live run |
|---|---|---|---|
| Sample CSV as a starting point | Your first import, or a team that has never loaded Zammad users before | Headers must match the sample exactly, so renamed export columns need mapping first | Compare your export headers with the sample file and rename or drop columns to match |
| Required columns | Every import, since rows without the identifying fields cannot create usable accounts | Missing or misnamed required columns stop the import or create incomplete records | Confirm each required column is present, populated on every row and free of blank cells |
| Optional columns (phone, address, notes, custom attributes) | Directories and CRM exports that carry contact details worth keeping on the customer record | Each extra column adds mapping work and more places for data quality issues | Confirm custom attributes exist in Zammad first, and that values match the expected type |
| Multiple values separated by ~~~ | Customers with several email addresses or a shared list of values in one field | A wrong separator or stray spaces can merge or split values incorrectly | Check that the separator is exactly ~~~ and that no export tool has added quotes or extra delimiters |
| Preview test run | Any file, before the first live import and after every change to the mapping | It checks structure and mapping but does not replace a review of the actual records | Review sample rows, confirm the counts and look for duplicates or unexpected blanks |
| Role and organization mapping | When customers should land in the right organization and agents or admins are created from the same file | Assigning roles from a file bypasses the review you would normally do by hand | Decide which role each row receives, and confirm organization domains or names match existing records |
| Organization import alongside users | When customers belong to B2B organizations and tickets should be shared within them | Organizations must exist or be created correctly before users link to them | Import or verify organizations first, then confirm user rows reference the same organization names |
| LDAP sync | When the source of truth is a directory that changes often and group membership should drive roles | Requires directory configuration and ongoing sync rather than a one-time load | Confirm the directory attributes Zammad will read and who owns changes in the source |
| Zammad API | When the source is a CRM or system that needs scripted, repeatable or incremental loads | Needs development and a token with the right permissions, so it costs more to set up | Confirm the API token scope, rate handling and a test run against a non-production instance |
How to run a CSV import in Zammad safely
This sequence moves customer and organization records from an export into Zammad in a controlled order, so each stage is checked before live data changes. The result is a verified import with known duplicates, organization links and login behavior.
Export and inventory the source records
The administrator exports customers and organizations from the directory or CRM into a flat file and records the row count, the fields available and the owner of each field. Confirm which system is the source of truth for contact details, because a later re-import will overwrite Zammad values with whatever the file contains. The step is complete when the team can state how many records the export holds and which fields are trusted.
Download the sample CSV from the admin interface
In the Zammad admin interface, download the sample CSV for users and for organizations rather than writing headers from memory. Use the exact header names from that file, because the importer matches columns by name. The check is that a test file built from the sample opens cleanly in a spreadsheet tool, with no added spaces in headers and UTF-8 encoding preserved.
Map source fields to Zammad columns
Build a mapping table that lists each source field, the matching Zammad column and any transformation, such as splitting a full name or choosing a primary email address. Mark the columns that identify a record, typically email for users, and note where multiple values such as several email addresses or organization memberships must be separated with the ~~~ delimiter documented for the import. The mapping is done when every required column has a source, and the team has agreed who signs off on it.
Clean and deduplicate the records
Remove blank rows, trim whitespace, normalize email case and drop duplicate customers that share an address. Check that each organization name is spelled once, because near-identical names create separate organizations. Confirm that every user row referencing an organization has a matching organization row. The check is a cleaned file where the duplicate count and the unresolved references are both zero or listed for a decision.
Run the preview test on a non-production instance
Load the cleaned file into a non-production Zammad instance with the same settings as production, including roles, groups and organization domain rules. Run the import in preview mode first so the importer reports what it would create and update without committing changes. Review the counts for created, updated and skipped rows, and read the error list line by line. The step closes when every skipped row has a documented reason and no unexpected updates appear.
Check organization links and login on sample records
On the test instance, open several imported organizations and confirm that customers appear under the correct one and that shared organization settings behave as intended. Pick one imported customer and check that the account exists with the expected email, that the customer can reach the web channel and that login or password reset behaves as configured for your environment. Record the results so the live run has a known baseline to compare against.
Run the live import and reconcile
Schedule the live import during a period when administrators can watch the results, then run it using the same file that passed the preview. Afterward, compare the created and updated counts with the preview report and spot-check the same sample customer and organization used earlier. Confirm the reconciliation with the owner of the source system, and keep the original export and the logs so the import can be explained or repeated later.
Preparing a directory or CRM export before import
The cleaning work decides whether the import succeeds, so settle it before any file reaches Zammad. Treat the email address as the identity key: every customer row needs one, written the same way every time, with consistent letter case and no stray spaces. Zammad matches existing users on that address, so two rows that differ only by a trailing space or a capitalized domain can produce duplicate customers. Organization names need the same discipline. The organization value must match the existing organization name exactly, so decide on one canonical spelling for each company, merge variants such as "Acme Ltd" and "Acme Limited", and remove blank or placeholder entries like "N/A" before they create organizations nobody intended.
Duplicates and departed customers need an explicit rule. Remove duplicate rows where the same person appears in both the directory and the CRM, keeping the record that holds the current email and organization. Decide what happens to people who have left a customer company: exclude them from the file, or import them and mark them as inactive in the source system so they stop receiving ticket notifications. Separate customer data from agent accounts as well. Staff records copied from a corporate directory belong to the agent import path, not the customer file, and mixing them can give internal employees customer-level access. Save the export as UTF-8 so accented names and non-Latin characters survive, and confirm the encoding in the preview because a wrong encoding often shows up as garbled names rather than as an error. Problems in this data usually surface after the import, when agents find wrong organizations or doubled customers, so the preview run is the real checkpoint and deserves more time than the import itself.
How a CSV import moves from export to live customers
The flow starts with an export from a directory or CRM, reshaped to match the sample CSV so each source column lines up with a Zammad attribute. The file then goes through a preview test run, which shows what would be created without writing live records. Errors such as missing required columns or malformed multiple values send you back to fix the file and re-run the preview. Only a clean preview moves to the live import into users and organizations, so review the preview output carefully before that step.
Shows the loop from preview errors back to the file before any live import.
Security risks in customer data imports
A customer import moves personal data out of a source system and into a helpdesk that agents and customers rely on. The risks below sit at each handoff: the export, the people who run the import, the accounts it creates, the file on the server, the record of what changed, and the copies left behind. Each card names the control you should own before the first run.
Unmanaged export files
A CRM or directory export is often a plain CSV on a laptop or in a shared drive, holding names, email addresses, phone numbers and organization details for many people. Decide who may request the export, where it is stored while you prepare it, and how long it stays there. Limit the export to the columns the Zammad import needs, so unneeded personal data never leaves the source system.
Who may run imports
Creating users and organizations in bulk is a privileged action, because it can grant customer access and attach accounts to existing organizations. Restrict the import to a named admin account rather than a shared login, and confirm which roles in your Zammad instance can reach the import screens. Agree in writing who approves the source file before it is loaded.
How imported accounts log in
Accounts created by an import may receive invitation or password behavior that lets a person sign in before anyone has verified them. Check the import's account-creation and notification settings in a test run, and confirm whether an invitation is sent automatically. If you use SSO for customers, decide whether imported addresses should be able to log in with a password at all.
Access to the import file on the server
Uploading a file through the admin interface still leaves it readable by anyone with server access, and copies can persist in temporary locations, logs or backups. Confirm which operating system accounts can read the host and any attachment storage, and that the file is not published on a web path. Treat the server copy as personal data with the same retention rules as the export.
Audit trail of changes
A bulk load can overwrite existing customer records, merge organizations or change ownership in a single action. Before loading, record the row count, the operator, the time and a checksum of the file, and export a copy of affected records so you can compare them afterward. Confirm that your Zammad logging captures administrative changes you will need during an incident review.
Removing the source file after the load
Once the import is verified, the source CSV and any working copies should be deleted from every location where they were stored. Assign that deletion to a named person and record it in the import ticket. Keep only the evidence you need for your own compliance records, and confirm with your data protection lead how long that evidence may be kept.
Questions teams ask before a Zammad CSV import
Can our own team run a Zammad CSV import without a partner?
Yes, a team with an administrator who knows Zammad and access to the directory or CRM export can usually run a CSV import in-house, especially for a single load of customers and organizations. The work is mostly data preparation: mapping source columns to Zammad fields, cleaning duplicate email addresses, and splitting multiple values correctly. Bring in outside help when the load is repeated, when role design and SSO must be settled first, or when the team has no spare hours for test runs and sign-off. Ask any partner to show the written scope before work starts.
What makes a Zammad user import take more effort?
Data quality is the largest driver. Duplicate emails, inconsistent organization names, missing mandatory fields and mixed encodings each add a cleanup and retest cycle. The second driver is the number of organizations, because each one needs a domain or name decision and may carry its own attributes. Role design matters too: deciding which imported users are customers and which need agent access changes the file and the import checks. Overlap with single sign-on adds work when accounts must link by email instead of being created twice. Confirm each of these before the load starts.
What do we need to provide for the import?
You need read access to the source export, either from your directory or CRM, and a named owner who can answer questions about field meaning and record ownership. Decisions are needed on which roles imported accounts receive, which groups customers can choose, and whether organizations are shared between colleagues. You also need a test sign-off from someone who knows the data, who checks the preview results and a sample of loaded records before the full run. Without that sign-off, errors usually surface later in ticket views.
How long does a Zammad CSV load typically take?
The load itself is usually fast. Most of the elapsed time goes to preparation, validation and test runs, so the duration depends on how clean the export is and how many rounds of review the data needs. A file that already matches the sample format, has unique email addresses and has agreed organization names can move through a preview and a single load quickly. A file pulled from several systems, with unresolved duplicates, can take several cycles. Ask for the planned number of test rounds and the review steps in any proposal.
When should we use LDAP sync or the Zammad API instead of CSV?
Choose LDAP sync when the directory is the source of truth and accounts, groups and changes must follow it over time, because a one-off CSV file does not keep records current. Choose the API when the source is a CRM or custom system that needs scripted, repeatable updates or fields the CSV route does not cover. CSV suits a one-time or occasional load from a clean export. Confirm your directory and identity setup with the vendor documentation before you commit, because the right route depends on how often the source changes.
What should a quote for this work include?
A quote should follow from a written scope and list the source systems, the number of records and organizations, the field mapping, the role and group decisions, and the test rounds with their acceptance criteria. It should state what is handed over, such as the sample file, the mapping document and the load log, and what is excluded, such as ongoing synchronization or single sign-on setup. Ask whether any work recurs, such as later loads or retainer support, and whether the source export needs cleaning work from your team. DeployOpen does not publish a price list, so the quote is the figure to compare.
Does a CSV import change how customers and agents sign in?
Not by itself. A CSV load creates user and organization records, but how those people sign in depends on the login settings you configure. If you also plan single sign-on, decide before the load whether imported accounts should link to existing identities by email or whether unknown accounts should be blocked, because that choice changes which records you import. Test one agent and one customer account through the chosen login path during the preview stage, then review access settings once the full load is complete.
What a DeployOpen engagement covers for user imports
A DeployOpen bulk import is a fixed-scope piece of work with a clear start and end. It begins with source analysis: we inspect the directory or CRM export, identify which records are customers, which are agents, and which describe organizations, and check how the data is encoded, how many rows it holds, and where duplicate email addresses or missing domains would cause trouble in Zammad. The output is a written mapping from each source field to a Zammad user, organization or custom attribute field, along with the cleaning rules that apply before any file is built. Those rules cover things like trimming whitespace, normalizing email case, splitting multi-value cells, and deciding what happens to records without a usable email address.
Next we run the preview test run on a non-production Zammad instance, reviewing the import output row by row with you and fixing mapping or cleaning issues before anything touches live data. The live load follows only after you approve the preview results. Verification then happens with your support team: they check sample customers and organizations, confirm that organization membership and domain assignment behave as expected, and sign off on the results. Deliverables such as the mapping document, cleaning rules, test and live load records, and the verification checklist are agreed in writing before work starts, together with the timeline and any dependencies on your export schedule.
Your own data governance rules apply throughout. Decisions about which personal data is imported, who may view the source export, where working files are stored, how long copies are kept, and how removed records are handled remain with your privacy and security teams. Ask us to confirm in writing which environment the test and live runs use and how the source files are deleted afterward, since those controls determine how the work fits your review process.
How DeployOpen scopes and delivers Zammad identity imports
DeployOpen plans bulk imports of users and organizations into Zammad as a written, fixed-scope piece of work inside your own infrastructure. We agree the source files, column mapping, duplicate rules and test runs before any production data is loaded.
How we scope
- Inventory the source exports from your directory or CRM and confirm which fields map to Zammad user and organization attributes.
- Agree in writing how duplicate customers, shared email domains and multi-value fields will be handled before the first import.
- Decide with you whether a one-time CSV load, an LDAP sync or an API script is the right route for the ongoing data.
- Confirm which roles, groups and organization settings each imported record should receive, and who approves the mapping.
How we build
- Prepare the sample CSV template with the required columns and multiple-value formatting your Zammad version expects.
- Run preview test imports against a non-production Zammad instance and review every rejected or altered row with your team.
- Script repeatable checks that count created users, organizations and skipped records against the source file totals.
- Document the column mapping, transformation steps and rollback approach so the import can be rerun or audited later.
How we hand over
- Deliver the final mapping file, import templates and reconciliation report to your administrators in writing.
- Walk your team through the production import run, including the checks to perform and the points to stop and escalate.
- Record which data sources own which fields so future exports do not overwrite agent-maintained customer records unintentionally.
- Provide a short runbook covering when to repeat a CSV import, when to switch to LDAP sync and who signs off each run.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer, which can cover repeat imports as your directory changes.
- Re-run the import checks after Zammad upgrades so that changed field handling or validation rules do not go unnoticed.
- Review access and data handling of imported records as part of wider hardening, if you add that work to the same scope.
- Confirm with your team which support terms apply to your Zammad edition before the engagement starts.

