web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Parse JSON Showing Val...
Power Automate
Unanswered

Parse JSON Showing Values in step body but all output values are null

(0) ShareShare
ReportReport
Posted on by 11

I'm attempting to parse a http response to JSON and from there use it to send a notification (currently using Teams, doesnt really matter what the service is.

 

In the results after a flow runs you can see the original content, the schema (generated by either flow or an external service) and the body containing the results. This is all as expected. When it is output however the dynamic content placeholders, all named correctly from the schema/data, only return null values. 

 

The original JSON content exactly as it arrives (i've adjusted phone numbers and some SIDs in the data for privacy):

 

{"smsjson":{"ToCountry":"AU1","ToState":"1","SmsMessageSid":"SMe817731ef923413ab2de7c804e61b4f11","NumMedia":"01","ToCity":"1","FromZip":"1","SmsSid":"SMe817731ef923413ab2de7c804e61b4f11","FromState":"1","SmsStatus":"received1","FromCity":"1","Body":"Response catch 41","FromCountry":"AU1","To":"+614","ToZip":"1","NumSegments":"11","MessageSid":"SMe817731ef923413ab2de7c804e61b4f11","AccountSid":"1","From":"+614","ApiVersion":"2010-04-01"}}

 

The JSON Schema, NB this example uses a schema generated at the URL shown, same results occur if i use the built in schema generator.

 

 

{
 "$schema": "http://json-schema.org/draft-04/schema#",
 "id": "http://example.com/example.json",
 "definitions": {},
 "type": "object",
 "properties": {
 "smsjson": {
 "type": "object",
 "properties": {
 "AccountSid": {
 "type": "string"
 },
 "ApiVersion": {
 "type": "string"
 },
 "Body": {
 "type": "string"
 },
 "From": {
 "type": "string"
 },
 "FromCity": {
 "type": "string"
 },
 "FromCountry": {
 "type": "string"
 },
 "FromState": {
 "type": "string"
 },
 "FromZip": {
 "type": "string"
 },
 "MessageSid": {
 "type": "string"
 },
 "NumMedia": {
 "type": "string"
 },
 "NumSegments": {
 "type": "string"
 },
 "SmsMessageSid": {
 "type": "string"
 },
 "SmsSid": {
 "type": "string"
 },
 "SmsStatus": {
 "type": "string"
 },
 "To": {
 "type": "string"
 },
 "ToCity": {
 "type": "string"
 },
 "ToCountry": {
 "type": "string"
 },
 "ToState": {
 "type": "string"
 },
 "ToZip": {
 "type": "string"
 }
 }
 }
 }
}

 

And the body from the results (see screenshot):

 

{
 "smsjson": {
 "ToCountry": "AU1",
 "ToState": "1",
 "SmsMessageSid": "SMe817731ef923413ab2de7c804e61b4f11",
 "NumMedia": "01",
 "ToCity": "1",
 "FromZip": "1",
 "SmsSid": "SMe817731ef923413ab2de7c804e61b4f11",
 "FromState": "1",
 "SmsStatus": "received1",
 "FromCity": "1",
 "Body": "Response catch 41",
 "FromCountry": "AU1",
 "To": "+614",
 "ToZip": "1",
 "NumSegments": "11",
 "MessageSid": "11",
 "AccountSid": "1",
 "From": "+614",
 "ApiVersion": "2010-04-01"
 }
}

 

I'm by no means an expert here, fairly sure i've missed something obvious so happy to receive any advice!

 

JSON Flow Result

Categories:
I have the same question (0)
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @RThorek,

     

    Could you please share your flow configuration in a screenshot here?

    If the Parse JSON action works, then the dynamic content generated under it should also work.

    Further, would you please copy the whole output body of the parse JSON Action?

    Take a try with the Compose Action, see if workflow Definition Language could work with the contents:

    Using the Azure Logic Apps Workflow Definition Language (WDL) in Microsoft Flow

    Regards,

    Michael

     

  • RThorek Profile Picture
    11 on at

    this is the full flow configuration:

    Top HalfTop HalfBottom HalfBottom Half

     

    and the whole body of the Parse JSON action outcome is here:

    {
     "smsjson": {
     "ToCountry": "AU1",
     "ToState": "1",
     "SmsMessageSid": "SMe817731ef923413ab2de7c804e61b4f11",
     "NumMedia": "01",
     "ToCity": "1",
     "FromZip": "1",
     "SmsSid": "SMe817731ef923413ab2de7c804e61b4f11",
     "FromState": "1",
     "SmsStatus": "received1",
     "FromCity": "1",
     "Body": "Response catch 41",
     "FromCountry": "AU1",
     "To": "+614",
     "ToZip": "1",
     "NumSegments": "11",
     "MessageSid": "SMe817731ef923413ab2de7c804e61b4f11",
     "AccountSid": "ACab1",
     "From": "+614",
     "ApiVersion": "2010-04-01"
     }
    }

    I'll take a look at the compose action now, thanks!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 246 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 176

#3
Haque Profile Picture

Haque 157

Last 30 days Overall leaderboard