Skip to main content

Notifications

Power Automate - Building Flows
Suggested answer

Saving attachment from a MS Form to a specific folder in a document library based on the responses

Posted on 27 Nov 2024 15:59:47 by 4
Hello Everyone, 
 
I'm looking to save the attachment from an MS Form to specific folders in document library based on the responses received to questions on the form. 
 
For example: If the name entered on the form is "James Smith", I want the attachment from that form to be saved in the folder titled "James Smith" in the document library and in none of the other folders that exist in that library. 
 
I've tried my best to find a solution in Power Automate, but I haven't had any luck. 
 
Thank you in advance!
  • Suggested answer
    Pstork1 Profile Picture
    Pstork1 63,813 on 27 Nov 2024 at 16:31:46
    Saving attachment from a MS Form to a specific folder in a document library based on the responses
    Assuming the response in the Form matches the name of the folder exactly you could use a List Files action to get all the files and Folders in the parent folder (or List Root Folder if the folders are first level). Then use a filter array to get just the list of Folders.  Then you can match the Folder name to the entry from the form. That will give you the path where you need to store the file.

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,137

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,813

Leaderboard