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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Approval - how to add ...
Power Automate
Unanswered

Approval - how to add the form into the mail sendt for approval

(0) ShareShare
ReportReport
Posted on by

Hello.

 

I am quite new in this.

I have set up an approval flow (called "Send form responses for approval") with a basic form that users fill up and submit for review.

 

The goal is that once someone is submitting the form, the results are sent to the approver along with the approve or reject buttons.

We use Office 365 in SharePoint with a site that has a list where the results for approval / reject are stored.

 

My main issue are:

1- How to have the results of the submitted form sendt along the approval request email to the approver?

2- Whether the approver clicks on approve or reject, the result is displayed as reject in the sharepoint list.

3- How is it possible to retrieve the result of the form for each results displayed in the sharepoint list?

 

Thanks for your help.

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @Anonymous,

     

    Could you please share a screenshot of your flow's configuration?

    Could you please show a bit more about your SharePoint list?

    Further, do you create your form within Microsoft Forms?

     

    I suppose that you created your form within Microsft Forms, is it true? I have created a SharePoint list on my side and the data structure of it as below:7.JPG

    Note: The Response Id column is a Single line of text type column, which is used to store the response id of the submitted form. The Responder Email column is a Single line of text type column, which is used to store the responders' email address. The Approval Result is a Single line of text type column, which is used to store the approval result.

     

    I have made a test on my side and please take a try with the following workaround:

    • Add a "When a new response is submitted" trigger.
    • Add a "Apply to each", input parameter set to output of the trigger.
    • Within "Apply to each", add a "Get response details" action, specify Form Id, Response Id field set to Response Id dynamic content of the trigger.

             Add a "Select" action, From set to output of the trigger, Within Map entry, enter three elements. The key of first element set to TaskName and the corresponding value set to TaskName dynamic content of "Get response details" action. The key of second element set to Executor and the corresponding value set to Executor dynamic content of "Get response details" action. The key of third element set to Due Date and the corresponding value set to Due Date dynamic content of "Get response details" action.

     

          Add a "Create CSV table", From set to output of "Select" action.

     

         Add a "Send email with options" action of Outlook connector, User Options set to following formula:

    Approve, Reject

      Attachments Name field set to Response.csv and Attachments Content set to output of "Create CSV table" action.

     

     Add a "Create item" action, Response Id field set to Response Id dynamic content of the trigger and Approval Result field set to SelectedOption dynamic content of "Send email with options" action.

     

    Note: I don't add a "Start an approval" action within my flow, because the result of the submitted form could not be converted as a table using the "Start an approval" action. In addition, I could not find the "Send approval email" action within the Office 365 Outlook connector, it seems to be removed. On my side, I add the "Send email with options" action within my flow as an alternative way and add the result of the form as a attachment file of the approval email.

     

    Image reference:8.JPG

     

    9.JPG

    When the approval receives the approval email, the screenshot as below:11.JPG

    The flow works successfully as below:12.JPG

     

    If you want to retrive the result of the form for each results displayed in your SharePoint list, please take a try with the following workaround:

    • Add a proper trigger, here I use Flow Button trigger.
    • Add a "Get items" action, specify Site Address and List Name.
    • Add a "Apply to each", input parameter set to output of "Get items" action.
    • Within "Apply to each" action,  add a "Get response details" action, specify Form Id, Response Id field set to following formula:
    items('Apply_to_each')?['Response_x0020_Id']

    Image reference:13.JPG

    The flow works successfully as below:14.JPG

     

     

    Best regards,

    Kris

     

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard