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.
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.
WarrenBelz
146,635
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional