Powerful Website Forms Using Microsoft Forms, Lists and Power Automate

  • 29 Nov 2023
  • Minute Read

Reading Time: minutes

Microsoft lists and Power Automate

Creating website forms can be challenging to setup. In the past Microsoft offered InfoPath. Personally, I used JotForm for websites. For a while, Microsoft did not offer an InfoPath alternative. Then Microsoft released Microsoft Forms. Initially for the education sector only. Business customers successfully reached out to Microsoft. Requesting ‘Forms’ to be released for business customers.


You have a website where you want to add a form. You need form submissions to be automatically posted. To a SharePoint list or Excel or Common Data Service (CDS, Dynamics CRM). You may possibly want to use the data to produce Power BI reports.


Microsoft Office 365 E3 license. Alternatively, you can purchase services separately. Recommendation purchase MS O365 E3 license.


In this article, you are going to learn how to add a MS Event Feedback Survey Form. To a WordPress website (the above form). How to use Power Automate to automatically pass form data to populate a SharePoint list.

Part One - Create a Form and SharePoint List.

Setup Time: 30 minutes

Setup Overview: These setup instructions walk through the steps required to configure. A ‘Microsoft Form. A Microsoft SharePoint Online (SPO) List.’ The lab exercise for PAF365: Power Automate Bootcamp.

Log in to Office 365. Click the square dots. Top left corner and choose ‘Forms’. If you do not see ‘Forms’ click ‘Explore all your apps’ and choose ‘Forms’ see below.

MS Forms
MS Forms

You can create your own form. Just choose ‘New Form.’

Add MS Form

In the new pop up window. Click ‘Untitled form.’ Name your form ‘Event Feedback Survey.’ For description type. ‘Gauge areas of success and improvement for your event. By collecting customer input around time, location, content, speakers, and so on.’

Descriptive Form name

Next click ‘+ Add New’ button and in the revealed options click ‘Add all.’ This tutorial will use defaults. If you prefer you can, of course, add your own questions.

Questions for Form

Should you choose to you can add a ‘Form theme’ (1) or simply click ‘Preview’ (2) to view your form.

Theme for Form

Forms can be previewed either as a desktop form (1) or a mobile view (2). To view the previous screen, click ‘Back’ (3).

Desktop form preview
Forms display on Mobile

To add the form to a website page you need iframe code. Click the ‘Share’ button (1) and click the angle brackets icon (2). Click the ‘Copy’ button (3).

Form embed code

Note: Text 'Only people in my organisation can respond.' Click the drop down to select 'Anyone with a link can respond.'

MS Form iframe code

Create or edit a webpage or blog post. 

How you add the iframe code is dependent upon your WordPress editor. Assuming you are using WordPress default editor. Then click the code block icon to add your iframe code see image below.

iframe code
Event survey form

Next test your form. Either preview or publish to test your form. Answer the questions and click the ‘Submit’ button. We require some test data.

Form submission

Return to your ‘Forms’ default window. You should see your form under ‘My forms.’ At the bottom, you should see the number of ‘Responses’. You should see one response.

Form response

Click on the form. At the top of the form. You should see two tabs. ‘Questions’ and ‘Responses.’ The next to ‘Responses’ is the number ‘One’ in your case see the image below. Click the ‘Responses’ tab.

Form navigation tabs
Form submission report

Take a little time to view the results. Then click ‘Open in Excel.’

The Excel workbook will download to your device. Open the Excel workbook see below.

Excel survey data

The reason for creating an Excel workbook. We can create a list using the spreadsheet. Microsoft has published an ‘easy how to create a list based on a spreadsheet’. Certainly, easier to create an automated SharePoint Online (SPO) list. Then manually create an SPO list. 

Open SharePoint. Click the square shape dots (1) then click lists. If you do not see lists. Click ‘Explore all your apps’ bottom of the screen and choose ‘Lists’ see the image below.

