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

Community site session details

Session Id :
Power Automate - Using Flows
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

 

 

 

I have the same question (0)
  • lbendlin Profile Picture
    8,363 Super User 2025 Season 2 on at
    Re: HTTP output to parse JSON

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

  • DaveTalbot Profile Picture
    on at
    Re: HTTP output to parse JSON

    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,363 Super User 2025 Season 2 on at
    Re: HTTP output to parse JSON

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

  • DaveTalbot Profile Picture
    on at
    Re: HTTP output to parse JSON

    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
    Re: HTTP output to parse JSON

    I solved this myself

  • lbendlin Profile Picture
    8,363 Super User 2025 Season 2 on at
    Re: HTTP output to parse JSON

    What did you do to solve it?

  • Verified answer
    DaveTalbot Profile Picture
    on at
    Re: HTTP output to parse JSON

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 597 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 373 Moderator

#3
chiaraalina Profile Picture

chiaraalina 262

Last 30 days Overall leaderboard

Featured topics

Restore a deleted flow