Google Drive Integration: Redirect uploads to specific folders?

  • GoBlueAdmin
    Asked on May 21, 2015 at 9:51 PM

    Hi, I want to allow users to upload via Jotform to a folder in Google Drive, but I don't want it to create a new folder each time.

    I would also like the upload to be directed to an existing specified folder based on the form submitted (i.e. each upload goes to a specified user folder for that user).

    Is this possible?

     

     

  • Charlie
    Replied on May 22, 2015 at 12:22 AM

    Hi,

    Unfortunately, it is not possible to redirect the uploads to specific folders. 

    The reason why it creates a new folder for each submission is because the submission will include 2 or more files, one by default is the PDF submission, and the others are the files uploaded. If each submission will be uploaded in the same folder like the others without categorizing them, all the file uploads will mixed up, and it's possible that PDF submissions or files with the same file name will overwrite the other, causing a lost of data.

    What might be a possible feature request is having a built in conditional logic in Google Drive integration to upload the submissions to a secondary folder depending on the custom submission name. Example:

    Default Folder Structure:

    --Google Drive Main Folder:

    ----Sub Folder 1 (Example Name: January Reservations)

    ----Sub Folder 2 (Example Name: February Reservations)

    If for example the submission folder name is set to have a custom name {submission ID}-{LastName}-{month field}. The conditional logic can use the {month) field to redirect to specific folder. 

    Example, the user submitted the form, a submission folder will create this folder name: "1234567-Smith-February". In the Google Drive folder structure, it will be placed like this:

    --Google Drive Main Folder:

    ----Sub Folder 1 (Example Name: January Reservations)

    ----Sub Folder 2 (Example Name: February Reservations)

    --------"1234567-Smith-February"

    If user's submission is "2468791-Carter-January". The folder structure will be:

    --Google Drive Main Folder:

    ----Sub Folder 1 (Example Name: January Reservations)

    --------"2468791-Carter-January"

    ----Sub Folder 2 (Example Name: February Reservations)

    --------"1234567-Smith-February"

     

    If this is something that can be useful for you, I can send it as a feature request but cannot guarantee that it will be implemented anytime soon, it will depend on our developers if this is feasible or not.

    I hope that helps.

  • Charlie
    Replied on March 2, 2016 at 1:52 AM

    @editnewsigns

    Thank you for sharing your insight on this, to better assist you, I have opened a separate thread for your concern. Please refer to this link instead: http://www.jotform.com/answers/785355. We will address it accordingly.