Best answer

Copy files in a new Dropbox folder

  • 26 August 2021
  • 5 replies
  • 150 views

I would like to copy files from a new folder created on Dropbox to AWS S3.  The zap I set up seems to work but it can only copy one file from the new folder using the Find File event and a “.” search text.  Is it possible for the list all the files in that new folder and use the looper to address each file found in the list?

icon

Best answer by christina.d 27 October 2021, 22:02

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

5 replies

Userlevel 7
Badge +14

Hi @luck_secondlifemac 

Try using this Dropbox Zap trigger:

 

Thank you, Troy.  Just wondering how that works since the New File in Folder is a trigger not an action.

The steps I have in mind is this:

  1. Trigger:  New Folder in Dropbox
  2. Search for all files in the new folder (from step 1)
  3.  use Loop by Zapier to loop through the list items (from step 2)
    1. For each iteration, get the file name
    2. Search for that file in the folder.  But this time it’s only that file from step 3.1
    3. Upload to S3 using the file name and file content from step 3.2

The problem is that Step 2 (Search for all files or List files in folder) action does not exist.

Userlevel 7
Badge +14

@luck_secondlifemac 

For Step 2 as you’ve described above, you’d likely have to leverage the Dropbox API: https://www.dropbox.com/developers/documentation/http/overview

App APIs can be used in Zaps with the Webhook app: https://zapier.com/apps/webhook/integrations

You’d also likely have to use the Looping app: https://zapier.com/apps/looping/integrations

Thank you, Troy.  I will give that a try.  I really appreciate you helping me out.

Userlevel 7
Badge +9

Hi all!

I wanted to pop in and consolidate this thread into one comment. 🙂

Before we get into it, it’s worth mentioning while Troy’s workflow should do the trick, at this time Zapier only supports the US-EAST-1 Amazon S3 region. You can see a bit more about that here: 

 

Hi @luck_secondlifemac 

Try using this Dropbox Zap trigger:

 

@luck_secondlifemac

For Step 2 as you’ve described above, you’d likely have to leverage the Dropbox API: https://www.dropbox.com/developers/documentation/http/overview

App APIs can be used in Zaps with the Webhook app: https://zapier.com/apps/webhook/integrations

You’d also likely have to use the Looping app: https://zapier.com/apps/looping/integrations

 

I hope this helps!