Data Import Wizards
There are now two import wizards in Salesforce:
- Import Accounts & Contacts
- This wizard is specifically designed to accept pre-formatted data from common contact data sources (Outlook, Gmail, LinkedIn, etc.).
- Up to 50,000 records can be imported each session.
How many records can I import?
[Could / Short / Salesforce.com]
- Up to 50,000 records can be imported each session.
- This wizard is specifically designed to accept pre-formatted data from common contact data sources (Outlook, Gmail, LinkedIn, etc.).
- Data Import Wizard
- This is a general-use wizard and can import records into the following objects:
- Accounts
- Contacts
- Leads
- Solutions
- Campaign Members
- Custom Objects
- Data Import How To Series
[Should / ~15m / Salesforce.com]
- This is a general-use wizard and can import records into the following objects:
In 2015, Salesforce revamped the existing data import wizards, launching the wizards above. The existing “legacy” import wizards were retired completely in the Winter ’17 release. The data import wizards now support external ids (Summer ’17 – see Match Look-Up Fields with an External ID).
Data Manipulation Wizards
The following wizards are available through the user interface:
Tool | Affect | Available Objects |
---|---|---|
Mass Transfer Records | Changes record ownership (e.g. transfer 100 leads from one user to another user). | Leads, Accounts, Service Contracts, Custom Objects |
Mass Delete Records | Deletes records. | Leads, Accounts, Activities, Contacts, Cases, Solutions, Products |
Mass Transfer Approval Requests | Transfers pending approvals from one user to another (e.g. someone leaves the company, transfer all pending approvals to their supervisor). | |
Mass Reassign Account Teams | Add, remove, or replace members within an account team. | Account Teams |
Mass Reassign Opportunity Teams | Add, remove, or replace members within an opportunity team. | Opportunity Teams |
Mass Update Addresses | Used to standardize variances in the country and state fields (e.g. transform all instances of "Ohio" to "OH"). | Address fields on accounts, contacts, contracts, leads. |
Note that many standard objects are not supported by several of the wizards. For instance, you cannot mass transfer opportunities (although the account transfer wizard will allow you transfer opportunities related to an account).
Data Loader
The data loader is purely a data manipulation tool. It gives the administrator a great deal of flexibility (almost all objects and data can be accessed) but provides little to no guidance in how to achieve a specific task (e.g. using the Import Accounts & Contacts wizard will automatically establish the relationship between an imported contact and an account; this relationship needs to be established within the data via a Salesforce ID or an External ID when using the data loader).
As of the Summer ’15 Release, the Data Loader is now available for Windows and Mac (previously not available for Mac).
Where to get the Data Loader
- Navigate to Setup –> Data Management –> Data Loader
- Download & Install
Data Loader Operations
Action | Description |
---|---|
Insert | Creates new records. |
Update | Updates existing records. The Salesforce ID of each record must be defined within the source file. |
Upsert | Updates an existing record if present; if record not present, creates a new record. Matching can be based on Salesforce ID or external IDs. |
Delete | Deletes records. The Salesforce ID must be defined within the source file. |
Hard Delete | Permanently deletes; records are not moved to the recycle bin. The Salesforce ID must be defined within the source file. |
Export | Extracts records from Salesforce; excludes records in your recycle bin. |
Export All | Extracts records from Salesforce; includes records in your recycle bin. |
Wizards vs. Data Loader
The Data Loader is a desktop tool that uses the API to interact with Salesforce data. Your computer is requesting and making the changes to Salesforce data, whereas when using the import wizards you upload a file and it is then processed server-side by Salesforce. This is important for a few reasons:
- You need the API in order to use the Data Loader (typically Enterprise Edition or higher, or a cost for lower editions).
- The wizards offer options that are not available via the Data Loader (e.g. disable workflow rules when loading data — workflow rules will always be triggered by the Data Loader).
- The permissions are different. Access to the wizards are driven by specific permissions (e.g. ‘Import Personal Contacts’ and ‘Import Leads’ permissions on profile/permission set), while Data Loader permissions are driven by the global ‘API Enabled’ permission on profile/permission set.
- The import wizards can load files with up to 50,000 records per job. Transfer wizards can transfer up to 250 records at a time. The Data Loader, however, can process up to 5 million records per job. Therefore, if you need to process large volumes of data (e.g. create 250k accounts or transfer 10k accounts), use the Data Loader.
- An administrator can save mapping using the Data Loader and even schedule jobs on a local server
Other Data Manipulation Tools
Name | Type | Price | Description |
---|---|---|---|
dataloader.io | Web | Free | Web-based tool with similar functionality to the Data Loader. |
Force.com Workbench | Web | Free | Allows you to explore and manipulate data, metadata, and perform a variety of other functions. Built by Salesforce.com (may not be officially supported). |
Note: The above tools are used for data manipulation. For data cleansing tools, see Introduction to Data Quality.
John,
Enjoying your site & the quizes! Please update to include Data Import Wizard being able to import campaign members, person accounts also, per attached reference link.
https://help.salesforce.com/articleView?id=faq_data_import_wizard_what_kind_objects.htm&type=0
Thank you!
Thanks! Updated
I am trying to create child custom objects with a one to many relationship to the parent Account using the data import wizard but it is causing an error because of the “many” piece. I am not sure what I’m doing wrong here. I am wondering if I’m not setting up the master-detail field properly or if I have to use Data Loader (I’ve reached my limit this month with them and will pay the 100 bucks but want to be sure I need to first). Thanks!
What’s the error?
The detail record will need to have the id of the account populated in order to insert the record (or upsert) – you can’t load a detail record without the parent established.
The data loader application is free – not sure what’s asking for $100 but you shouldn’t need to pay to load data.
When using the import wizards, will an import fail if the import violates a data validation rule?
Can u please give the right answer ?
Thanks
Anu
They should fail:
https://help.salesforce.com/articleView?id=notes_on_importing_data.htm&language=en&type=0
Field Validation Rules—Salesforce runs validation rules on records before they are imported. Records that fail validation aren’t imported. Consider deactivating the appropriate validation rules before running an import if they affect the records you are importing.
Hi John,
Is there any Mass reassign account teams in setup area in sf?
Yes there is
Hi John,
Why would I need Slaesforce ID to simply delete or hard delete records through the data loader?
thanks
rashminder
That is the only way you can specify which records you are deleting
Hi John,
how come i do not see Import My Accounts & Contacts under My Settings > Import? I use a developer org and our training org. Is this something we need to activate? I only see Data Import Wizard on both envts.
Jobelyn
couldn’t find this either – looks like it’s been retired: https://help.salesforce.com/articleView?id=Import-My-Accounts-and-Contacts-Retirement-in-Winter-17&language=en_US&type=1
Yep – these were updated, apologies on the delayed reply
Import Your Accounts and Contacts link is giving error
Thanks, updated
Hi John,
Can Import Wizard avoid duplicating records when you import?
Thank you,
Johnny
Yes but very limited in options- e.g. name or email for contacts.
Hi John,
Can data loader avoid duplication?
Which one is used to de-duplicate a record from below tool?
1. Data loader
2. Import Wizard
the data loader can only avoid duplicates using an external id. the import wizard has more options for some objects but is still fairly limited
There are some WordPress errors at the end of this page. I don’t know if you had intended more content on this page or these are just errors that need to be removed.
I’ve seen that a few times- usually a page refresh fixes the issue. Keeping an eye on it.
Another free alternative to Salesforce data loader with powerful features – https://skyvia.com/data-integration/salesforce-data-loader
Sorry Forgot to check Notify me when new comment are added, so adding an extra comment to get notified.
In your statement- The wizards offer options that are not available via the Data Loader (e.g. the ability to specify which lead assignment rule to process)
I guess we can specify the assignment rule ID in the Data Loader. Can you please confirm if your above statement is correct?
I believe you can trigger the lead assignment rule with data loader- removed that segment. There is some automation (e.g. matching on name) that the import wizard can do though, and data loader cannot.
HI Jhon
Thanks for all the content much appreciated.
I was wondering if you could help.
Lets say you wanted to integrate 2 databases, so contact object in SF whilst the other is FTP source with a flat file which which has contacts.
I wanted to import the external ids by matching the names from the FTP source into the the Contacts in salesforce. If the names match then upsert and i would map over the the external ID.
From then on, i would use the external ID to match and upsert since the ID is already.
Jhon in your experrience how is this process typically done via an ETL tool? Whats the process of integrating an sql database lets say or FTP source with a flat file with an object in salesforce. Most importantly how would I map the records in the other database to salesforce if salesforce does not have the ID’s from the other database. The simplest way I could think of was the above scenario.
Would be grateful for your advice or from other members thanks.
Typically an ETL tool- yes. You’d need an intermediate tool that could interface with FTP (direct to another database such as SQL is often easier). The mapping between the fields and the actions that are processed would all be determined by the ETL tool.
In the config for the ETL job, you would want to specify the action (UPSERT) with the mapping to the external ID. Specifying the UPSERT action would then allow you to match the ID of the source (FTP or SQL for example) to the custom external ID field. Hope that makes sense!
I think this page is out of date, SF link below shows it’s now 50k for end users (https://youtu.be/VMW94CuoEYo?t=82)
Interesting- this conflicts: https://help.salesforce.com/HTViewHelpDoc?id=limits_accounts_import.htm&language=en_US
I think you’re right: https://help.salesforce.com/apex/HTViewHelpDoc?id=faq_data_import_wizard_how_many_records.htm&language=en_US
Updating.
In the note : “Note that many standard objects are not supported by several of the wizards. For instance, you cannot mass transfer opportunities (although the account transfer wizard will allow you transfer opportunities related to an account).”
What is the account transfer wizard? It does not appear in your ‘transfer wizard list’. Is this perhaps the same as the Import Account/Contacts wizard?
From the setup menu, use the “Mass Transfer Records” menu option- that will give you the list of supported objects.
In the section “Each of the import wizards has slightly different options for preventing duplicate records”
when I test this via my dev org and go to Setup > Personal Setup > Import > Import My Accounts & Contacts I do not see the screen that you provided in order to manage duplication.
How can I do this?
Thanks for pointing this out- this was from the legacy importer, it is no longer valid. Updated content accordingly.
Broken link: https://help.salesforce.com/HTViewHelpDoc?id=faq_import_contacts_how_many_contact.htm
Indeed spotted it too :
◦How many contact and business account records can I import?
[Could / Short / Salesforce.com]
John – In the Wizards vs. Data Loader section you mention that the Data Loader will Always trigger workflow rules. However in the Salesforce Video earlier: http://salesforce.vidyard.com/watch/ARIjWm2qrDkJVJxEhReFug it mentions that though there is no option to turn workflow rules off during an import it can be turned off in the Setup pages.
Ignore the above.
On further video watching I realized they meant the Setup page of the workflow rule itself (in order to deactivate it so it does not trigger) and not, as I thought any setup associated with the Data loader itself.
Ugh, i cant type, Sorry
How many contact and business account records can I import?
Updated-
Users: 500 records
Admins: 50,000 records
Here’s a link from Salesforce that shows this is 50k not 500: https://youtu.be/VMW94CuoEYo?t=82
Got it- conflicting docs at Salesforce. Thanks for this Basil! Updated
Hi, Minor spelling mistake
Under section 1
Import Accounts and Contacts
How many contat and business account records can I import?
Should read
How many <> and business account records can I import?
Thanks, updated
In my Dev Org when I browsed into Mass Transfer / Delete /Update Addresses the displayed options/links are different than what has been recorded here. My Dev Org shows:
Mass Transfer: Accounts, Leads, Macros, Streaming Channels.
Mass Delete: Accounts, Leads, Activities, Contacts, Cases, Solutions, Products, Reports.
Mass Update Addresses: accounts, contacts, contracts (active & inactive), leads, orders (active & draft).
Is this a recent change in Salesforce or different editions showing choices ?
There was a change – also updated! Thanks!
I think it is worth noting that end users have the ability to ‘Import My Accounts & Contacts’ (up to 500) without access to the setup menu. A couple other differences between the Data Loader & Import Wizards are worth pointing out such as handling of duplicates (Import Wizard can dedup), Import Wizard asks whether to disable workflow & validation rules. Data Loader can save field mapping and set up a schedule.
Just to confirm:
validation rules run when Data Loader and Import Wizards are used, but only the Import Wizard gives you the option of turning VR off?
I didn’t see an option to disable validation rules – but yes validation and workflow will always take place for data loader. For import wizards, you can opt to disable workflow.
Updated, thanks Bruce
Hi Bruce,
Does this mean that there is a difference between import by end-user and import by administrator via the Import individual wizards?
According to the documentation it says import wizard is up to 50K?
Bruce, disregard my question above, I found the reply just now and later in this section by John, it is indeed 500 for users and 50K for administrators.
Here’s a Salesforce link (from this site) that clearly shows it’s 50k not 500.
https://youtu.be/VMW94CuoEYo?t=82
Updated, thanks
Since you are discussing ‘data manipulation’ in a broad sense, you might as well include the other 2 data wizards ‘ Mass Reassign Acct Teams’ and ‘ Mass Reassign Oppty Teams’.
Added as well
In addition to the objects that you have listed that can be imported via the user interface
Accounts, Contacts, Leads, Solutions and Custom Objects, the object ‘Articles’ also has a object specific import wizard.
Noted, thanks Bruce!
It seems that another reason to use Data Loader–even if your job is smaller, is if you want to load something that Data Import Wizard doesn’t support–all the rest besides Account/Contact, Lead, Solutions, Custom Objects. Is this something that might weigh into a test answer? I saw a Quizlet card that asked what you could do with Data Loader, Import 50,000 or less was a wrong answer. But you would use it for less if you wanted/needed to. Right?
Yes you would… I always use the data loader, literally cannot remember the last time I’ve used the import wizards. Its more a question of which objects are exposed and personal preference.
Hi John
I attempted the exam few months ago and remember a question i couldn’t answer.
Tried searching for it but no luck. Hope you can help. Thanks
Q) What happens if while importing, Wizard or Data Loader comes across an error.
1)No impact on Importing process and it keeps going
2)The import interrupts and stops
3) Import resumes after fixing the error from the point where it stopped
If you get an error in processing with the data loader, those errors are handled on a line by line basis. For example, if you are updating 1000 records – and 600 of them have errors, then 400 will be processed. The process doesn’t stop when an error is detected, but those 600 lines with errors will not have any impact in system.
So, would that mean the answer to the question is #1?
Yep, although I suspect the wording is a bit different – I wouldn’t use the term no impact, as the records that had errors would not be imported. But yes the process would continue.
This question is similar to one still on the test but it pertains to a validation error. And one of answers was it would continue but not import those with the validation error. Is that correct?
Yes if you’re loading data using the data loader and a validation prevents a save, it will continue through the rest of the data set.
Why did workbench.developerforce.com/ not make your list? Its what I have been using since I started exporting/importing data.
Good question! I will add it.
I am using a Developer edition.
When trying to import a bunch of users into my Org, I assigned the License Type = Chatter Free.
However during the import, get an error “License Limit Exceeded”.
I cannot assign a Salesforce license either since there are only 2 available.
How do we go about importing users to the Org please ?
Please do not double post, http://classic.certifiedondemand.com/salesforce-com-editions#comment-4234
Does anyone know if the wizards or data loaders will allow for changes to be tracked and show in the chatter feed when updating records?
Daniel- good question. I haven’t specifically tested this, but I would be surprised if an API-based change to data did not also feed Chatter. I know for certain that API-based changes do update field history tracking. If you get a chance to test that I’d love to know the results.
Is there any reason why the Import Wizard covers the objects that it does? Why not import all standard objects, for example? I’m finding it hard to memorize because it seems so random.
Thanks,
Kaira
Some aspects of Salesforce are a bit random. They likely developed organically based on customer needs and priorities at the time that seem random years later.
I wouldn’t worry about memorizing everything though – I high doubt that you will be asked a question where you need to know that a specific data wizard doesn’t work on X object. The questions will be more focused around what methods exist and generally speaking what the best approach would be.
Thanks!
Jitterbit Data Loader works well and supports Group and Professional editions in addition to Enterprise and Unlimited. It’s free too.
Dataloader.io is another popular one – thanks for the note!
I did not realize it supports pro and group… good stuff!
CRMFusion’s DemandTools is the best.
I’ve heard that!