I'm currently in the processing of brainstorming a flow that seeks to take a user's file, upload the file to our agency one drive, rename that file after the upload, and then receive a copy of that renamed file in their email.
I'm having a terribly difficult time getting myself along from here: the uploaded document hits my OneDrive, I need to rename the file, then I need to send an email to the author of the Forms response with the renamed-uploaded file as an attachment.
I'm stumbling when it comes time to modify the uploaded file's name and location in OneDrive, subsequently I'm not able to figure out how to attach this renamed file yet.
Help?
UPDATE: I figured it out.
This may not be the most elegant solution but I learned a whole bunch along the way. If I'm wrong or explain something poorly, please point out the mistakes and, if you can, provide the correct information where possible.
To get this Flow to work you're gonna need a little prep. You'll need at minimum the following three variables: LocalFileID, NewFileName, and NewFileBody, they're pretty obvious what they're intended to be but for absolute clarity here's mine:
"Gimme file upload" is the title of my file-upload question on my Form. In your Flow, this will be the output containing the uploaded file reference.
Next we're going to pull apart the properties of the file-upload output using a Parse JSON:
WarrenBelz
146,743
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,079
Most Valuable Professional