web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sort MS Form Attachmen...
Power Automate
Unanswered

Sort MS Form Attachment to Folders based on answer and Rename Attachment

(0) ShareShare
ReportReport
Posted on by 2

Hello, I am very new to Power Automate and faced this problem; I created a Group Microsoft Form (with 1 question requesting to attach document), hence all attachments go to SharePoint instead of OneDrive. 

 

I want to do multiple tasks at one go:

1. Store each submission in SharePoint List. When I click each entry, I should be able to see the attachment. 

2. Sort the attachments that comes in to its respective folder based on the choice the user chose for 1 of the question. e.g. question ask to classify the Category, and if they choose Cat 1 from the dropdown list, the attachment will go to Cat 1 folder. 

3. Rename the attachments to "Customer Name-Category_Submission Date"

 

I managed to figure out how to do 1, but can't figure out how to incorporate 2 and 3 into the flow. 

Categories:
I have the same question (0)
  • RobElliott Profile Picture
    10,452 Super User 2026 Season 1 on at

    @ailecs for 2 you could use a switch control which is a type of condition that looks at just 1 thing, in the case the category. You can have up to 25 "cases" in each switch and add the appropriate action into each 1: in case the answer is Cat 1 then put the attachment into the Cat 1 folder. An example of a switch is in the image below:

    4-Flow.png 

    Rob
    Los Gallardos

  • ailecs Profile Picture
    2 on at

    Hi Rob, 

     

    Thank you for your very prompt reply. May I know how I can incorporate that to my existing flow? Currently I am using your flow here for 1. 

     

    Also for 3, is there a way to do it?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard