Forum Discussion
Jeremy_Carnes
Sep 25, 2023Copper Contributor
Using Power Automate to create New List items when data is added to Excel
I'm sorry for the busy subject line. I'm aware of how to use Microsoft Flow to move data existing in excel over to a Sharepoint list. Where I'm missing the functionality, is to create a flow tha...
LeonPavesic
Sep 26, 2023Silver Contributor
Hi Jeremy_Carnes,
it is possible to create a Power Automate flow that will move new rows that are created in an Excel document and create new list items in a SharePoint list:
- Create a new Power Automate flow.
- Select the "When a new file is created" trigger.
- Select the SharePoint library where the Excel document is located.
- In the "File name" field, enter the name of the Excel document (or use a wildcard character to match multiple Excel documents).
- Click "Next".
- In the "Actions" section, add the "List rows present in a table" action.
- Select the Excel document that you want to monitor.
- Select the table in the Excel document that contains the data.
- Click "Next".
- In the "Actions" section, add the "Create item" action.
- Select the SharePoint list where you want to create new list items.
- Map the columns in the Excel table to the corresponding columns in the SharePoint list.
- Click "Next".
- Click "Save".
The flow should be triggered whenever a new file is created in the SharePoint library that you specified. The flow will then get the data from the Excel table and create new list items in the SharePoint list.
- You can use a filter in the "List rows present in a table" action to only get the new rows that have been added to the Excel table. For example, you could filter the rows based on a date column.
- You can also use a condition in the "Create item" action to only create new list items if certain criteria are met. For example, you could only create new list items if the value in a particular Excel column is greater than zero.
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic