Import records from a spreadsheet
Load a CSV file into a table. See what is in each column before you import, map columns to fields, and get the rows that failed back as a file to fix, with a reason on each one.

Somebody hands you a spreadsheet of leads. Typing them in one at a time isn't the answer.
To follow along, import the Data import — from a spreadsheet sample, from the platform's sample solutions. It has a Lead table with one column of every kind an import has to convert, a Leads — Import app, and two CSV files: one that imports cleanly and one with mistakes in it. Every picture is the real product.
Choose the file
Save the spreadsheet as CSV. In Excel that's File → Save a Copy → CSV UTF-8. Then open the list and press Import data on the command bar. It sits beside New, because importing is creating: if you can't create records in a table, you can't import into it either.
Choose the file, and before anything is imported the panel shows what it found:
- The separator it worked out: a comma, a semicolon, a tab or a pipe. A file saved where a comma is the decimal point usually uses semicolons. If a whole file comes through as one column, the separator is why, and you can change it here.
- Every column, with the first values actually in it, and the field it's going into. Read the values, not just the headings. A heading only tells you what somebody called the column.
Columns whose headings match a field's name are mapped for you, even without the field's prefix. Change any that are wrong. To leave a column out, clear its field. A required field has an asterisk.
Import
Press Import. All five rows became leads:

Look at what happened to the cells on the way in:
- Jean Aubert's budget was
"1,240,000"in the file. It's now the number 1240000. - Rui Santos was qualified
yes, in lower case.Yes,no,true,1,Yandonall work. - Source held words, like
Conference. That's what a spreadsheet has, and the record stores the option behind the words. - Account held an account's name, and the record now points at that account.
- Mona Haddad's budget cell was empty, so her record says nothing about budget. An empty cell doesn't clear a field; it leaves it alone.
| The field holds | Write |
|---|---|
| Text | Anything. Spaces at the ends are trimmed. |
| A number | 1234, -7, 12.50, 1,234.5. A decimal point, not a comma. |
| Yes/No | Yes, No, true, false, 1, 0, Y, N, on, off |
| A date | 2024-03-01, or with a time, 2024-03-01 14:30 |
| A choice | The option's words, as they appear in the list |
| A lookup | The name of the record it points at |
| A file or a picture | Nothing: these can't come from a spreadsheet |
When rows fail
Now the other file. It has six rows, and four of them have the mistakes real spreadsheets have:
A row that fails, fails alone. The other two rows were imported. A file of four thousand rows with twelve bad ones imports the other three thousand nine hundred and eighty-eight.
Each failure gives the line number your spreadsheet shows and what was wrong: a missing name, a source that isn't one of the choices, a budget written in words, an account that doesn't exist. A lookup is matched by name, ignoring capitals. If two records share a name, the row fails rather than picking one.
Press Download the rows that failed. You get only those rows, with the same headings and an
_error column on the end:
Name,Company,Source,Budget,Qualified,First contact,Account,_error
,Blue Yonder,Website,9000,No,2024-05-03,,Field 'par_name' is required.
Omar Farouk,Tailspin Toys,Newsletter,15000,Yes,2024-05-06,,Source: 'Newsletter' is not one of this field's choices.
Lena Vogel,Trey Research,Website,fifteen thousand,No,2024-05-09,,Budget: 'fifteen thousand' is not a number.
Tara Nowak,Proseware,Cold call,4000,No,2024-05-12,Nobody Ltd,Account: no account is called 'Nobody Ltd'.
Fix them in that file, delete the _error column, and import it. The rows that already worked
aren't in it, so nothing is imported twice.
A file that imports first time
Most failed rows come from a handful of habits in the spreadsheet, and they are quicker to fix before the import than after it. This is what the clean file in the sample looks like, opened as text:
Name,Company,Source,Budget,Qualified,First contact,Account
Ada Okafor,Meridian Freight,Referral,48000,Yes,2024-03-01,Adventure Works Industries
Grace Bello,Northwind Traders,Website,12500.50,No,2024-03-04,Northwind Industries
Jean Aubert,Contoso Ltd,Conference,"1,240,000",Yes,2024-03-11,Contoso Group
Mona Haddad,Fabrikam,Cold call,,No,2024-04-02,
Rui Santos,Adventure Works,Website,7200,yes,2024-04-15 09:30,Adventure Works Industries
Before you export a sheet to CSV, check these:
- One header row, at the top. Delete titles, notes and blank rows above the headings. The panel's first row is column headings box assumes the first line is the headings.
- Headings named after the fields. Budget maps itself to Budget. Budget (GBP, est.) doesn't, and you will map it by hand.
- Numbers as numbers. No currency signs, no k for thousands, no words.
48000, not£48k. - Dates in year-month-day order.
2024-03-01can only mean one day. A date written with slashes is read month first, the American way, so09/05/2024becomes 5 September, not 9 May, and nothing fails to tell you. A time with no time zone, such as2024-04-15 09:30, is taken as UTC. - Choices spelled as the list spells them. If the list says Cold call, a cell that says Cold-call fails. A quick filter on the column in your spreadsheet shows every spelling in use.
- Lookups by the record's name. Account must hold the account's name exactly as it is in Parsware, capitals aside.
Importing several tables that point at each other
A lookup is matched by the name of a record that already exists, so related tables go in the order their arrows point: the table being pointed at first.
For a typical move from another system:
- Accounts, which point at nothing.
- Contacts, whose Company column names an account.
- Leads or opportunities, which name an account or a contact.
- Activities or notes, which name any of the above.
Import them in that order and every lookup finds its record. Import contacts before accounts and every contact row with a company fails with no account is called …. Nothing breaks, and the download of failed rows is ready to import again once the accounts are in.
If two accounts share a name, rows that name it fail rather than guess. Give the two accounts names that tell them apart, such as Northwind (London) and Northwind (Leeds), before importing the contacts. A picture and a second line beside every record helps people tell them apart on screen afterwards, too.
Importing creates; it doesn't update
Import data creates a new record for every row. Importing the same file twice gives you every lead twice. That is what you want for a first load, and a surprise for a monthly refresh.
Two things protect you:
- A uniqueness rule on a field that identifies each record, such as an email or a customer number. A second import of the same row is then refused, row by row, with the duplicate named. No duplicates, no double bookings adds one.
- The failed-rows download. Because it holds only the rows that failed, re-importing it never duplicates the rows that worked.
When the job really is keep this table in step with another system every night, an import is the wrong tool. That is an integration: the other system writes through the API, or a scheduled function fetches and updates. Connecting Parsware to your other systems describes the options.
Rules run on every row
Because every row goes through the record's normal save, the business rules you have built apply to imported rows exactly as to typed ones.
- A server validation rule refuses a row it would refuse on the form, and its message appears in the failure list. A rule that says a cancelled course needs a cancellation note stops a row with the reason Cancelled and an empty note.
- A uniqueness or overlap rule on the table refuses a row that would break it.
- Auditing, if it is on for the table, records each created row under the name of the person who imported it, so an import is never anonymous.
What doesn't apply is anything that belongs to a form being open: a client business rule that shows, hides or fills in fields while somebody types. An import has no form. If a value must always be set, set it with a server rule, which every row passes through. Business logic: which one to use explains the difference between the two kinds of rule.
Who may import
The Import data button follows the same permission as New: if your role lets you create records in the table, you can import into it, and the button isn't there otherwise. Each imported row then needs every other permission the record would need, so a lookup to an account you can't see fails for that row. Security roles in practice shows how a role grants create on a table.
Questions that come up
Can I import into a table with a reference number? Yes. Every imported row gets the next number when it is created, and a Reference column in the file is ignored. Reference numbers that number themselves suggests keeping old numbers in a separate field.
Can I undo an import? There is no single undo, because each row became an ordinary record. Filter the list by Created On for the time of the import and by Created By for yourself, select the rows and delete them.
Can I import an Excel file directly? Save it as CSV first. CSV is plain text, so what you check in a text editor is exactly what the import reads, with no hidden formatting deciding a date for you.
What about files and pictures? A CSV file can't carry them. Import the records, then attach the files on the form or from a script, as Files and pictures on a record shows.
The same checks as typing
Every imported row goes through exactly what a record typed on a form goes through: the same permissions, the same field checks, the same business rules, the same Created by. There's no back door into the table. That's why a missing required field fails with the message it always fails with.
It's also why an import takes up to 10,000 rows at a time: each row costs what a typed record costs. Split a bigger file. The panel lists the first 200 failures, and the download has all of them.
Next: who changed what, with auditing on a table.