cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate I
Advocate I

Copying a new file from Dropbox to Sharepoint, then delete file in Dropbox

Hi,

 

I've used the flow template "Copy files between Dropbox and SharePoint" - I am wondering if there's a step I can add to the flow that deletes the file in Dropbox after it's copied over into SharePoint. It'd be great if this step could be automated, so that I don't have to go back into Dropbox and delete the files that are copied over.

 

Any help or ideas on this would be appreciated!

 

Clara

1 ACCEPTED SOLUTION

Accepted Solutions
Memorable Member
Memorable Member

Hi @cyoon

 

You need to follow this steps:

 

1- Go to 'My Flows'

2- Click to Edit(pencil) the flow 

3- Click to add new action

4- Search 'dropbox' and chose 'Delete a file'

5- On the field 'File' put the content 'File Path' that are inside 'When a file is created'

 

Done!

 

After this when copy to SharePoint the file in dropbox will be deleted.

 

Hope Have Helped,

 

Best Regards,

 

Gustavo Moraes


Did I answer your question? Mark my post as a solution!

Gustavo Moraes, o astronauta brasileiro do Flow!


View solution in original post

3 REPLIES 3
Memorable Member
Memorable Member

Hi @cyoon

 

You need to follow this steps:

 

1- Go to 'My Flows'

2- Click to Edit(pencil) the flow 

3- Click to add new action

4- Search 'dropbox' and chose 'Delete a file'

5- On the field 'File' put the content 'File Path' that are inside 'When a file is created'

 

Done!

 

After this when copy to SharePoint the file in dropbox will be deleted.

 

Hope Have Helped,

 

Best Regards,

 

Gustavo Moraes


Did I answer your question? Mark my post as a solution!

Gustavo Moraes, o astronauta brasileiro do Flow!


View solution in original post

Hi Gustavo! Thank you for these steps - I've tried it out and it works now. The file automatically deletes in Dropbox after it is copied over into SharePoint, this is exactly what I was looking for.

 

Thanks again!

Clara

Regular Visitor

Hello,

Why when I create the 'Copying files from Dropbox to Sharepoint' flow, the flow run failed, error is badgateway, the accountid of sharepoint is owner, the accountid of dropbox is external accountid of sharepoint. is it ok? please advise. Thanks.

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (5,706)