Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

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 Team
Community Support Team

Re: Insert Row with dynamic path

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.
Level: Powered On

Re: Insert Row with dynamic path

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

Dual Super User
Dual Super User

Re: Insert Row with dynamic path


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

Hope it helps


If anyone is trying to help you with an issue, the fastest way to say thanks is by kudoing. Be grateful, Thumbs up!

Proud to be a Flownaut!

Level: Powered On

Re: Insert Row with dynamic path

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 

Level 8

Re: Insert Row with dynamic path

Maybe this workaround could help


Re: Insert Row with dynamic path

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


Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!
Super User
Super User

Re: Insert Row with dynamic path

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


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,805)