How I can upload file from submission automatically?

  • itdepartmentdreamline
    Asked on February 1, 2021 at 1:37 PM

    We using file widget for our quiz. Will be great if will possible download file be link from webhooks. It is problem for our integration because we have to manually upload files that customers attached. We cannot upload these one to our CRM. Is it possible to do this automatically by link?

  • Jovanne JotForm Support
    Replied on February 1, 2021 at 6:08 PM

    Hi, thank you for contacting JotForm support.

    Currently, the API or webhook does not send the actual files except the file names. However, you can define in your script the base URLs along with the parameters e.g. username, formID to generate the file URL.

    Here are examples:

    For the native file upload field, the file format is the following:

    https://www.jotformpro.com/uploads/USERNAME/formID/submissionID/fileName

    where:

    USERNAME is your username e.g. AmSteve

    formID is the form ID in used

    submissionID is the submission ID (long string numbers) generated after submission

    fileName is the actual file name


    Sample:

    https://www.jotformpro.com/uploads/EltonCris/70168248381964/360857027001347941/widget%20icon.png 

    Hope this helps. Let us know if you have further questions.