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 / Create subfolders dyna...
Power Automate
Unanswered

Create subfolders dynamically

(0) ShareShare
ReportReport
Posted on by 17

Hi guys! I'm pretty new of Power Automate and I really need help.

 

When I register a new product in PowerApp and add the relative item in my Sharepoint List i create a new folder.

So, for example: I enter the product "XY" and with flow I create the folder "ProductXY" that contains a subfolder called "Administration".
So far everything is fine.
Now that's the problem: i need to use another flow to create a subfolder of the folder "Administration" and I don't know how to do that because I need a dynamic path because the name of the first folder changes everytime I enter a new product.

 

For example:

If I registrer product XY, the folders structure should be:
Product XY
       Administration
                  NewSubFolder

 

If I registrer product AB, the folders structure should be:
Product AB

     Administration
                  NewSubFolder

 

Do you know how to get the path PRODUCT.../Administration dynamically?

 

Thank you!

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at

    Hi I recomend you to send all values that you need to create with subfoldels add it in your file name. For example

    File1-Administra-Person.xlsx

    Then in the flow use split to separete every value and when you create file in document library use that separated values to add it as folders and subfolders.

    So asume that you have already repareted values in compose conector.

    Compose1 have file1.xlsx

    Compose2 have Administra

    Compose3 have Person

    Then in create file just and in the path something like Compose2/compose3/compose1

  • Vale_2290 Profile Picture
    17 on at

    There are two steps in the process: in the first one I create the folders Product XY and Administration.
    In the second, inside Administration, I need to create the subfolder, but they are two separate operations.
    So I need to understand how to get to the Administration folder to write in it.

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 589

#2
Valantis Profile Picture

Valantis 459

#3
11manish Profile Picture

11manish 382

Last 30 days Overall leaderboard