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 / Error on response afte...
Power Automate
Answered

Error on response after Sending email with options

(0) ShareShare
ReportReport
Posted on by 13

Hello,

 

currently I'm trying to use the Send email with options, but I'm getting the error: 

"The execution of template action 'Option_-_Check_Answer_from_EP' failed: The result of the evaluation of 'scope' action expression '@outputs('Send_Email_for_Approval_of_the_invoice')?['body/SelectedOption']' is not valid. It is of type 'Null' but is expected to be a value of type 'String, Integer'."

 

 

The flow I'm trying to build is the following:

1)get a response with Microsoft Form

2) get the details of the response and put them in the body of the "Send email with options" and have "approve" or "deny" as options.

3) get the option chosen by the user and send it via email

 

When I run the flow, the first email never gets sent and I get the error listed on the top.

Could you guys help me understand what I'm doing wrong?

 

Thanks

Categories:
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @alesgrelli 

     

    for better understanding, could you share screenshot of flow ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • alesgrelli Profile Picture
    13 on at

    Hello Nivar,

    I attached a stamp of my flow, the trigger I use is "when a new ansewr is submitted" in a Microsoft Form, i "Retrive the answer details" and then create a file using those details.

    The File is then converted as a pdf and attached toan "Email with two options: Approve or Reject".

    Based on the ansewr from the user, the flow should run one of the two scripts.

     

    At the moment no mail is sent and the "answer" returned is Null so the flow just terminates.

     

    Thank you for your help 🙂

    Alessandro

    flow.png
  • alesgrelli Profile Picture
    13 on at

    Hi @Nived_Nambiar ,

     

    I just turned off the Static Output for I used for testing the email with option and now it gives me this error:

    "The request failed. Error code: 'ErrorRequiredPropertyMissing'. Error Message: 'Required property is missing.'."

     

    I checked but all the properties are there.

     

    Thanks,

    Alessandro

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @alesgrelli   

     

    screenshot which you have shared does not have complete flow picture- could you share flow picture, Also where is this expression - @outputs('Send_Email_for_Approval_of_the_invoice')?['body/SelectedOption'] written ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Verified answer
    alesgrelli Profile Picture
    13 on at

    Solved! 

     

    Apparently Power Automate gives you this error if the attached file to the email is not correct.

    You should use the "Populate" function from Word Online (Business).

     

    Thanks @Nived_Nambiar for your help.

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 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard