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 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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 401

#2
WarrenBelz Profile Picture

WarrenBelz 334 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 325 Super User 2025 Season 2

Last 30 days Overall leaderboard