Skip to main content

Notifications

Forms, SharePoint Online and Flow Oh My! Create a request in Forms and save to SharePoint with Flow!

Create a Microsoft Form that saves to a SharePoint Online modern list and automates the process with Flow in 6 easy steps.

 

Let's review what Actions and Triggers of Microsoft Forms are in Flow!

 

forms-trigger.PNGforms-action.PNG

 

One Forms Trigger and One Action!  That'll work - Let's Begin!

 

Connectors: Microsoft Forms, Approvals, SharePoint

 

  1. Create a Microsoft Form at forms.office.com with 4 vacation request fields: First Name, Last Name, Vacation Start and Vacation End. The First and Last name fields are text fields and the Vacation Start and End Date are Date fields. Be sure to mark them all as required.  Note: The form saves automatically.
  2. Create a SharePoint Online List and add 6 columns: First Name, Last Name, Vacation Start, Vacation End, Approved and Comments.
  3. Create a Flow from a template at flow.microsoft.com and search forms. Choose "Send form responses for approval". Fill in "When a new response is submitted" and choose Form Id Vacation Request from the drop-down menu. Choose Response Id for the Response Id field. Fill in Start an approval action by choosing anyone assigned list and fill in title field with First and Last name fields and that they are requesting a vacation. Manually add the email address in the Assigned to field. Add the Flow condition Response is equal to Approve. Fill in the If yes and No. Click Save.
  4. Fill out the Vacation request form in Microsoft Forms and wait for Approval.
  5. Approve the Vacation Request Flow in email or Flow approval panel.
  6. See Flow update SharePoint list.

  1.  Create a Microsoft Form, title it "Vacation Request", add 4 fields: First Name, Last Name, Vacation Start and Vacation End.


    form1.PNG

    form2.PNG

    forms3.PNG

    Preview in Mobile and Computer.


    forms.PNG
    forms2.PNG

  2.  Create a SharePoint Online List, title it "Vacation Request", add 6 columns: First Name, Last Name, Vacation Start, Vacation End, Approved and Comments.


    spo.PNG

  3.  Create a Flow from a template at flow.microsoft.com and search forms. Choose "Send form responses for approval". Fill in "When a new response is submitted" and choose Form Id Vacation Request from the drop-down menu. Choose Response Id for the Response Id field. Fill in Start an approval action by choosing anyone assigned list and fill in title field with First and Last name fields and that they are requesting a vacation. Manually add the email address in the Assigned to field. Add the Flow condition Response is equal to Approve. Be sure you type Approve and not Approved or else the Flow will fail.


    find-form.PNG
    connectors.PNG
    flow-1.PNG
    flow-2.PNG

    If yes, add the dynamic content to populate the SharePoint list from the Form and Approval fields. If no, do nothing.


    flow-3.PNG

  4.  Fill out the Vacation request form in Microsoft Forms and wait for Approval.


    flow-4.PNG

  5.  Approve the Vacation Request Flow in email or Flow approval panel.


    approval-email.PNG
    approval-panel.PNG

  6.  See Flow update the Vacation Request SharePoint list with the Forms and Approval Fields.


    spo-update.PNG

Comments

*This post is locked for comments

  • Forms, SharePoint Online and Flow Oh My! Create a request in Forms and save to SharePoint with Flow!

    Hello,

    Do you know if MS has improved this template so that the flow knows the first name and last name? Seems silly that this hasn't been incorporated. Especially if you only allow "users from your organization" to complete the survey. They are signing in with their credentials, the FORM should know their name. Thoughts?

  • trobey Profile Picture trobey
    Posted at
    Forms, SharePoint Online and Flow Oh My! Create a request in Forms and save to SharePoint with F

    UPDATE:  I figured it out.  I took the instructions too literal and left the "if no" area blank and also in the Condition I had "Approved" instead of "Approve".   

     

    I must be missing a step.   When a request is "approved" on the sharepoint list its showing that it wasn't approved.   What did I miss?