Select list app
MS List app

Under Click ‘+ New list’ button, see the image below.

O365 List app

In the popup window click ‘From Excel.’

Excel table creates SPO list

In the updated popup windows. Click ‘Upload file.’ If ‘Table1’ is not automatically set up click the drop-down and choose table one. You should see your question data see the image below and click the next button.

List app wizard add Excel table
Customise Excel table
  1. Name the list.
  2. Add description.
  3. Choose an icon colour.
  4. Select an icon.

5. Choose where to save your list to.

Click ‘Create’ button. 

List name, description, icon
SPO list setup

All being well you should see your SPO list.

SPO list wizard result


Setup Time: 30 minutes

Setup Overview: These setup instructions walk through the steps required to configure. A ‘Power Automate Flow’ the lab exercise for PAF365: Power Automate Bootcamp.

Your next step is to automate the collection of website visitor questionnaire submissions. To your SharePoint list. Once you have collected a reasonable number of questionnaire responses. You could choose to use Power BI to carry out an analysis. You may want to send an automated thank you email to those who completed the form. But that capability is for a future article.

Viewing the ‘Lists’ window you will see ‘Automate’ click and select ‘Create a flow.’

Build Power Automate flow

Scroll down the ‘Flow’ options and pop out the window to click ‘See more templates.’

View Flow templates

Power Automate opens. In the search box. Type ‘Forms’ (1) and press enter on your keyboard then click ‘Record form responses in SharePoint.’

Flow - Form to SPO

A new window opens. Confirm you are logged in to MS Forms & MS SharePoint. If not, simply click to do so (1). Then click the ‘Continue’ button (2).

Log in to MS Forms and SPO

Power Automate opens the ‘Flow.’

1. For ‘Form id’ you need to add the ‘Form’ name. Click the drop- down and select.

Configure Flow
Binding MS Form data to SPO list
2. For ‘Select an output from previous steps’ Place your mouse cursor in the box. From the sub-menu select ‘List of response notifications.’
Tie Form data to SPO

For ‘Get response details’ add ‘Form id’ (2) by clicking the drop-down and choosing your form. For ‘Response Id’ (2) place the mouse cursor in the box and choose ‘List of response notifications Response Id’ (3).

Link Form inputs to SPO List outputs

Note: Users do not need to add an email address. Useful if you wish to send an automated thank-you email or follow-up information.

Link O365 user data to SPO list.

If your form is to be used for a public website. Then you wish to capture email addresses you will need to add form user input for email[1].

[1] General Data Protection Regulation

Get user profile (2)cannot be applied to capture user details.

If the form has an email input, it will appear in the next step ‘Create item’.

Create item’ you need to specify. A SharePoint ‘Site Address’ the ‘List Name.’ All other inputs follow the same steps as previously. Place your mouse cursor in the box (1), locate the input from the submenu (2) click to add.

Note: Assuming you did not add ‘Get user profile (2)’ you will not have options for ‘Email’ and ‘Name.’

tie Form output to SOP List input

5. Save your Flow. And run ‘Flow checker.’

Save, run Flow check.

6. To test your ‘Flow’ you need some data. Return to your Form and answer your questions.

7. Return to your ‘List.’ You should see your data.

Form data sent to SPO list

Note: To make three list entries more descriptive I have renamed the columns.

If your flow didn’t succeed click the ‘Start’ title to learn where your flow 'Test failed.'

Power Automate failed run
Find Power Automate run error

Do not worry if your ‘Flow’ failed it is a good learning opportunity. Review this tutorial to identify where you may have made an error.

Congratulations on completing this tutorial.

Download a pdf version of this article.

About the author 

Christopher Bird

Building your own Power App, BI solution, or automated workflow can be a mind-blowing experience. It can also be a nightmare. Particularly when you begin with a blank screen. My advice, get professional help as and when you need it. That's what successful people do.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
Subscribe to get the latest updates