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 Apps / Want to create folder ...
Power Apps
Unanswered

Want to create folder structure as the value of stored variable in power automate flow

(0) ShareShare
ReportReport
Posted on by 16

I have stored value of variable .I want to store one file in azure blob storage but folder sturcture is like variable name/fileName .So how should I create nested Folder structure in power automate flow .

Categories:
I have the same question (0)
  • BDallas Profile Picture
    74 on at

    @AbhishekPawar you can create a nested folder structure in Power Automate.  You can use an array and the “Create new folder” action. First, initialize an array variable with the folder structure you want to create. For example, if you want to create a folder structure like variable_name/filename you can initialize the array with the following values:

    [
     "variable_name",
     "variable_name/filename"
    ]

    Next, loop through the array using the “Apply to each” action. Within the loop, use the “Create new folder” action to create each folder in the array.

    Use the “Create blob” action to store your file in the appropriate folder. In the “Folder path” field, reference the variable that contains the folder structure you created in step

     

     Let me know if this works for you. @ me in replies, or I'll lose your thread!!!  
    Note: 
    If this post is helpful, please mark it as the solution to help others find it easily. Also, if my answers contribute to a solution, show your appreciation by giving it a thumbs up

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 545 Most Valuable Professional

#2
Haque Profile Picture

Haque 314

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard