Import and export users

Create or update lots of user accounts at once from an Excel or CSV file, and download your directory as a spreadsheet.

Creating accounts one by one works fine for a new hire. It doesn't work when you're moving a whole company onto Rework, or when fifty people change job title after a reorganisation. Import users reads a spreadsheet and creates or updates every row in one go, and Export users gives you the current directory as a file you can review, edit and import again. Here's how to use both.

Note: You need the App Admin role in Rework Account, or the System Owner role, to import or export users.

Step 1: Open the Action menu

  • Open the Account app and click Users in the left sidebar.

  • At the top right, click Action.

  • Choose Import users to bring people in, or Export users to download the directory.

The Action menu on the Users page with Export users and Import users

Import users

Step 2: Choose what the import does

The Import users window opens. An import either creates accounts or updates existing ones, never both in the same run.

  1. In What to do, choose:

    • Create new users: every row becomes a new account.

    • Update existing users: every row changes an account that already exists. See Step 5.

  2. Set the options:

    • Skip duplicated accounts: when the same email or username appears on more than one row of the file, the repeats are skipped instead of counted as errors.

    • Email each new user a set-password invite: sends every new person the same invitation they'd get from Create a user. This option only appears when you create users.

    • Run in the background: lets you close the window while the import keeps going. Large files always run in the background, whether or not you tick it.

  3. Import file: this is where you get the template and upload your filled-in sheet. See the next two steps.

The Import users window in Create new users mode

Step 3: Prepare the file

  • Click Download template to get an Excel file with the right column headers and one example row.

  • Fill in one row per person. When you create users, each row needs a first name, last name, email and username.

  • Click Columns in the window at any time to see what every column means.

The Columns list expanded in the Import users window
ColumnWhat goes in it
idThe existing user id. Used only when you update users.
usernameThe @mention handle: letters, numbers, dash or underscore.
emailThe sign-in address. Must be unique in your workspace.
first_nameRequired when you create users.
last_nameRequired when you create users.
nameDisplay name. Leave it blank to use "First Last".
titleJob title.
dobDate of birth, written DD/MM/YYYY.
phonePhone number.
addressCurrent address.
timezoneA timezone name such as Asia/Ho_Chi_Minh or Asia/Singapore.
languageInterface language code, for example en.
roleadmin for an Account admin, or member.
groupsUser group names, separated by ;. For example Sales; Leadership.

Columns the importer doesn't recognise are ignored, so you're free to keep your own notes in extra columns.

Step 4: Upload the file and run the import

  • Click Choose file… and select your Excel (.xlsx) or CSV file.

  • Click Import to apply it.

If you ticked Run in the background, or the file is large, you can close the window and the import carries on β˜•

Step 5: Update existing users instead

Updating is the fastest way to change the same detail for many people, such as titles after a reorganisation or timezones for a new office.

  1. In What to do, choose Update existing users.

  2. In Match existing users by, choose how each row finds its account: Username, Email or User id. That column must be filled in on every row.

  3. Leave any other cell blank to keep its current value. A sheet with only username and title changes titles and nothing else.

The Import users window in Update existing users mode with Match existing users by

Example of an update file that moves two people to a new timezone

usernametimezone
quinnAsia/Ho_Chi_Minh
dukeAsia/Ho_Chi_Minh

Note: The easiest way to build an update file is to start from an export. Export the directory, edit the cells you want to change, delete the rows you don't, and import the file with Update existing users.

Export users

Step 6: Export the directory

  1. Click Action, then Export users.

  2. In Who to include, choose Active users, Deactivated users or Everyone (active + deactivated). In File format, choose Excel (.xlsx), which keeps the columns typed, or CSV (.csv), which opens anywhere.

  3. Tick Prepare in the background if you'd rather close the window and download the file later. Large exports always run in the background.

  4. Click Export.

The Export users window with Who to include, File format and the Export button

The exported file uses the same columns as the import template, plus a few read-only ones such as each person's status and whether the account is locked. That's what lets you edit it and import it again.