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 / MS Forms + Power Autom...
Power Automate
Unanswered

MS Forms + Power Automate: Emailing Incorrect Answers

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello!

 

I have created a flow that takes my Forms Quiz responses and emails them out to different people depending on the location selected in the quiz. 

 

The form I have created is an audit form of sorts that is littered with 141 yes/no questions. I am hoping that the body of the email can show only the wrong answers. Here is how it's currently set:

kypaco_0-1677277778540.png

 

Under 'Findings' I would like to avoid listed every single answer and only display the questions they got wrong. How can I go about doing this?

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

    Hi @Anonymous ,

     

    You could try something like this:

     

    concat(
     if(equals(Q1,'true'),'Q1:false',''),
     if(equals(Q2,'true'),'Q2:false',''),
     if(equals(Q3,'false'),'Q3:true',''),
     .....
    )

     

     

    Best Regards,
    Bof

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for that, @v-bofeng-msft.

     

    Unfortunately, I get an error when testing that out. I copied/pasted what you wrote and replaced the 'Q1', etc. with the actual questions and it came back as an invalid expression when using 'concat'.

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

    Hi @Anonymous ,

     

    Could you please show me your expression and the error?

     

    Best Regards,

    Bof

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Here's what I'm putting:

     

    concat(if(equals(outputs('Get_response_details')?['body/r15fc1d75a9bc4eb2b5372b875ed89ce8'],'true'),'outputs('Get_response_details')?['body/r15fc1d75a9bc4eb2b5372b875ed89ce8']:false

    kypaco_0-1677601463217.png

    Thanks for your patience and working with me on this, @v-bofeng-msft !

     

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

    Hi @Anonymous ,

     

    Please try:

    concat(
     if(
     equals(outputs('Get_response_details')?['body/r15fc1d75a9bc4eb2b5372b875ed89ce8'],'true'),
     'Q1:False'
     )
    )
    

     

    Best Regards,

    Bof 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I was able to paste the code and save the flow; however, an error popped up while running it:

     

    kypaco_0-1677689085272.png

    Thoughts? 

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

    Hi @Anonymous ,

     

    Please try:

    concat(
     if(
     equals(outputs('Get_response_details')?['body/r15fc1d75a9bc4eb2b5372b875ed89ce8'],'true'),
     'Q1:False',
     ''
     )
    )

     

    Best Regards,

    Bof

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Apologies for the delay in response.


    It did let me use the code without error; however, it didn't show the failed item. Am I to replace the 'Q1' with the question or leave it as is? 

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard