web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

How to map leads to their existing contact records?

(0) ShareShare
ReportReport
Posted on by 10

Hi, 

I am working on launching a lead scoring model but we do not have leads and contacts mapped in the system (leads dont have associated contact records), which means I can't score any of the existing data at its current form. What we were planning to do was to import a batch of existing contacts as leads and map them to their existing contact record. But not sure how to do that, is there a way for me to import a batch of leads and match them to their existing contact record by email address or another field? 

I have the same question (0)
  • BPX Profile Picture
    25 on at
    RE: How to map leads to their existing contact records?

    Well, apparently there is an internal way to map using lead mappings. Lead mapping using Flow is very easy though. That's how we did the mapping.

    Steps:

    Create a flow with the trigger - On New Lead (create) -- lookup contact -- if found -- update lead (use the found contact) associate contact.

  • Elli Vaere Profile Picture
    10 on at
    RE: How to map leads to their existing contact records?

    Hi Bhuvan,

    Thanks for your message. Could you please clarify if I need to go to 'Lead mappings' and then to '1:N relationships' to create a flow or is it a workflow that you are talking about? Sorry might be stupid question but I'm new to Dynamics so not quite familiar with it yet.

    Thanks for your help!

    Best,

    Elli

  • Suggested answer
    AriaConsulting Profile Picture
    2 on at
    RE: How to map leads to their existing contact records?

    Elli Vaere

    You don't need to use flow (power automate) in order to do an initial data population.  You can do this using flat files (.csv ONLY!) with the data correctly setup so that D365 makes the appropriate 1:N and N:1 relationships for you. This is done through the import data wizard:

    pastedimage1627667134628v1.png

    The "trick" if you will is to have the flat files with the data setup properly bundled together in a zip file. Then, instead of just importing data to one table/entity, you will be importing to multiple at the same time and you will map those relationships in the import data wizard.

    So, for instance, you need to relate (map) leads to contacts and have the scoring data you've defined added to those lead/contact pairs. Thus you would have a 'leads' file and a 'contacts' file in the zip. When you go through the wizard, you will choose the appropriate lookup field for each of them.  Again, make sure you have those references in your files.  For instance, you have a lead "John Smith".  In the Leads file, you will add a column for that John Smith record that contains John Smith again but will be mapped to the Contact table/entity.  Same thing in the Contact file. So, you will make those associations in the wizard and D365 will upload the data in pairs doing, essentially, an 'apply to each' function. Here's an example screenshot doing it with Accounts and Contacts:

    pastedimage1627667843243v2.png

    Does that help?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 149

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 132

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 123 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans