As an admin in Velory, you can easily import employee and/or device data into Velory by using the CSV import function.
This article includes the following topics:
- How to manage the import function
- Explanation of the template columns
- Update user and device information
- Edit and save your information correctly
- Troubleshooting errors
How to manage the import function
- Go to your profile in the navigation bar and click on Settings, then click on Imports.
- Download template and edit it using Microsoft Excel, Google Sheets, Open Office or another spreadsheet application.
- See the explanations of the different columns for more information. If you enter both employee and device info on the same row, the device will be assigned to the employee on import. You can also choose to enter only employee or device info on each row. When importing only employee info, first name, last name and email address are required. When importing only device info, product name is the only required field.
- If an employee has more than one product, you add one device per row, the email address of the user should be added to each of those rows.
- When you have filled in the template with correct information it is important to save the file with the correct encoding format so that special characters are imported correctly. Read more under the heading Editing and saving your informaiton correctly.
- Choose your saved file and Upload it. When you see the green icon you know the import is finalized and successful.
- If you see a red icon, the information is added incorrectly. Click on the arrow to the left to expand the view to see what you need to correct before you upload the file again.
- When the import is complete you can go to Asset Management to view the imported data.
Explanation of the template columns
Column |
Type |
Description |
Example |
|
user |
The email of the user. This is used as the user identifier, so future imports with the same value will update the user rather than create new users. |
john.doe@example.com |
first_name |
user |
The first name of the user. |
John |
last_name |
user |
The last name of the user. |
Doe |
phone_number |
user |
The phone number of the user. |
123456789 |
address |
user |
The street address of the user. |
1 Home Street |
city |
user |
The city of the user’s address. |
Stockholm |
postal_code |
user |
The postal code of the user’s address. |
12345 |
country |
user |
The country code of the user’s address, specified using the ISO-3166-2 format |
SE (the country code for Sweden) |
employee_number |
user |
The employee number of the user. |
1234 |
cost_centre |
user |
The cost centre of the user. |
Accounting |
job_title |
user |
The job title of the user. |
Accountant |
start-date |
user |
The start date of the user. If left blank it will be the date when the import was originally made. |
2022-03-07 |
location_id |
user |
Found in the URL of the location when you go in to edit location view in settings. |
51855cc1-70b5-46a2-a401-8182764527af |
budget_id |
user |
Found in the URL of the budget view in Asset management. If a default budget is set for your company and this field is left blank all employees will be assigned to the default budget. |
59fabfbd-a8be-4897-bbf2-96b04c70630a |
date_of_birth |
user |
The date of birth of the user, specified using the YYYY-MM-DD format. |
1980-01-17 |
user_role |
user |
Decides the role of the user. Possible options: admin or employee. If left blank it will by default add the user as an employee, the user role can be changed later. |
employee |
send_invitation |
user |
It will send an onboarding email to the newly added user. Possible options: yes or blank. |
yes |
device_name |
device |
The name of the device. |
MacBook 13” 256GB Silver |
serial_number |
device |
The serial number of the device. This is used as a device identifier, so future imports with the same value will update the device rather than create new devices. |
123456789 |
imei |
device |
The IMEI of the device. This is used as a device identifier, so future imports with the same value will update the device rather than create new devices. |
987654321 |
category |
device |
The category of the device. This is used in association with budgets and can be blank or one of the listed valid categories. |
computers |
payor |
device |
The payor value of the device. This value can be ‘company’ for devices which are paid by the company, ‘employee’ for devices which are paid by the employee, or left blank which will use your company’s default payor settings. |
company |
distributor_name |
device | The name of the distributor from where the device was purchased from. | Dustin |
distributor_order_id |
device |
The Order ID from the distributor for this device. |
123 |
notes |
device |
The notes which will be visible to both employees and admins. |
This computer was in storage. |
manager_notes |
device |
The notes which will be visible only to admins. |
This computer will be sold for X amount of SEK. |
purchased_at |
device |
The date when the device was purchased, specified using the YYYY-MM-DD format. |
2022-01-01 |
expires_at |
device |
The date when the device should be renewed/upgraded for the user. Specified using the YYYY-MM-DD format. |
2025-01-01 |
Update user and device information
If you need to make any changes to the imported employee or device data you are able to do so by updating the document and uploading it again with the necessary changes. Factors to have in mind:
- To update a user, ensure that the same email address is used.
- To update a device, ensure that the same IMEI and/or SN is used, uniqueness is required for the update to be successful. If your company has multiple devices with the same IMEI or SN, it is not possible to update through the import, the devices needs to be updated manually.
- To set the employee as a payor to the device, ensure that the employee's email address is filled in and ‘employee’ is filled in the payor column.
Edit and save your information correctly
It is important to import data with the correct encoding format so that special characters are imported correctly. Depending on your spreadsheet application, follow below instructions:
Google Sheets:
- Open Google Drive and create a new Google Sheets document.
- Enter or import your data to the document.
- Once you save your file, you click on File > Download As > Comma-Separated Values to save the file to your computer.
Microsoft Excel:
- Open Excel and create a new Excel document.
- Enter or import your data to the document.
- Export your data with File > Save As. Enter any name for the file, then select CSV UTF-8 (Comma delimited) (*.csv) as your desired file format.
- Click Save.
MacOS Numbers:
- Open Numbers and create a new Numbers document.
- Enter or import your data to the document.
- Export your data with File > Export to > CSV.
Note, if you have already imported information that now has misinterpreted characters, you can upload a new file in the correct format following the above instructions, to fix the character errors.
Troubleshooting errors
- Validates category value - must be filled with one of the valid categories. If you leave the category column blank, it will default to "other". It needs to be written exactly as it is in the list.
- Validates SN/IMEI value uniqueness - SN/IMEI should be unique within the company. If there are several devices with the same SN/IMEI, the correct device should keep the SN/IMEI and the duplicate devices should be updated to different values or removed.
- Multiple rows - if there are multiple rows with the same email (e.g. if an employee has several devices) but different values for other user info fields, it will be the last row’s values that are used.
- Blank values - will not overwrite information added if values are left blank. E.g. if you have an existing user with address information, and you import them without address information in the CSV, the existing address information will remain, it will not be removed.