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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Move, rename a file su...
Power Automate
Answered

Move, rename a file submitted in a Microsoft Form

(1) ShareShare
ReportReport
Posted on by

Hi all,

 

I'm attempting to build a Microsoft Form for our employees to use to submit structured documents on a regular basis. I want to use an Automated Flow to handle the response.

 

  • Question 1 contains an identifier (a site location) that is selected by the employee from a list
  • Question 2 allows for the upload of DocumentType1
  • Question 3 allows for the upload of DocumentType2
  • Question 4 allows for the upload of DocumentType3

In a separate SharePoint, there exists a folder for each location specified in Question 1, and subfolders for each Document Type:

OtherSharepoint\Logs\LocationName1\DocumentType1\

OtherSharepoint\Logs\LocationName1\DocumentType2\

OtherSharepoint\Logs\LocationName1\DocumentType3\

 

For each of the three document types, I want my flow to move the uploaded document to the appropriate folder and rename it with today's date. For example for DocumentType1, I want it to move to:

 

OtherSharepoint\Logs\LocationName1\DocumentType1\TodaysDate.pdf

 

I am having trouble extracting the data from Question 1 and using it in the "Move" action for SharePoint. I can't find documentation for how to pull the content of the responses and use it dynamically in the destination. Any insights on how to do this?

 

Thanks!

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    on at

    Hi @Anonymous,

     

    Please refer to this post to learn how to get the file content of the upload file in MS Form:

    https://powerusers.microsoft.com/t5/Building-Flows/Working-with-files-from-the-Forms-quot-File-Upload-quot-question/m-p/427353#M49836

    After that, you can create a file in a folder, it is equals to move a file, when you create the file you can rename it:

    Annotation 2020-01-07 102947.png

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard