Skip to main content

Hello everybody, 

We are now extending our use of JotForm and including a field that has an attachment. 

Per suggestions in the community and other sources, I am trying a couple of options to manage the file that is attached to the JotForm. 

FIRST OPTION

  • Use webhook tool, with GET action, connect to JotForm API, and in Configuration use the URL for the file attachment that the JotForm Step generated as output
  • I added a Header with a Key Value pair for Adding an API Key: Key: Authorization, Value: Bearer (API Key)
  • When I run the test to the API, I receive an HTM page, for a JotForm generic page. Not the file that I am looking for
  • DO I need to add specific credentials to access the file ? Maybe use the Basic Auth field and add proper credentials for accessing the actual file URL ? The URL exposed by the JotForm output DOES have the file I need to access. 
  •  

 

SECOND OPTION 

In this case I am using a Google Drive Step to load the file to Google.

  • In this case the file is created, but is a generic JotForm HTML not the file that is attached to the form. 
  • So, same question as with first scenario. It seems I may need Basic Auth to be setup for the actual file to be accesses ?
  • Will appreciate any guidance, pointers you can share for this process. and Thanks in advance. 

 

Hi ​@JGRolon 

In your Jotform account settings you need to uncheck the checkbox related to files.

UNCHECK: Require log-in to view uploaded files

 


Hey there, ​@JGRolon 👋

How did you get on with Troy’s suggestion of unchecking that “Require log-in to view uploaded files” option? Did that allow the Jotform files to be passed over to Google Drive successfully?

Want to make sure this got sorted, so keep us posted on how it went! 🙂


Hi ​@SamB ;

Sorry for not answering sooner. Yes, Troy's suggestion works. However, I am still trying to determine if we can use basic authentication to access the file(s) that are attached to the FORM in JotForm. With my test account, I can work around and setup the application to now use authentication to access file(s). But our Enterprise JotForm account(s) may need this setting to still be turned on. SI I am testing to see if I can make the ZAP work with some authentication headers, to access the JotForm file(s). 


Hi ​@JGRolon,

 

First, ensure that JotForm settings allow basic authentication for accessing files in JotForm submissions. Then, use Webhooks or Code by Zapier to send authenticated requests, either via GET requests or a custom script in JavaScript or Python. Before full implementation, test authentication with a single submission to confirm proper access. Reviewing Jotform API documentation can clarify authentication requirements, and contacting Jotform support may guide Enterprise-specific settings.

Feel free to reach out for further assistance. We're here to help.