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 / Approval to Excel Sheet
Power Automate
Unanswered

Approval to Excel Sheet

(0) ShareShare
ReportReport
Posted on by 58

Hi

I have an approval flow that:

Data Inputted into Microsoft Form

Approved by 3 people

Data entered into Excel sheet

 

At present it just writes the final approver into the approved column. Is there a way to add another 2 columns and get the names of all 3 approvers?

Thanks

 

flow1.JPG

 

flow2.JPG

 

Many thanks

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @karldenton 

     

    The approvers names are returned as an array so you will have to use a Join function to join them and then update the excel. you can use the below expression for the same.

    join(body('Start_and_wait_for_an_approval')?['responses']?['responder']?['displayName'],';')

    Here, 'Start_and_wait_for_an_approval' is the name of my action. Replace it with the name of the action that you have. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • karldenton Profile Picture
    58 on at

    Fab, thanks I'll give it a go. Does that go into 1 excel cell or can each response be split over 3 columns?

    Does it wait until all 3 responses are back or does it just show the ones approved so far?

    Thanks

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @karldenton 

     

    Yep. It will wait for each approver to respond and fill the value in a single cell as a text string separated by semi colons. (ensure to use the appropriate action name for the approval action in the formula)

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • karldenton Profile Picture
    58 on at

    Thanks. Its there a way to separate each responder into a separate column?

     

    Also getting error :

     

    InvalidTemplate. Unable to process template language expressions in action 'Join' inputs at line '1' and column '2111': 'The template language expression 'join(body('Start_an_approval')?['responses']?['responder']?['displayName'],';')' cannot be evaluated because property 'responder' cannot be selected. Array elements can only be selected using an integer index. Please see https://aka.ms/logicexpressions for usage details.'.

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @karldenton ,

     

    It seems you are using templates to create Flow, please consider creating a similar Flow from blank.

     

    When configuring the Condition, select Outcome to judge the result of the approval. If there are three approvers, then the parameters on the right side of Condition need to be configured as "Approve, Approve, Approve".

     

    You do not need to configure the Get tables action, you can delete it. Your original configuration seems to be correct, but some actions have been updated.

     

    Please take a try again.

     

    Best Regards,

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 468

#2
Haque Profile Picture

Haque 370

#3
Valantis Profile Picture

Valantis 354

Last 30 days Overall leaderboard