Showing results for 
Search instead for 
Did you mean: 
Not applicable

Uploading files to a variable OneDrive location - is it possible?

Hi everyone,


TLDR: I want to automate saving files named [project number]_XXX.ppt to OneDrive\Project Files\[project number]\Presentations\ - is it possible?


Before I commit to learning Power Apps and Power Automate, I wanted to make sure it's adaptable enough for my needs.

Let's consider the following case:

1. Every week, I'll have a couple of (.ppt) project files that I need to upload to a specific location on OneDrive

2. Each file's name starts with a project number (e.g. this week the files are 001_XXX.ppt, 002_YYY.ppt, and 003_ZZZ.ppt)

3. Each file needs to be saved in the following (already existing) path:
OneDrive\Project Files\[File's number]\Powerpoint Presentations\Final Presentation
(so "001_XXX.ppt" would be uploaded to: OneDrive\Project Files\001\Powerpoint Presentations\Final Presentation\001_XXX.ppt)


Instead of manually uploading each file to the desired location, I would like to automate this process, for example by:

  • creating an app that will allow me to upload by typing in the project number (if needed), and attaching the project file


  • creating a folder (and subfolders with project numbers if needed) on my desktop (or OneDrive if needed) where I would copy my project files and a process flow would automatically upload them

Is this something I can achieve with Power Apps and/or Power Automate? If so, could I also use the first 3 characters of the files' names as variables to define the destination path? 
Many thanks!


Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,740)