How it works

1. A schedule trigger checks Salesforce every hour for newly created opportunities. 2. A For Each loop goes through each new opportunity. 3. A Dropbox folder named after the opportunity Id is created. 4. Salesforce is asked for the files attached to the opportunity. 5. For each file, the content is downloaded from Salesforce and uploaded to the Dropbox folder.