cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

flow - copy dropbox to onedrive for business

How do I create a a flow to copy files from dropbox for business to onedrive for business?

 

Thanks,

M

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: flow - copy dropbox to onedrive for business

Hi @Miccal,

 

Do you want to copy the file from Dropbox to OneDrive when a file is created in Dropbox?

Or copy all files of a specific folder in Dropbox to a specific folder in OneDrive?

  1. If you want to achieve the first one, you can create a flow using Copy files between OneDrive and Dropbox template and make some changes as below:2.jpg
  2.  If you want to achieve second, you can take a try with the following workaround:
  • Add a proper trigger, here I use Flow button trigger.
  • Add “List files in folder”, configure Folder to a specific folder of Dropbox.
  • Add a “Apply to each”, output set to Body content of “List files in folder” action.
  • Add “Get file content” action, File set to following formula:
Item()?[‘Id’]
  • Add “Create file” action, Folder Path set to a specific folder of OneDrive, File Name set to following formula:
Item()?[‘Name’]

File Content set to output of “Get file content” action.

 

Image reference:3.jpg

 

4.jpg

 

5.jpg

The flow works successfully as below:

 

6.jpgBest regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: flow - copy dropbox to onedrive for business

Hi @Miccal,

 

Do you want to copy the file from Dropbox to OneDrive when a file is created in Dropbox?

Or copy all files of a specific folder in Dropbox to a specific folder in OneDrive?

  1. If you want to achieve the first one, you can create a flow using Copy files between OneDrive and Dropbox template and make some changes as below:2.jpg
  2.  If you want to achieve second, you can take a try with the following workaround:
  • Add a proper trigger, here I use Flow button trigger.
  • Add “List files in folder”, configure Folder to a specific folder of Dropbox.
  • Add a “Apply to each”, output set to Body content of “List files in folder” action.
  • Add “Get file content” action, File set to following formula:
Item()?[‘Id’]
  • Add “Create file” action, Folder Path set to a specific folder of OneDrive, File Name set to following formula:
Item()?[‘Name’]

File Content set to output of “Get file content” action.

 

Image reference:3.jpg

 

4.jpg

 

5.jpg

The flow works successfully as below:

 

6.jpgBest regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
New Member

Re: flow - copy dropbox to onedrive for business

Kris,

Successfully implemented the flow you descirbed.  Can you tell me how to enhance it to allow for sub-folders with files also?

Thanks

Mel

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (9,604)