Project

Automated Data Integration with Power Automate, SharePoint, and Excel Online

A project to automate the flow of data from Microsoft Forms to Excel via SharePoint using Power Automate.

Empty image or helper icon

Automated Data Integration with Power Automate, SharePoint, and Excel Online

Description

In this project, we will create a seamless data pipeline that captures responses from Microsoft Forms, stores them in a SharePoint list, and then transfers the latest responses to an Excel Online for Business spreadsheet. This automated workflow will also handle the deletion of rows from the SharePoint list once an email notification is sent, ensuring data consistency and reducing manual effort.

The original prompt:

i already have a flow created that goes from microsoft forms responses to a sharepoint file. I have the excel file created that has the columns that match the sharepoint list in sheet 1 where i want the sharepoint responses to poplulate sheet 1 whenever there are new responses in the sharepoint list. i don't need instructions for this part, but later i will cause the flow to delete the new row once and email is sent. Show me step by step how to add to my power automate flow that now ends with the sharepoint list being populated with the steps to take the latest sharepoint responses and put them in the excel online for business spreadsheet.. show me step by step For a beginner And with each step explain why you are saying to do that. I don't need to know how to create the sharepoint list. it is already created. also explain why you are doing each step. i already have the excel file created. thanks

Introduction to Data Integration with Power Automate

This guide provides a practical implementation for automating the flow of data from Microsoft Forms to Excel via SharePoint using Power Automate. This is the first unit in our curriculum for automating data flows. Follow the setup instructions carefully to achieve full automation.

Step-by-Step Instructions

Prerequisites

  1. Microsoft 365 Subscription: Ensure you have active licenses for Microsoft Forms, SharePoint, Excel, and Power Automate.
  2. SharePoint Site: Create or have access to a SharePoint site where the Excel file will be stored.
  3. Microsoft Forms: Set up a form for data collection.

Step 1: Create a Microsoft Form

  1. Go to Microsoft Forms.
  2. Click on “New Form.”
  3. Add desired questions to the form.
  4. Save the form and take note of the form URL.

Step 2: SharePoint Setup

  1. Go to your SharePoint site.
  2. Create or identify the document library where the Excel file will be stored.
  3. Upload a blank Excel file or create one directly in SharePoint. This file will store the collected form data.

Step 3: Power Automate Flow Setup

  1. Go to Power Automate.
  2. Click on “Create” and then choose “Automated cloud flow.”
  3. Set the trigger as “When a new response is submitted” under Microsoft Forms.

Trigger Configuration

  1. Select the form you created from the dropdown list.

Action 1: Get response details

  1. Add a new action: "Get response details".
    • Form ID: Select the form.
    • Response ID: Select "Response ID" from the dynamic content.

Action 2: Add a row to Excel

  1. Add a new action: "Add a row into a table".
    • Location: Select "SharePoint site".
    • Document Library: Select the library where your Excel file is stored.
    • File: Select the Excel file.
    • Table: Select the table within the Excel file where data should be added. Ensure your Excel file has a table defined with headers matching the form questions.

Example Flow Structure

Trigger: 
  When a new response is submitted

Actions: 
  1. Get response details
     - Form ID: