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 folder structur...
Power Automate
Unanswered

Create folder structure according to the current date

(0) ShareShare
ReportReport
Posted on by

I would like to create a flow that automatically creates a folder structure that has the year at the top level, followed by the month and finally the day. The structure should automatically expand every day to correctly store files for the respective date.

Categories:
I have the same question (0)
  • SanmeshG Profile Picture
    1,947 Moderator on at

    Hi @ludwig_van  ,

     

    In the Create file action for Folder Path use the below expression. If you create multiple files on the same day , it will save the files to a same folder(meaning it won't create duplicate folders if folders with the same name exist already in that Folder Path).

    /@{formatDateTime(utcNow(),'yyyy')}/@{formatDateTime(utcNow(),'MMMM')}/@{formatDateTime(utcNow(),'dd')}

     Adding  a screenshot for your reference. It works the same way for OneDrive/SP.

    FlowFlowFolder Structure wit FilesFolder Structure wit Files

     

    Hope this helps , if this answers your question please give this answer a thumbs up and mark this as a solution.

     

    Thanks,

    Sanmesh

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard