Skip to main content

Notifications

Power Apps - AI Builder
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:
  • BDallas Profile Picture
    BDallas 74 on at
    Re: Want to create folder structure as the value of stored variable in power automate flow

    @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

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

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard