Import customer users and accounts from a CSV file

Updated

Who can do this: Super Admins

Add many accounts or customer users at once by uploading a CSV file. You can add customer users to one account, or match each user to an account by name.

Before you begin

  • You can have one import pending at a time.

  • To import internal users, see Import internal users in bulk.

  • Choose the import type that fits your file:

Import type

What it does

Required columns

Account

Creates accounts.

name

Customer User

Creates customer users in one account that you choose.

first_name, last_name, email_address

Customer User with Account

Creates customer users and matches each one to an account by name.

account.name, first_name, last_name, email_address

Download the template

  1. Go to Settings > Import & export and open the Imports tab.

  2. Select Download import template.

  3. Under Import type, choose the type. The dialog lists each column, whether it's required, and any allowed values.

  4. Select Download template.

  5. Fill in the template and save it as a CSV file. Keep the column headers as they are. OnRamp rejects a file with a missing required header or a header it doesn't recognize.

The template includes a column for each of your account or user data fields. Both customer user templates have an optional invite_user column. Enter True or Yes to email that user an invitation. Leave it blank to send none. Tag columns take several tags separated by semicolons, and OnRamp creates any tag that doesn't exist.

Characters names can't contain

OnRamp checks each row's names when it imports the file. A row with a character that isn't allowed fails with a message that the name contains invalid characters.

  • first_name and last_name can't contain < > | \ / ? [ ] { } " _ % or curly double quotes (β€œ ”).

  • account.name, and name in an Account import, can't contain < > { } " or curly quotes (β€˜ ’ β€œ ”).

Apostrophes in first and last names are fine, as in O'Brien. Spreadsheet apps and phones often type a curly apostrophe (’) instead of a straight one ('). OnRamp changes it to a straight apostrophe when it imports the name, so you don't need to fix it in the file.

First and last names must each be 1 to 100 characters long.

Create the import

  1. On the Imports tab, select New import.

  2. Under Import, choose the import type.

  3. For Customer User, choose the Affiliated account.

  4. Optional: Select Update matching records on import if found. OnRamp matches customer users by email address and accounts by name. With it on, a row that matches an existing record updates that record. With it off, the row is counted as a duplicate and skipped.

  5. Optional: For Customer User with Account, select Auto create Account if not found. With it off, a row whose account doesn't exist fails.

  6. Select Select CSV file and choose your file.

  7. Select Create import.

An Import is Scheduled dialog confirms the request. You can leave the page. OnRamp emails you a summary when the import finishes.

Check the results

The Imports tab lists each import with its Status and counts for Rows, Added, Updated, Duplicates and Errors. If Errors is above zero, select View error summary next to the count to see which rows failed and why.

With Customer User with Account, a row fails when its account name matches more than one active account, or matches a disabled account.

To get the uploaded file back, select Actions at the end of the row, then Download file.

More in Users & roles