User Import
Import users via CSV or sync from Active Directory / LDAP.
User import
Claro supports two methods for adding users to your tenant: CSV file upload and Active Directory / LDAP synchronization. Both methods handle department auto-creation, duplicate detection, and data validation.
CSV import
Prepare your CSV file
Create a UTF-8 encoded CSV file with the following columns:
| Column | Required | Format | Notes |
|---|---|---|---|
email | Yes | Valid email address | Primary identifier. Must be unique. |
first_name | Yes | Text | Displayed in the UI and used in template variables. |
last_name | Yes | Text | Displayed in the UI and used in template variables. |
department | No | Text | Auto-created if the department does not exist. |
job_title | No | Text | Used for reporting segmentation. |
phone | No | Text | Stored encrypted. |
Example CSV:
email,first_name,last_name,department,job_title
john.doe@company.com,John,Doe,Engineering,Software Engineer
jane.smith@company.com,Jane,Smith,Finance,Senior Analyst
budi.santoso@company.com,Budi,Santoso,Operations,Operations ManagerThe file must be UTF-8 encoded. Files encoded in other formats (such as ISO-8859-1 or Windows-1252) may cause issues with special characters and non-Latin scripts.
Upload the file
Navigate to Users in the sidebar and click Import Users. Drag and drop your CSV file or click to browse.
Claro parses the file and shows a preview of the first 10 rows. Review the column mapping to make sure each column was detected correctly.
Configure duplicate handling
Choose how Claro should handle users whose email address already exists in the system:
- Skip - Existing users are left unchanged. Only new users are created.
- Update - Existing users are updated with the data from the CSV. Fields present in the CSV overwrite existing values.
Email matching uses a blind index for security. The actual email addresses are encrypted at rest. This means lookups are fast and accurate without exposing the underlying data.
Confirm import
Review the summary showing the count of new users to create, existing users to update (or skip), and any rows with validation errors (such as invalid email format or missing required fields).
Click Import to start the process. For large files (thousands of users), the import runs as a background job and you will be notified when it completes.
Validation rules
The import process validates each row:
- Email - Must be a valid email format. Duplicate emails within the same file are rejected.
- First name and last name - Required, must not be empty.
- Department - If provided and the department does not exist, it is created automatically.
- Phone - No format validation; stored as-is but encrypted at rest.
Rows that fail validation are skipped and reported in the import summary. All valid rows are processed regardless of individual row failures.
Active Directory / LDAP sync
For organizations that manage users in Active Directory or another LDAP-compatible directory, Claro can synchronize users automatically.
Configure the connection
Navigate to Settings > Directory Sync and enter your LDAP connection details:
| Field | Description |
|---|---|
| Server URL | LDAP server address (for example, ldaps://ad.company.com:636) |
| Bind DN | Distinguished name for the service account (for example, cn=claro-sync,ou=service-accounts,dc=company,dc=com) |
| Bind Password | Password for the service account |
| Search Base | Base DN for user search (for example, ou=employees,dc=company,dc=com) |
| Search Filter | LDAP filter to select users (for example, (&(objectClass=user)(mail=*))) |
Use a dedicated service account with read-only access. The bind password is encrypted at rest using your tenant's encryption key.
Map attributes
Configure the mapping between LDAP attributes and Claro user fields:
| Claro Field | Common LDAP Attribute |
|---|---|
mail or userPrincipalName | |
| First Name | givenName |
| Last Name | sn |
| Department | department |
| Job Title | title |
| Phone | telephoneNumber |
The attribute mapping is flexible. Set each Claro field to the LDAP attribute name used in your directory.
Set sync frequency
Choose how often Claro synchronizes with your directory:
- Manual Only - Sync only when triggered by an admin
- Daily - Sync once per day at a configured time
- Every 6 Hours - Sync four times per day
During each sync, new users in the directory are created in Claro, updated attributes are synced, and users removed from the directory can optionally be deactivated in Claro.
Test and save
Click Test Connection to verify that Claro can reach your LDAP server and retrieve users with the configured filter. The test shows the count of users found and a preview of the first few records.
Once verified, click Save to activate the sync.
Bulk operations
From the Users list page, you can perform bulk operations on selected users:
- Assign to Department - Move selected users to a different department
- Assign to Group - Add selected users to a user group
- Deactivate - Soft-delete selected users (they will not receive future campaign emails)
- Reactivate - Restore previously deactivated users
- Export - Download selected users as a CSV file
Department management
Departments are created automatically during user import when a new department name is encountered. You can also create departments manually from Settings > Departments.
Departments are used for:
- Campaign targeting (send to specific departments)
- Report segmentation (click rates by department)
- Training assignment rules (assign training to high-risk departments)
- Compliance reporting (department-level metrics)