Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

PowerApps(V2) Trigger Create a Dynamic New Folder & File

(0) ShareShare
ReportReport
Posted on by 47

Hi,  I am new to PowerAutomate and I am working on a PowerApps application, where I need to upload files to the SharePoint document library, using Power Automate.

 

The file name will be the name of the attachment and the folder name needs to be based on the value in the text input box.

 

E.g: In my PowerApps form I enter MYCity in the text box, then the folder name should be MYCity, and then the file needs to be added there.

 

So the values of the folder and the file name are dynamic. I would also like to add properties like Username (Username text field value), UserEmail (UserEmail text field value), and CityName (MYCity text field value) to columns in the SharePoint document library.

 

I am trying to achieve this using the PowerApps V2 connector in Power Automate.

 

Thank you.

 

  • Verified answer
    Prithvi Profile Picture
    47 on at
    Re: PowerApps(V2) Trigger Create a Dynamic New Folder & File

    Thanks @ManishSolanki 

  • Verified answer
    ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: PowerApps(V2) Trigger Create a Dynamic New Folder & File

    Hi @Prithvi 

     

    Please add input parameters for file & other properties in PowerApps trigger. Use "Create file" to create the file and pass the folder name (MyCity) & file content dynamically. Once file is created, use "Update file" action to pass the other properties to the newly created file. You need to pass the ID & other required properties dynamically in update file properties action.

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow