Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
7 years, 7 months ago
I want to import leads with a CSV-file and assign them to an existing campaign. The CSV contains a field 'campaign' with the name of the campaign.
If you import the CSV with the Data Import Wizard from the
Campaign page > Campaign Members > Manage Members > Import File the leads are assigned correctly to the corresponding campaign. If you import the CSV from
Setup > Administer > Data Management > Data Import Wizard with leads (checkboxes equal to 1.) the leads are NOT assigned to the campaign.
I like to import leads and assign them to different campaigns in one CSV-file, so way 2. would be the best.
Remark: the Data Import Wizard will not work correctly with Firefox (MIME-type error) - use Chrome instead.
Oct 28, 2015 at 10:24
In the approach 2 that you have mentioned, I haven't seen any option of associating leads to a Campaign. I don't think you can use that. The only thing that I can think of is using Data Loader in 2 steps:
Import the Lead CSV. Make sure the CSV file also contains the column of Campaign ID.
Once imported, get the success file. It will have the LeadID, CampaignId. You can additionally add the column for Status (or this can be present at the start). Use this file to import to CampaignMember object.
Oct 28, 2015 at 12:39
1,754 20 20 silver badges 37 37 bronze badges
Found a solution for approach 2. with Data Import Wizard (thanks RajeshShah for the hint!)
Using 2. and generate a field CampaignID with the Campaign ID (instead of campaign name) of the desired campaign. The mapping will work automatically and the imported leads are assigned correctly.
Oct 28, 2015 at 14:19
log in to answer this question.
Not the answer you're looking for? Browse other questions tagged
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only