cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jerry_Cobbs
New Member

Use JSON values in email

I have a child flow that receives an HTTP request from its parent, and the output contains the values that the flow needs. "Parse JSON" also shows that the values are there. However, if I try to use the values from either "When a HTTP request is received" or "Parse JSON" in an email, all I get are nulls, even though I can insert the dynamic values from either step in my "Send Outlook email".  How do I get these values into my email? I've seen other posts on here asking the same question, but either the situation is different or I'm already doing what they claim will work.

 

Error message-- "To cannot be null or empty"

Jerry_Cobbs_0-1617892909462.png

 

Output of "Parse JSON" contains the values I need--

 

Jerry_Cobbs_0-1617893082068.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @Jerry_Cobbs,

 

There is no need to use the parse JSON action to parse it, you could use the expression to extract the value directly:

triggerBody()?['properties']['Receiver Email']

Screenshot 2021-04-09 112502.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-litu-msft
Community Support
Community Support

Hi @Jerry_Cobbs,

 

There is no need to use the parse JSON action to parse it, you could use the expression to extract the value directly:

triggerBody()?['properties']['Receiver Email']

Screenshot 2021-04-09 112502.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (54,391)