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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Auto Generate folder a...
Power Automate
Unanswered

Auto Generate folder and subfolder with Lists and Power Automate

(0) ShareShare
ReportReport
Posted on by 2

Within sharepoint I created a list with certain columns. the list has automatisms, specifically
ID column exists:

  • Each created item is assigned this "ID-YYYY-Name".
  • the second automatism that I am creating, and in which I would like your help, is as follows: each created item, must generate a folder and a subfolder in a specific folder. Folders that remain unchanged are for example: documents\monitoring

my automatism must create the following
\documents\monitoring\ID-YYYY-Name\SubFolder1, SubFolder2, SubFolder3.
I am currently able to generate folders but not subfolders and they are created only in the Document path

 

Screenshot 2024-01-25 214052.png

 

 

thank for your help. 

Categories:
I have the same question (0)
  • Bartelli Profile Picture
    75 on at

    Hi @Geped ,

    You're close. Once you establish the first folder and update it, add another step to create a new folder using the path generated by the first folder. I think you can use a get folder metadata from path to help fill in the second folder's path.

    Bartelli_0-1706283614808.png

     

    Make sure you add a step to move the updated document into the first folder that you created.

     

    Let me know if this helps, thanks!

  • Geped Profile Picture
    2 on at

    Hi @Bartelli,
    I would like to point out that I recently use Power Automate.
    I added the passage you suggested, but it doesn’t work as well as I would like.
    The first error is that the item I create on list, generates a folder, but does not fit in the correct path, that is:
    /Main-Folder 2024/Task _folder from list/Title_ID
    the generated folder is placed in:
    /Main-Folder 2024//Title_ID

    also I would like the generated folder to have the following name: AUTO ID_TITLE, how can I do?

    (I created a new sharepoint to do the tests not to create problems to my colleagues, it is still the same as the initial one)
    the structure that I would like to generate automatically:

    MAIN FOLDER 2024:

    (permanent folder)

    Task folder from list:

    (permanent folder)

    Auto ID_Title 

    (folder generated by List-2024_Test)

    Folder 1

    (Auto folder generated)

       

    Folder 2

    (Auto folder generated)

       

    Folder 3

    (Auto folder generated)

     

    Screenshot 2024-01-27 115837.pngScreenshot 2024-01-27 121714.pngScreenshot 2024-01-27 122232.png

     

    Thank you for your support!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 305 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 155 Most Valuable Professional

Last 30 days Overall leaderboard