Skip to main content

Notifications

Power Automate - General Discussion
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. 

  • Geped Profile Picture
    Geped 2 on at
    Re: Auto Generate folder and subfolder with Lists and Power Automate

    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!

  • Bartelli Profile Picture
    Bartelli 75 on at
    Re: Auto Generate folder and subfolder with Lists and Power Automate

    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!

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,691

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 65,019

Leaderboard