Start free trial

Automatically copy files uploaded to your form responses to Dropbox with Make

In this example we want to create a copy of any files uploaded in your form responses to Dropbox.
You can follow a similar path to copy your files to any other system supported by Make.

This example assumes you have already completed:

  • The entire ‘How to connect Snapforms to Make’ section of the Make setup guide.
  • Steps 1-12 in the ‘How to use Snapforms in your scenarios’ section Make setup guide

Please complete those before proceeding.

The trigger ‘New Response Event’ will start the scenario when ever a form response is received on your form.

13. Since the file upload fields can contain one or multiple files, the first thing we need to do is add an Iterator module from the tools menu.

14. Select your file upload field as the Array to be used in the Iterator. Ensure you select the ‘Do for each’ version of the file field.

15. Now we can add the actions that should apply to each of the uploaded files.
Add another module, search for Snapforms and select the ‘Retrieve File URL for Download’ action.

16. Following the below example, populate the form-slug, response-id, and file-key settings for the action using the parameters available to choose from, then click OK.

Now that you’ve already added an action to get the download URL for the file from Snapforms, it’s time to add another action to download the file.

17. Add another module, then search for and select ‘HTTP’, then select the ‘Get a file’ action.

18. In the settings for the ‘Get a file’ action, select the File URL as the URL to download.

Now that you’ve already added an action to download the file from Snapforms, it’s time to add another action to send the file to your required system.
In this example we’re using Dropbox.

19. Add another module, then find and select the ‘Upload file’ action by searching Dropbox in the actions list. Choose or create a Dropbox connection, then populate your settings for the ‘Upload file’ Dropbox action.
19.1. You may select any folder you like. In this example we have used the root folder ‘/’.
19.2. Select ‘HTTP – Get a file’ in the File Content. This takes the file downloaded in the HTTP action we added earlier.

Save the scenario. Each time your form is submitted, you should now find the uploaded files automatically added to your Dropbox.

Get an online form trial or demo absolutely free.