Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Syncing Dropbox Folder to OneDrive for business folder

Like (0) ShareShare
ReportReport
Posted on 5 Feb 2018 10:32:40 by

Hi there,

 

How would I create a Flow to sync the contents of a Dropbox Folder to OneDrive for Business. The Dropbox folder contains sub-folders.

 

KInd regards

Francois Wessels 

  • ashtheman Profile Picture
    4 on 07 Nov 2018 at 14:48:44
    Re: Syncing Dropbox Folder to OneDrive for business folder

    Hi Kris (),

    You've put in a manuel trigger - is there any set-up with automatic triggers that would work? E.g. is there a trigger that catches when a file/folder is created or modified in subfolders that could be used? So it is an actual sync and not a manual copy.

    Cheers,

     

    Ask

  • v-xida-msft Profile Picture
    on 07 Feb 2018 at 04:27:00
    Re: Syncing Dropbox Folder to OneDrive for business folder

    Hi @francoiswessels,

     

    Do you want to copy the contents of a Dropbox folder (which contains sub-folders) to OneDrive for Business folder?

     

    I assume that the sub-folders of your Dropbox Folder don't contain sub-folders, I have made a test on my side and please take a try with the following workaround:

    • Add a proper trigger, here I use Flow Button trigger.
    • Add a "List files in folder" action, specify Dropbox folder within Folder field.
    • Add a "Apply to each", input parameter set to output of "List files in folder" action.
    • Within "Apply to each", add a "Condition", left input box set to IsFolder dynamic content of "List files in folder" action, right input box set to true, within middle drop down, choose is equal to.

             Within "If/yes" branch of Condition, add a "List files in folder 2" action, Folder field set to Path dynamic content of "List files in folder" action. Then add a "Apply to each 2" action, input parameter set to output of "List files in folder 2" action. Within "Apply to each 2" action, add a "Get file content 2" action, File field set to Id dynamic content of "List files in folder 2" action, add a "Create file 2" action, Folder Path field set to following formula:

    /Test2/DisplayName dynamic content of "List files in folder 2" action

    File Name field set to DisplayName dynamic content of "List files in folder 2" action, File Content field set to File Content of "Get file content 2" action.9.JPG

     

     

    Within "If/no" branch of Condition, add a "Get file content" action, File field set to Id dynamic content of "List files in folder" action. Then add a "Create file" action, specify Folder Path, File Name field set to DisplayName dynamic content of "List files in folder" action, File Content field set to File Content of "Get file content" action.10.JPG

     

     

    Image reference:11.JPG

     

    12.JPG

    The flow works successfully as below:13.JPG

     

    14.JPG

     

    15.JPG

    Best regards,

    Kris

     

     

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

Announcing the Engage with the Community forum!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 292 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 245 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 212

Overall leaderboard
Loading started