cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Brandon_Lawler
New Member

Move, rename a file submitted in a Microsoft Form

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!

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @Brandon_Lawler,

 

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-Uploa...

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.

View solution in original post

1 REPLY 1
v-litu-msft
Community Support
Community Support

Hi @Brandon_Lawler,

 

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-Uploa...

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.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,483)