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 :
Service | Customer Service, Contact Center, Fie...
Unanswered

Workflow for Merging Contacts

(0) ShareShare
ReportReport
Posted on by 479

Hi,

I am just wondering if its possible to write a workflow to automatically merge Contacts if a new Contact has been created in error.

To outline the problem, our live chat provider is called ProProfs, our Contacts all have 2 email addresses in the system, their Primary (personal) email and their Institutional (Term) email.

If one of our Contacts uses their Term email when starting a live chat, a new Contact is created as the ProProfs code isn't capable of searching for that email address within any existing Contacts, so a new Contact then gets created. I end up having to manually merge a number of Contacts on a weekly basis. The problem being that if I have merged a Contact then they start another live chat, a new Contact gets created again, so the process is never ending.

What would be ideal for me would be if I could create a workflow that would search for the email in the new Contact among existing Contacts then merge once it had found a match.

Thanks as always

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Workflow for Merging Contacts

    Hi TedW,

    Unfortunately, OOB workflow also can’t  search for that email address within any existing Contacts and merge records.

    But you can use flow to merge contacts automatically, you can refer following link, which need you build merge connector ourselves by using HTTP method on the HTTP connector and deal with the authentication.

    Using Power Automate (Flow) to merge contacts - Marc Gerner (dynamics365blog.io)

    If your new duplicated contacts from live chat don’t contains new values, maybe you can delete new contacts directly when it is created.

    1.Go Power Automate(https://us.flow.microsoft.com/en-us/ ) to create an automated flow.

     

    2.Set ‘When a record is created’ as trigger.

    pastedimage1613617377298v2.png

    3.Add 'List records' step to search for that email address within any existing Contacts .

    You can use any one email field as filter based on your needs.

    pastedimage1613618285001v3.png

    4.Add 'Condition' to check number of contacts that email is same with new contacts.

    pastedimage1613618407219v4.png

    5.Under 'Yes' Branch, add 'delete a record' step.

    pastedimage1613620786543v1.png

    But if it contains new value that original contacts don’t have, you have to merge them with flow based on link I provided above.

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 100 Super User 2025 Season 2

#2
Suresh Kulla Profile Picture

Suresh Kulla 72 Super User 2025 Season 2

#3
DAnny3211 Profile Picture

DAnny3211 54

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans