Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Automatic update of email address in a record

Posted on by Microsoft Employee

Hello members,

I have a doubt and I hope you would be able to help me. I am using D365 for CRM and I am trying to automatize the email addresses' update process. My desire is to have the list of contacts always up to date, especially in these two cases:

1) email addresses that are no longer valid;

2) email addresses that are no longer valid and the new contact person in charge of that role.

The only way to have this info updated is to get the information from email exchanges between an employee and that record? Or is it possible to run periodical checks of validity of email addresses and/or have the new records created in case a new person took over the role?

thank you!

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Automatic update of email address in a record

    Dear Leo,

    Thank you very much for your answer, it is really helpful. If I might ask your help further, once I reach the point where I have my folder for the "invalid" emails and I am able to extract the email address from the email content, what are the next steps? Namely:

    - Can D365 extract the email addresses from the email content and create a list of addresses to be deleted, as "invalid"?

    - Moreover, in the case of an automatic reply stating for example "I am sorry I do not work for this company anymore. Please contact John Doe john.doe@example.com for your next orders", is there a way for D365 to recognize this and automatically create a new record for the new person?

    Thank you very much for your help!

    Best,

    Federico

  • Suggested answer
    LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Automatic update of email address in a record

    Hi partner,

    Make a process run automatically needs a trigger condition, in your case, the condition is when the email address no longer valid, but how do the system know the address is invalid? And what's the correct address do you need the system to update?

    Actually, if you want to monitor which contact's email address has been invalid, we could do this in D365 with OutLook and Flow.

    1.When  you send an email to an invalid address, Microsoft will response you an email to tell you that the email address is invalid.

    So you need to create a new folder in you inbox first and create a rule to make all these type emails move to the folder automatically.

    pastedimage1588904880791v1.png

    Then all the emails that tell you the address is invalid will be moved to this folder automatically.

    2.Go to Dynamics 365 Settings->System Settings, click on "Use folder-level tracking for Exchange folders (server-side synchronization must be enabled)" to allow you track emails in the folder in D365.

    And select "Allow messages with unresolved email recipients to be sent" to "Yes" to allow D365 send email to invalid address(otherwise when you send email to invalid address in D365, there will be a JS error on the form).

    pastedimage1588905073029v2.png

    3.Go to personal settings, configure Folder Tracking rules.

    pastedimage1588905117940v3.png

    Select the folder in your inbox to track in D365, this will make D365 create a new email record when your outlook receive a new email in your folder.

    pastedimage1588905184643v4.png

    Ok, now when you send an email to an invalid address from D365, there will be a new email record created in D365 to tell you that this email address is invaild, yes, here is the trigger condition for our process.

    Next we need to know which contact address has been invalid .

    The email content will contains the invalid address, so we need to split it out with FLOW.

    About how to split the email address from email content, you could use "split" function. Please refer to the following links.

    https://community.dynamics.com/365/f/dynamics-365-general-forum/386972/rules-to-automatically-create-or-update-records

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-split

    If my understanding is not correct, please feel free to let me know and provide more details.

    Best Regards,

    Leo

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans