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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

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!

Users online (12,351)