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 / How can make the "Crea...
Power Automate
Unanswered

How can make the "Create File" location variable/dependent upon whomever triggers the flow?

(0) ShareShare
ReportReport
Posted on by
I set-up a workflow that triggers when a Microsoft Forms response is submitted. Once a response is submitted, the workflow populates a WORD template with content from the form response and then saves the "Create File" to my OneDrive. I intend for this workflow to be triggered by not only me, but by 20+ other people too. The issue is, I don't want their "Create File" stored on my OneDrive; I want it stored on theirs, respectively. So, how can I make the folder path of the "Create File" variable/dependent on the email address of the one who submits the Form response? Ex. If I submit the form, the file should be stored on my OneDrive. If you submit the form, the file should be stored on your OneDrive.
 
Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at
     
    Check the run only users setting in your flow.
    First, you'll need to share your flow with the 20+ people. Then, ensure that the OneDrive for business is set to Provided by run-only user (which is the default).
    I created this flow with one account and shared it with Jessica. For testing purposes I added a Get my profile (V2) action and a Compose action to output the email address of the user who runs the flow.
     
    I ran the flow from Jessica's account.
     
    As you can see, the test file was created in Jessica's OneDrive.
     
    ----
     
    It looks like your flow can be restructured a bit to be more efficient, however, it's hard to offer any specific recommendations with the screenshot you've shared. Toggle off the New Designer and click each action to expand it. Upload a screenshot of your flow in edit mode.
     
    In the meantime, you might be interested in these YT Tutorials:
     
    In this Microsoft Power Automate tutorial, I’ll show you how to get your Microsoft Form responses into SharePoint. I’ll cover how to build a Microsoft form with conditional fields by using branching. You’ll learn how to format your multiple choice responses for a SharePoint multi-choice column as well as converting it to text. I’ll also show you how to take a text response and convert it to a number with a switch action and with an expression. 
    After adding the response to SharePoint, we’ll send the user an email confirmation with all the details of their form submission.
    At the end of the video I’ll show you a few tips and tricks on working with a SharePoint list.
    IN THIS VIDEO:
    ✓ How to get a Microsoft Form Response into SharePoint
    ✓ How to get a Microsoft Form ID
    ✓ How to get a Microsoft Form response
    ✓ How to Build a Microsoft Form with Conditional Fields
    ✓ How to used Branching in Microsoft Forms
    ✓ How to format Microsoft Form multiple choice responses for a SharePoint multi-choice column
    ✓ How to parse a Microsoft Form multiple choice response as string of text
    ✓ How to convert a text response to a number
    ✓ How to use the Switch action
    ✓ How to create a custom email confirmation for a Microsoft Form submission
    ✓ How to Create a Custom View in a SharePoint list
    ✓ How to use the Compose Action
    ✓ How to write Power Automate Expressions
     
    -----
     
    Are you using the Switch action in your flow? While it seems like a simple way to handle multiple conditions, it can quickly become inefficient and difficult to manage.
     
    Here’s why:
    ❌ You can’t use dynamic content in the Equals field.
    ❌ You have to manually recreate the same actions for each case.
    ❌ Any updates require you to edit every single case individually.
     
    This results in a flow that’s repetitive, hard to scale, and a nightmare to maintain.
    In this tutorial, I’ll show you how to replace redundant Switch actions with a **Dynamic Reference Key**—a simple but powerful way to streamline your flows. Instead of repeating the same actions over and over, you’ll create a **lookup-style structure** that makes your flows more efficient, scalable, and easier to update.
     
    IN THIS VIDEO:

    ✓ Why the Switch action is inefficient and what to use instead
    ✓ What is a Dynamic Reference Key
    ✓ Creating a custom look up in Power Automate
    ✓ Using a Dynamic Reference Key instead of writing an expression with nested if() functions
    ✓ How to use a Dynamic Reference Key to reduce actions in your flow
    ✓ How to use a Dynamic Reference Key to route emails to different recipients based on a MS Form Selection
    ✓ How to reduce redundancies in your flow by using a single Send an Email (V2) action instead of multiple instances
    ✓ How to use a Dynamic Reference Key to send email notifications 90, 60 and 30 days from today’s date

     
    -----
     
    How to Add Microsoft Form File Uploads to a SharePoint List Item
    In this Microsoft Power Automate Tutorial I’m going to cover how to add file uploads to a SharePoint list item. First, I’ll show you how to get the file name and content from the File Uploads from your Microsoft Form, then I’ll show you how to add those files to a SharePoint item. 

    IN THIS VIDEO:
    ✓ Two types of MS Forms
    ✓ Where Microsoft Personal (OneDrive) Form File Uploads are Saved
    ✓ Where Microsoft Group Form File Uploads are Saved
    ✓ How to Add a File Upload Question to an MS Form
    ✓ How to get a Microsoft Form ID
    ✓ How to get a Microsoft Form Response
    ✓ How to Get the Dynamic Content Microsoft Form File Upload Content
    ✓ How to handle Single and Multiple Microsoft Form File Uploads
    ✓ How to use a Scope action to Organize and Group Your Flow Actions
    ✓ How to Get the File Content from an MS Form File Upload
    ✓ How to Collect All Files from Multiple File Upload Questions
    ✓ How to Handle MS Form Response When a File Isn’t Uploaded
    ✓ How to Attach an MS Form Single File Upload to a SharePoint List Item
    ✓ How to Attach Multiple MS Form File Uploads to a SharePoint List Item
    ✓ How to Attach MS Form File Uploads to an Email
     
    How to Get Microsoft Form File Uploads Attached to an Email 📧
    Are you stumped when it comes to handling a response without any file uploads?

    In this Microsoft Power Automate Tutorial I’m going to cover where file uploads from your Microsoft Forms are saved. I’ll also show you how attach the uploaded files to an email and how to dynamically name the files and customize the recipient of the email based on the selections made in your Microsoft Form. I will also cover how to handle responses that don’t include any file uploads.

    IN THIS VIDEO:
    ✓ Two types of MS Forms
    ✓ Where Microsoft Personal (OneDrive) Form File Uploads are Saved
    ✓ Where Microsoft Group Form File Uploads are Saved
    ✓ How to Add a File Upload Question to an MS Form
    ✓ How to get a Microsoft Form ID
    ✓ How to get a Microsoft Form Response
    ✓ How to Get the Dynamic Content Microsoft Form File Upload Content
    ✓ How to handle Single and Multiple Microsoft Form File Uploads
    ✓ How to use a Scope action to Organize and Group Your Flow Actions
    ✓ How to Get the File Content from an MS Form File Upload
    ✓ How to Collect All Files Uploaded to a MS Form and Attach to an Email
    ✓ How to Handle MS Form Response When a File Isn’t Uploaded
    ✓ How to Create an Email Key
    ✓ How to Send an Email to a Specific Recipient Based on Form Selection
    ✓ How to Create a Dynamic Output Based on Form Selection
     
     
    Hope this helps!

    Consider giving me a ❤️ if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram
     
  • David_MA Profile Picture
    12,966 Super User 2025 Season 2 on at
    Based on your flow image, this flow cannot be triggered by anyone. You are using the trigger When a new response is submitted. If you want people trigger it and then save it to their OneDrive, you will need to change your flow to what @creativeopinion shows below with a manually triggered flow.

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard