Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Capturing JSON parameters from Emails automatically

Posted on by 66

All,

Using the "Record Creation and Update Rule"  facility in Dynamics 365 I have recently set up the automatic creation of Cases which are generated when an email is sent to our support@... email address. I would like to expand this type of facility to cover the wide range of other notifications / requests we get from customers and suppliers arriving via Email.

After reading the Blog article below, I think I better understand the process:

http://joegilldotcom.blogspot.com/2016/10/message-listener-with-no-code-json.html

I understand that I need to capture the JSON payload from within an Email, I need to set up name:value pairs in the Channel Properties part of the "Record Creation and Update Rule"  section of the CRM settings. These then can be used to populate fields in CRM Entity's. What I do not quite get is:

  1. Do all emails have a JSON payload? None of the test ones I am sending into our system appear to have a payload.
  2. If yes to 1 above where is it normally carried, Subject or Body?
  3. To do this would I be beholding to those sending us the emails to alter their emails structure to include a JSON payload in a structured name:value pair?
  4. Can I reach in and grab values from the email Body or is it just the subject line?
  5. Is there a tool which can separate out /view the JSON payload of an email?

Any explanation as to the background of how this works would be helpful.

*This post is locked for comments

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans