Skip to main content

Building Your Directory and Importing Employees

How to use the Directory agent to set up your account's structure, then import or update employees from a spreadsheet — required columns, validation, and salary and job history.

Written by Efrat Barak Zadok

Bulk imports require the "Add employees" admin permission. Imports are scoped to the admin's groups — rows for employees outside that scope are skipped with an explanation, and rows with missing required information are flagged for review before the import runs.

Building your directory

Before importing employees, the Directory agent can build your account's structure for you, from your HR system or from a spreadsheet you already use. This step only sets up your fields — no employee data is imported yet. You'll import your people afterwards, in a separate step.


​

Step 1: Go to Account Settings → Employee Fields. The Directory agent panel opens next to your fields. If you've closed it, click Ask the Directory agent.


​

Step 2: Choose where to build your fields from:

  • Import fields from BambooHR — needs a short setup first. See Importing from BambooHR.

  • Import fields from HiBob — needs a short setup first. See Importing from HiBob.

  • Import fields from spreadsheet — use an .xlsx or .csv file from any HR system.


​

Step 3: If you chose a spreadsheet, your computer's file browser opens. Select your .xlsx or .csv file.


​

You can also add a note with your file before it starts, for example "keep compensation in its own tab" or "the headers are in Hebrew". The proposal follows your note.


​

Step 4: On the Your data is ready screen, check the number of fields found and click Create. To use a different file, click the trash icon and start over.


​

Step 5: Wait while Shapes reads your file, compares it with the fields you already have, and groups the columns into sections. This takes about a minute. Columns are matched by meaning rather than exact spelling, and repeating records are detected and built as tables.


​

Step 6: Review the draft. A Your setup is ready for review banner appears at the top. To find what was added:

  • A blue dot next to a tab's name means that tab contains new fields.

  • Inside the tab, each added field is tagged New field.

  • Added sections have a dashed outline and are tagged New section.
    ​
    ​


For single-select and multi-select fields, Shapes also creates the list of options from the values in your file, so you don't have to type them in.


​

Click View field summary to open the All fields changes panel. It shows how many New fields were created and how many Matched fields were linked to fields you already have, so nothing is duplicated, and lists each new field with its field type.


​

Step 7: Make any changes before approving. While the setup is still a draft, you can:

  • Click a field's name to rename it. Edited fields are tagged Changed.

  • Delete any proposed field you don't want.

  • Change a field's type. This only works between compatible types — for example, Text to Long text — not from any type to any other.

  • Use Add Field to add a field to a section, or Create section to add a new section.

  • Ask the Directory agent for changes in plain language, for example "Create a new tab with two sections in it". See Refining the draft with the Directory agent.

Want only part of the proposal? Delete the fields you don't need while the setup is still a draft, then approve the rest. This is easier than approving everything and deleting fields from your account afterwards.


​

Step 8: Click Approve to save the structure, or Discard to throw the draft away. Nothing is written to your account until you approve. Once approved, a confirmation message shows that your fields and changes have been saved.


​

Refining the draft with the Directory agent

The Directory agent stays open next to the draft. Describe a change in plain language and the draft updates in place. For example:

  • "Rename Department to Team"

  • "Move Laptop into Equipment"

  • "Add the usual US documents"

  • "Create a new tab with two sections in it"

Your manual edits are kept. The agent reads the draft fresh each time it replies and never undoes changes you made yourself.

After each request, the agent replies with a short summary of what it added, how many columns it matched, and what to double-check. Nothing is written to your account until you click Approve.


​

Planning your fields first still pays off, even with the Directory agent's proposal to review. See Planning Your Employee Field Architecture in Shapes for what to consider before approving the draft.


​

Importing from BambooHR

When you select Import fields from BambooHR, Shapes connects using a BambooHR API key and your company's BambooHR subdomain. An API key has the same access as the BambooHR user who created it, so Shapes can only see the employees and fields that user can see. If the key belongs to someone with limited access, the connection still works and no error appears, but the Directory agent creates fewer fields and the import brings in fewer employees.


​

Who should create the API key?

We recommend that a BambooHR Account Owner creates the key, so Shapes can see all of your employees and fields. If that isn't possible, give the person who will create the key a custom access level first. See Using a custom access level in BambooHR.


​

Step 1: In BambooHR, click your profile picture in the bottom-left corner and select API Keys.


​

Step 2: Click Add New Key.


​


​

Step 3: Give the key a name, for example Shapes. The name is only for your own reference. Click Copy Key right away and keep the key somewhere safe until you paste it into Shapes, then click Done.
​
​


​

Step 4: Find your subdomain. It's the part of your BambooHR web address before .bamboohr.com. For example, if you sign in at https://acme.bamboohr.com, your subdomain is acme.


​

Step 5: In Shapes, go to Employee Fields and click Import fields from BambooHR in the Directory agent panel. Enter your subdomain and API key, then follow the steps above to review and approve the fields. Enter the subdomain on its own, without https:// or .bamboohr.com, and make sure there are no extra spaces before or after the key.


​

Step 6: Start the import. Review the proposed mapping carefully before you run it. Auto-mapping can pair fields that look similar but hold different kinds of data. To fix a wrong mapping, unmap the column from its current field first, then select the correct one. If a BambooHR field has no matching field in Shapes, use Create a field on the mapping screen to add it without leaving the import.


​

Using a custom access level in BambooHR

If an Account Owner can't create the key, set up a custom access level for the person who will create it, before they create it.


​

  1. In BambooHR, click Settings (⚙️) in the top-right corner, then select Access Levels in the left menu.

  2. Click the + next to Levels and select Custom Access Level. Enter a name and description, then click Next Step.

  3. Under What can people with this access level do?, scroll to the Settings section and select Company Field Settings. Without it, company-level fields such as Division and Department aren't shared. Click Next Step.

  4. Under What this access level can see, go to See about other employees and select View Only for the information you want to bring into Shapes.

  5. If you use custom tables, open the section where each table lives (for example, Personal or Job) and grant access to every table you want to import.

  6. Save the access level, click Add Employee, select the person who will create the API key, and click Done.


​

Already have a custom access level? Open it under Access Levels, check that it includes the permissions in steps 3–5, and make sure the person creating the key is assigned to it.


​

Troubleshooting the BambooHR connection

  • The connection fails right away: check that you entered only the subdomain (for example, acme), not the full address, and that the API key has no spaces before or after it. Entering a wrong key several times can make BambooHR temporarily block API access for your account, so correct the key and wait before trying again.

  • Employees or fields are missing: the access level behind the key doesn't cover them. Have an Account Owner create a new key, or widen the custom access level and create a new key. Then click Import fields from BambooHR in the Directory agent again. It adds the fields that were missing, without duplicating the ones you already have. Then re-run the import.

  • The connection stopped working: deleting the key in BambooHR, or removing its creator's access, disconnects Shapes. Create a new key and connect again.


​

Importing from HiBob

Shapes can read your people straight from HiBob, build your fields from them and then import everyone, including their job, employment and salary history. HiBob import is open to every account and is marked Beta.

  • Who can use it: only Super Admins can pull data from HiBob, in the Directory agent and in the employee import. Admins still see HiBob in the list but can't select it.

  • What's imported: your people and the fields HiBob shares with Shapes, plus job, employment and salary history if HiBob shares the history for those sections. Employee files and past performance reviews aren't part of this import; to bring in files, see HiBob Integration: Bulk File Import.

  • HiBob import reads your data once, when you start it. It doesn't keep Shapes and HiBob in sync afterwards, and Shapes never changes anything in HiBob.

Before you start: create a service user in HiBob

Shapes reads your data through a HiBob API service user and sees only what that user's permission group can see. If a category is hidden from the group, HiBob leaves those fields out without showing an error. The service user for importing people needs different permissions from the one used for importing employee files; a user set up for files can't read your people.

  1. In HiBob, go to System Settings → Integrations and click Manage on the Service users tile. Click Create service user, enter a name and click Create. Copy the ID and Token and keep them somewhere safe.

  2. Click Go to permission groups, then Create permission group and choose Service user. Name the group, for example API – People Data, select your new service user and click Create.

  3. In the group's People's data tab, choose whose data the service user can access. Include every lifecycle status you want to import, usually Hired, Employed and Terminated.

  4. For each category you want in Shapes, turn on both View selected employees' [category] sections and View selected employees' [category] section histories. Without the history permission, Shapes gets only the latest value. Basic Info is required because it holds names. Add Personal, Personal contact details and any others you need, such as Employment, Work, Lifecycle or Payroll.

  5. For sensitive fields, such as Date of birth and SSN, turn on Edit as well as View for that field (under People's data → People's fields). HiBob doesn't share them with View alone. Shapes only reads this data.

Build your fields from HiBob

  1. Go to Account Settings → Employee Fields. The Directory agent panel opens next to your fields; if you've closed it, click Ask the Directory agent.

  2. Click Import fields from HiBob.

  3. The first time, Connect HiBob opens. Enter the service user's Service ID and Token and click Connect.

  4. Shapes fetches your people from HiBob, which can take a few minutes. The agent then proposes your fields for you to review and approve, as described in Building your directory.

Import your people from HiBob

  1. On the People page, click the three dots (⋯) at the top and select Import → Employees.

  2. Under Or import from, select HiBob (marked Beta). If you haven't connected HiBob yet, enter the Service ID and Token and click Connect.

  3. Shapes shows Fetching your people from HiBob. If you fetched your HiBob data in the last hour, for example while building your fields, you can choose Use your HiBob data from that time, or Fetch again.

  4. On Your data is ready, check what was found, then continue. The rest works the same as for a spreadsheet: mapping, issues, history, conflicts and review. See Importing employees.

Review the mapping carefully. Auto-mapping can pair fields that look alike but hold different data, for example a HiBob text field and a Shapes number field. If a HiBob field has no match, choose Create new field on the mapping step.

If HiBob didn't share everything

  • If some data didn't come through, Shapes says HiBob didn't share all of your data and lists what's missing. Click See what's missing for details. If Date of birth or SSN is missing, the field needs both View and Edit for the API user in HiBob.

  • Update the service user's permission group in HiBob, then click Fetch again, or continue with what you have.

  • If you already built your fields before fixing permissions, import fields from HiBob again in the Directory agent. It adds the missing fields and links the ones you already have instead of creating copies. Then run the import again.

  • HiBob lets admins move fields between categories, so a field may not be where you expect. Open an employee in HiBob, check which category holds the field, and grant access to that category.

  • If a fetch fails, Shapes says so. Try again, disconnect and reconnect with different details, or upload a file instead.


​

Importing employees

Once your fields are in place, import your employee spreadsheet. You can use the same import to add new employees, update existing ones, or both. To start, go to the People Directory, click the three dots next to Add Employee, and select Import.


​

Required columns

  • New employees: First Name, Last Name and Email Address.

  • Updating existing employees: Email Address only — it's used to match each row to the right person.

  • Role or compensation data: a date column that shows when each value took effect, such as Start Date or Effective Date. See Importing salary and job history.

If your file updates existing employees but also includes people who aren't in Shapes yet, add First Name and Last Name columns to the spreadsheet — without them, those new people can't be created.


​

Step 1: Upload your employee file. An agent maps each column to one of your fields — review the proposed mapping and adjust it if needed. If a column has no matching field, select Create a field to add it right from the mapping screen, without leaving the import.


​

Step 2: If your file includes role or compensation columns, choose which column holds the effective date. Shapes suggests every date column in your file. If each employee has only one row, their Start Date works. If an employee has several history rows, choose a column with the date each change took effect — using the same date on all of an employee's rows is flagged as an error. If your file has no date column, add one to the spreadsheet and upload it again.


​

Step 3: Review the matches. Each row is checked against your existing people, and for anything that would change on an existing employee, you'll see the current value alongside the incoming one. Employees who are already in Shapes — for example, people you've already invited — are recognized and updated, not created a second time.


​

Step 4: If you're importing into a table that already holds data, such as Bonus or Equity, choose whether to replace the existing rows or add the new rows alongside them.


​

Step 5: For fields that track history, such as compensation, choose to bring in the full history rather than just the latest value.


​

Step 6: Fix any errors, which are surfaced per row inside the import wizard, then run the import. You can correct most issues in place, without leaving the import to edit your file. A handful of bad rows won't block the rest of the file from importing — but a row missing its required columns won't be imported (for new employees) or updated (for existing ones).


​

Exporting errors and warnings

Instead of working through issues one by one in the wizard, you can export every error and warning as a CSV or Excel file. Each row in the export covers one issue: the employee's email, the row and column it came from, the problematic value, whether it's an error or a warning, and a description of the problem. Correct the issues offline, then re-upload.


​

Importing salary and job history

To upload historical compensation and role data, use the sample templates attached at the bottom of this article: Employee Data, Compensation History and Role History.

Each history template includes an Effective Date column, which tells Shapes when a change took effect so your history stays accurate:

  • The first role for each employee should use their start date as the effective date.

  • For every later salary or role change, enter the date that change took effect on its own row.

  • If there are no past changes to record, add a single row per employee.

Make sure every row has an effective date. Shapes no longer fills in today's date when one is missing, so a file without a date column can't continue past the effective date step.


​

Viewing past imports and undoing one

Every import is logged in Import History, along with who ran it and when — see Import History and Undoing an Import for how to view that log and undo an import if needed.

Did this answer your question?