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 / HTTP output to parse JSON
Power Automate
Answered

HTTP output to parse JSON

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I submitted a POST call and get back as below.

 

DaveTalbot_0-1674921252636.png

 

I add a compose line, which brings back the following

 

DaveTalbot_2-1674921469192.png

 

DaveTalbot_1-1674921351273.png

 

I am struggling to extract the "IdToken" element from this using parse JSON.  I added an array line and then when I use Parse JSON and add the schema in which includes the IdToken, it seems to use the 'header' as content rather than the 'output' I had chosen.   Can anyone help me understand what I have done wrong ?

 

DaveTalbot_3-1674921651332.png

DaveTalbot_4-1674921723135.png

 

 

 

Categories:
  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at

    You should be able to fetch this directly from the "Sample Object" output via ?['[IdToken]']

  • DaveTalbot Profile Picture
    on at

    Thanks a lot for your reply, much appreciated.   I'm relatively new to this, would I put that statement in a 2nd compose and what would it be ?  I tried with the below but it came out empty so I didn't use it correctly

     

    DaveTalbot_0-1674990473937.pngDaveTalbot_1-1674990557242.png

     

  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at

    Try from  Sample Object, not from Compose. Or directly from HTTP/body

  • DaveTalbot Profile Picture
    on at

    Thanks for replying.  I tried with both of the below.  Am I using the correct statements for these ?

     

    Compose        

    body('HTTP')?['[IdToken]']

     

    Compose 2

    outputs('Sample_Object')?['[IdToken]']

     

    DaveTalbot_0-1674991565030.png

     

  • DaveTalbot Profile Picture
    on at

    I solved this myself

  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at

    What did you do to solve it?

  • Verified answer
    DaveTalbot Profile Picture
    on at

    I wrote the output that contained the details I needed to a csv in the flow and then parsed the csv which produced the outputs I needed.

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 335 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard