Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Insert Row with dynamic path


I'm trying to create an excel file from a template (So I use copy file in Onedrive) and on the template I will insert a row 

So my file name is: [Path]/[Name]

Unfortunately Excel can't determine the Tables of that excel file since it's dynamic. It says I can put Custom Value so I did so I put 

Table1 (name of my table in excel)

Now I'm not sure how can I declare the columns of that table

Community Support
Community Support

Hi @franz-at-arbutu,


Could you please share a screenshot of your flow’s configuration?

Do you format your excel data as a table?

If you don’t format your excel data as a table, I think you couldn’t insert rows into your excel file.


Besides, the “Insert row” action of Excel connector would insert rows into an existed file, so we couldn’t get dynamic columns of excel table if the excel file doesn’t exist. I have made a test on my side and the dynamic columns of excel file don't show up:3.JPG


Best regards,


Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yes, the file name should be just PATH (the name is included already)

Ah I see, was hoping for a dynamic columns cause in my project the excel file can have different columns 

Thanks anyway


In case you want to know the Table names, thre is a Get Tables action Block available in Excel Connector

Hope it helps


Each time you click on any of our inspiring answers 'Thumb up' icon... ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!

Escribo sobre Power Automate en:

Proud to be a Flownaut!

Unfortunately it will lead to the same problem, since the Excel does not support "Not yet existing file" 

You can't get the rows of a file that does not exist yet 

Maybe this workaround could help

Hello, @franz-at-arbutu!


Have you had a chance to apply @Eickhel‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!



Thank you for being an active member of the Flow Community!



Flow Community Manager


- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager

HI @franz-at-arbutu@Eickhel 


I created a template with a workaround for this issue. You can find the explanation and the template here:


Hope it helps you


If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.


Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,194)