Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Unanswered

Workflow for Merging Contacts

Posted on by 460

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

  • Community Member Profile Picture
    Community Member Microsoft Employee 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans