Skip to main content
Community site session details

Community site session details

Session Id : GdoQLh1vOzbchQzC52VIqx
Power Automate - Using Flows
Unanswered

Trigger when a OneDrive For Business file is uploaded

Like (2) ShareShare
ReportReport
Posted on 24 Jan 2018 14:12:28 by 10

Hi, 

Uploaded my documents in OneDrive for Business. Will like to trigger a flow when a new document is uploaded. Is this possible?

 

Tried "when file is created" or "when file is modified", but both does not work for uploading documents. 

  • Vintaurus Profile Picture
    4 on 24 Feb 2018 at 18:10:56
    Re: Trigger when a OneDrive For Business file is uploaded

    @vecerpa Yeah, you are right. Now, it works correctly. But today I got new version for OneDrive - Mac. 

  • vecerpa Profile Picture
    786 on 22 Feb 2018 at 15:51:56
    Re: Trigger when a OneDrive For Business file is uploaded

    Hi @Vintaurus,

     

    I had this problem like two days after I firstly created this Flow. Few days after it start working and it keep working. So I hope this will fix itself for you soon.

    P.

  • Vintaurus Profile Picture
    4 on 22 Feb 2018 at 15:23:46
    Re: Trigger when a OneDrive For Business file is uploaded

    I have the same problem with OneDrive on Mac. If I add the files directly to OneDrive folder, they cannot be triggered. If I add same files to OneDrive on Internet, so they can be triggered successfully. So I see the OneDrive-App doesn't work with Microsoft Flow at the moment. I used the existing Microsoft Flow "Copy files between OneDrive and SharePoint".

  • vecerpa Profile Picture
    786 on 27 Jan 2018 at 17:23:42
    Re: Trigger when a OneDrive For Business file is uploaded

    Hi @v-xida-msft

     

    This Flow is working well.

    But I tried to use approval flow, that is also available from templates. This Flow is not working. It look like this:OfBFlow1.PNG

     

    OfBFlow2.PNG

     

     

    But this Flow is not fired up, even the file is added to folder. Same scenario I used for notification as shown in your message and it worked fine.

    Is there a chance to navigate me to find where can be issue?

     

    Thank you.

    Pavel

  • v-xida-msft Profile Picture
    on 26 Jan 2018 at 02:24:26
    Re: Trigger when a OneDrive For Business file is uploaded

    Hi @vincentakatoh,

     

    If you want to trigger a flow when a new document is uploaded in your OneDrive for Business folder, you could consider take a try to use the "When a file is created" trigger as the trigger of your flow. 

     

    I have made a test on my side and the flow works well. My flow's configuration as below:7.JPG

    The flow works successfully as below when I upload a file into my OneDrive for Business folder:8.JPG

    The flow may spend almost 15 seconds to be fired. The flow would have its own trigger interval, there is a limit in Run duration of single flow run, the max Run duration is 30 days. More details about the limits of Run duration and retention of single flow run, please check the following article:

    Run duration and retention

     

    In addition, the trigger would have its own limits. You could consider search for corresponding connectors within the following article and check if there is a limit related to the trigger that you used:

    https://docs.microsoft.com/en-us/connectors/

     

    Best regards,

    Kris

  • vincentakatoh Profile Picture
    10 on 25 Jan 2018 at 13:47:20
    Re: Trigger when a OneDrive For Business file is uploaded

    @vecerpa

    No, did not work for me. I think trigger for "File upload" is not available now.

     

    Only works new MS office online file is created/modified in OneDrive for Business. Was hoping someone in forum can provide alternative, maybe using some advance option. 

     

    rgds, Vincent

  • vecerpa Profile Picture
    786 on 25 Jan 2018 at 12:31:02
    Re: Trigger when a OneDrive For Business file is uploaded

    Hello,

     

    I have same problem. I use when new file is created.

    I tried to use it with notification as action and it worked when new file was added, but when I edit it and add approval nothing happen. It is not triggering at all. No message, no error, nothing.

    Is it working at all?

    Thank you for answer.

    P.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics

Restore a deleted flow