web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to populate a Shar...
Power Automate
Unanswered

How to populate a SharePoint List with Excel Table that is manually created from the flow.

(0) ShareShare
ReportReport
Posted on by 94

Hi,

 

My flow does the following

 

1) Takes email spreadsheet attachment and saves it to SharePoint with a unique file name. 

2) Gets the SharePoint Excel file and adds a table based on a custom range and name i specify as the attachment is without a table.

Epidot_1-1682172730076.png

 

When i attempt  'List rows present in a table'   i cannot point directly to the file as each spreadsheet saved has a unique name, so instead i add the file Full Path from the 'get file properties' step. This means there is no Table selection in the drop down and i have to manually type the name of the Table.  Table1

Epidot_0-1682173395629.png

 

 

When i then try to 'create item' in the SharePoint List i get no excel table column headers to chose from so i cannot populate this list.

 

Epidot_4-1682173063787.png

 

I know that if if could point to the file through the directory it would see the table, i could select the table and the column headers would show.  The problem here seems to be that as the file saves each time with a unique name (todays date-attachment name)  that i am unable to point to the file and this causes an issue where the table has to be manually specified and in turn no longer shows the headers for me to match Excel table  to SP List...

 

Please let me know how to work around this? thanks

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,125 Most Valuable Professional on at

    You can point to a dynamic file name in the list rows present in a table if you encode the path to the file using EncodeURIComponent() function. IF the Table always uses the same columns then you can add it once manually and then replace the location and file name with encoded dynamic content.  If the columns change from file to file then you need to create each row as an Item record with all the named columns.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard