---
title: "Import a spreadsheet"
site: admin
version: 2027.1
versions: "all"
url: https://docs-new.servicely.ai/admin/2027.1/data-import/import-a-spreadsheet/
type: tutorial
application: platform
last_updated: 2026-12-03
commit: 8d233372fa05
---


This tutorial takes an administrator through a first data import from start to finish. At the end, two new starters from a spreadsheet exist as users, linked to their company.

## What you will learn

- how to prepare a spreadsheet for import
- how to import it into a staging table
- how to build a transform map with copy and lookup mappings
- how to run the load and check the result

## Before you begin

- You need the `administrator` role.
- Have a spreadsheet with one row per new starter and these column headings in row 1: First name, Last name, Company, Email Address, Employee ID. The values are sample data.
- Read [How data import works](page:data-import/how-data-import-works) for the three stages this tutorial follows.

## Step 1: Import the spreadsheet into a staging table

Clean the file before you import it. Keep the data on one sheet with the headings in row 1, and give every column that holds data a heading. Remove styling and formatting, and replace formulas with their values. Formulas are supported, but values import more predictably. You can still change values in the transform map later.

<Steps>
  <Step>
    Go to **Data import → Import → Import data ...**. The page opens with **Existing table** and **Existing import source** selected.

    <Image src="asset:screenshots/admin/data-import-import-a-spreadsheet/import-data-menu.png">The Data import menu open at Import, with Import data.</Image>
  </Step>
  <Step>
    Under **Which staging table?**, select **Create table**. In **Staging table name**, enter a name that is clearly an import table and not used elsewhere. A prefix for your organisation plus the target table plus `DataImport` works well, such as `<prefix>UserDataImport`.
  </Step>
  <Step>
    Under **Which import source?**, select **New file**. Drop the spreadsheet on **Click or drop to upload** under **Upload file**.

    <Image src="asset:screenshots/admin/data-import-import-a-spreadsheet/import-data.png" size="68">The Import data page with Create table, a staging table name and New file selected.</Image>
  </Step>
  <Step>
    Leave **Display XLS/CSV settings** and **Display optional transform** closed. The defaults read the first sheet with headings in row 1.
  </Step>
  <Step>
    Select **Submit**. A progress dialog shows the import. It runs in the background, so you can close the dialog.
  </Step>
</Steps>

When the import finishes, **Import data complete** links to the new **Import data source**, the **Import staging table** and the **Import staging log**. Open the staging table and select **View records**. You see one staging record per spreadsheet row, each with the state Pending. If field labels are missing, refresh the browser.

## Step 2: Create the transform map

<Steps>
  <Step>
    Go to **Data import → Transform → Transform maps** and select **New**.

    <Image src="asset:screenshots/admin/data-import-import-a-spreadsheet/transform-maps-menu.png">The Data import menu open at Transform, with Transform maps.</Image>
  </Step>
  <Step>
    Enter a **Name** and **Description**. Set **Source table** to your staging table and **Target table** to `User`. Save.

    <Image src="asset:screenshots/admin/data-import-import-a-spreadsheet/new-transform-map.png">The empty Create Import transform form, with Name, Description, Source table and Target table.</Image>
  </Step>
  <Step>
    Add a field mapping of type **Copy** from the email address column to the user's email field. Select **Primary key**, because email addresses are unique and names are not.
  </Step>
  <Step>
    Add **Copy** mappings for the first name, last name and employee ID columns.
  </Step>
  <Step>
    Add a **Lookup** mapping from the company column to the user's company field. Set **Lookup table** to `Company` and **Lookup field** to its name field. Select **Create on missing** so a company that does not exist yet is created.
  </Step>
</Steps>

The mapping types and their fields are listed in [Transform maps](page:data-import/transform-maps).

## Step 3: Run the load and check the result

<Steps>
  <Step>
    Go to **Data import → Load → Run data load...**. The **Load records** page opens.
  </Step>
  <Step>
    Leave **Import load type** as **Sync**, so existing users are updated and new ones created. Select your transform map in **Import transform** and your table in **Import staging table**.

    <Image src="asset:screenshots/admin/data-import-import-a-spreadsheet/load-records.png" size="68">The Load records page with Sync as the import load type.</Image>
  </Step>
  <Step>
    Select **Submit**. When the load finishes, the result page links to the load and its log.
  </Step>
  <Step>
    Open the two new users from the User list and check their fields and company.
  </Step>
  <Step>
    If a value is missing or wrong, open the staging records and the load log. The staging record shows what was imported. The log shows warnings, such as a lookup that found nothing.
  </Step>
</Steps>

## What you have done

You imported a spreadsheet into a staging table, mapped it to the User table with copy and lookup mappings keyed on email address, and loaded it with Sync. The source, staging table and transform map stay in place for the next file.

To import an updated spreadsheet later, replace the attachment on the import source. On **Import data**, choose **Existing table** and **Existing import source**, then run the load again.

## Related

- [How data import works](page:data-import/how-data-import-works)
- [Transform maps](page:data-import/transform-maps)
- [Schedule imports](page:data-import/schedule-imports)
- [System table cleanup records](page:platform/jobs-and-logs/system-table-cleanup-records)
