cancel
Showing results for 
Search instead for 
Did you mean: 
MGLovesFlow

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

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? 

 

 

Anonymous

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?

About the Author
  • Experienced Consultant with a demonstrated history of working in the information technology and services industry. Skilled in Office 365, Azure, SharePoint Online, PowerShell, Nintex, K2, SharePoint Designer workflow automation, PowerApps, Microsoft Flow, PowerShell, Active Directory, Operating Systems, Networking, and JavaScript. Strong consulting professional with a Bachelor of Engineering (B.E.) focused in Information Technology from Mumbai University.
  • I am a Microsoft Business Applications MVP and a Senior Manager at EY. I am a technology enthusiast and problem solver. I work/speak/blog/Vlog on Microsoft technology, including Office 365, Power Apps, Power Automate, SharePoint, and Teams Etc. I am helping global clients on Power Platform adoption and empowering them with Power Platform possibilities, capabilities, and easiness. I am a leader of the Houston Power Platform User Group and Power Automate community superuser. I love traveling , exploring new places, and meeting people from different cultures.
  • Read more about me and my achievements at: https://ganeshsanapblogs.wordpress.com/about MCT | SharePoint, Microsoft 365 and Power Platform Consultant | Contributor on SharePoint StackExchange, MSFT Techcommunity
  • Encodian Owner / Founder - Ex Microsoft Consulting Services - Architect / Developer - 20 years in SharePoint - PowerPlatform Fan
  • Founder of SKILLFUL SARDINE, a company focused on productivity and the Power Platform. You can find me on LinkedIn: https://linkedin.com/in/manueltgomes and twitter http://twitter.com/manueltgomes. I also write at https://www.manueltgomes.com, so if you want some Power Automate, SharePoint or Power Apps content I'm your guy 🙂
  • I am the Owner/Principal Architect at Don't Pa..Panic Consulting. I've been working in the information technology industry for over 30 years, and have played key roles in several enterprise SharePoint architectural design review, Intranet deployment, application development, and migration projects. I've been a Microsoft Most Valuable Professional (MVP) 15 consecutive years and am also a Microsoft Certified SharePoint Masters (MCSM) since 2013.
  • Big fan of Power Platform technologies and implemented many solutions.
  • Passionate #Programmer #SharePoint #SPFx #M365 #Power Platform| Microsoft MVP | SharePoint StackOverflow, Github, PnP contributor
  • Web site – https://kamdaryash.wordpress.com Youtube channel - https://www.youtube.com/channel/UCM149rFkLNgerSvgDVeYTZQ/