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 / Getting a single value...
Power Automate
Answered

Getting a single value from a Parse Json

(0) ShareShare
ReportReport
Posted on by 11

Hello,

I am building a flow that takes the data from a Sharepoint List, then selects a value from that array that was created (The Sharepoint List). I then want to pass the array value into an approval step, but the issue I run into is that when I use the output from the SELECT flow as the assigned contact in the approval flow, it instantly makes it a FOR EACH. Which doesn't work since I only want a single output from the approval. My next idea was to use parse json and then compose to take the exact output I am looking for, but I can't seem to get the correct code.

 

Please see the below images:

 

psil101010_0-1702483388266.pngpsil101010_1-1702483427257.png

 

Categories:
I have the same question (0)
  • JonDoesFlow Profile Picture
    1,304 on at

    This might help you - https://www.jondoesflow.com/post/first

    ---------------------------------------------------------------------------


    If I have helped you with an answer, please accept this post as a solution and thumbs up my reply. Thanks !

    Blog - JonDoesFlow
    Twitter - JonDoesFlow
    YouTube - JonDoesFlow

  • psil101010 Profile Picture
    11 on at

    Hello Jon,

     

    I have attempted this, the issue is that I am using the Select Option after the Get Items, to select a particular value first from the Get Items array. Once I have selected that, I want to be able to pass that through as the Assigned To field for the Approval step. 

  • psil101010 Profile Picture
    11 on at

    Please see the error I receive when I attempt to use the first option. 

     

    psil101010_0-1702486663434.png

     

    Mind you that I know that the admin email it is outputting is correct. It just isn't inputting correctly for the approval. The assigned to code I have for the input value is: 

    first(outputs('Select')?['body'])
     
    This is because the code for the correct admin email Select flow is:
    outputs('Select')['body']
  • Verified answer
    JonDoesFlow Profile Picture
    1,304 on at

    Try 

    first(outputs('Select')?['body'])?['Administrator email']

  • psil101010 Profile Picture
    11 on at

    This worked. Thank you very much!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard