I have a spreadsheet that is updated on an ongoing basis and once a week I need to convert it to a SharePoint List. Manually I do this by using the Import Spreadsheet App in the Modern SharePoint. However, I want to use a flow. I can make the udpate on a line by line basis, but I want to be able to cut off the changes and update the SharePoint once per week. And I can set the recurrence for 11am on Tuesdays, but then I can't figure out how to copy the entire spreadsheet into the SharePoint List.
Any help would be appreciated.
Do you want to copy data from Excel table to SharePoint list if they are not existing on the list?
Please check the following flow for a reference.
For testing, add the Button trigger. You could change it to Recurrence.
Add the action Initialize variable, set Name to Test, Type to String.
Get rows from the Excel table.
Get items from SharePoint list.
Add an Apply to each, select Value from SharePoint Get items. Within Apply to each, add Append to string, set its value as dynamic content Title.
Add a Condition under Apply to each, configure the condition as Test contains name. If yes, do nothing, if no, create item in the list.
A screenshot for your reference.
Thanks for testing and I am glad to hear that it works for you.
If possible, please accept it as solution.
If you have any other questions, please feel free post back.
Three Super User rank tiers have been launched!
Features releasing from October 2020 through March 2021
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!