Showing results for 
Search instead for 
Did you mean: 
Hamid Helper I
Helper I

onedrive copy filesname into an excel sheet

Hi guys

Is it possible o write a flow to go through an ondrive folder and extract all folders name into different excel rows? 

the seccond part I have found someways similar to that but I am wondering what could be the possible triger for this flow to start for the sirst part?


Community Support
Community Support

Re: onedrive copy filesname into an excel sheet

Hi @Hamid ,


Do you want to get all folders on OneDrive and extract all the folders’ name into an Excel file?


Please consider trigger the flow using a Button.


I have made a flow likes below for your reference.


Add the button trigger. List files in folder, here I select the root folder.


Then add a Condition with Is folder? Is equal to True.


If yes, Add a row into a table.



Best regards,



Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hamid Helper I
Helper I

Re: onedrive copy filesname into an excel sheet

Thank you so much for your reply, yes want to go through all the files (with different formats) within one specific folder and copy the names and put them in excel rows in order. I am working on it. I have another question is taht possible for the flow to address it somwhere in my files except one drive file? Cause I already have the file in different drive?

Helpful resources

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.


New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!


Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


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!


Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (6,296)