Description
Adds interfaces and custom functions that output a 2D array of form data from JotForm. Return user, form, submission, report & folder data. This add-on has no affiliation with JotForm Inc.ââ
Set Up
- Navigate to jotform.com/myaccount/api.
- Press âCreate a new keyâ or use an existing one.
- Copy the key into the set up dialog. For full instructions, see Jotformâs website.
Import Sidebar
The sidebar can be used to import form data from Jotform manually, which is useful if you only need to update it periodically. Go to Jotform Data > Import to open the sidebar, from here you can select the data you want to import. Details of each parameter are listed under âCustom Functionsâ below.
Scheduling
Available through the import sidebar, scheduling allows you to import form data from Jotform on a regular, recurring basis. Settings are taken from the import sidebar and run at the specified frequency. You can manually prompt a check of all schedules, as well as forcing them all to import regardless of when they were last run.
Custom Functions
Basic
Enter â=JOTFORM()â in any cell. The parameters for this function are listed below:
- endpoint - The data you wish to return. Allowed values: user, form, submission, report or folder.
- id - The id of the record(s) to return. Required for form, submission, report & folder endpoints.
- child - A second-level endpoint to return.
- user - âusageâ,âsubmissionsâ,âsubusersâ,âfoldersâ,âreportsâ,âsettingsâ,âhistoryâ,âformsâ or blank.
- form - âquestionsâ,âpropertiesâ,âreportsâ,âfilesâ,âwebhooksâ,âsubmissionsâ or blank.
- submission, report, folder - blank.
- age - Optional. The maximum age of cached results, in hours. Default: 24. Use this option to minimize the amount of requests you make to JotForm. Use 0 for no limit, -1 to ignore cache.
- lite - Optional. Boolean. Return a reduced set of data. Default : FALSE.
Advanced
Enter â=JOTFORM_ADV()â in any cell. The parameters for this function are listed below:
- endpoint - The data you wish to return. Allowed values: user, form, submission, report or folder.
- id - The id of the record(s) to return. Required for form, submission, report & folder endpoints.
- child - Optional. A second-level endpoint to return for each endpoint:
- user - âusageâ,âsubmissionsâ,âsubusersâ,âfoldersâ,âreportsâ,âsettingsâ,âhistoryâ,âformsâ or blank.
- form - âquestionsâ,âpropertiesâ,âreportsâ,âfilesâ,âwebhooksâ,âsubmissionsâ or blank.
- submission, report, folder - blank.
- age - Optional. The maximum age of cached results, in hours. Default: 24. Use this option to minimize the amount of requests you make to JotForm. Use 0 for no limit, -1 to ignore cache.
- lite - Optional. Boolean. Return a reduced set of data. Default : FALSE.
- api - Optional. API key to use, if not the default.
- limit - Optional. The number of results to return. Only for child âsubmissionsâ & âformsâ.
- offset - Optional. The number of entries to skip. Only for child âsubmissionsâ & âformsâ. Default: 0.
- filter - Optional. Filters the query results to fetch a specific submissions range. Eg: {ânewâ:â1â} You can also use gt (greater than), lt (less than), ne (not equal to), formIDs and fullText commands to get more advanced filtering : Example: {âcreated_at:gtâ:â2013-01-01 00:00:00â} Example: {âformIDsâ:[âyour-form-idâ,âyour-form-id#2â]} Example: {âfullTextâ:âJohn Brownâ}
Output
Both functions output a 2D array of information from JotForm with headers on row one. This can take up a lot of columns, so consider transposing the output. Results are stored in the document to improve performance and minimise the amount of requests made to JotForm, however this is not always possible with large responses.
Permissions
Hereâs what Form Data for Jotform does with each of the permissions it requires:
- View and manage your spreadsheets in Google Drive - Used to read and write the value of cells in the active document.
- Display and run third-party web content in prompts and sidebars inside Google applicationsâ - Used to provide a fancy user interface.
- Connect to an external service - Connect to JotForm to return data when the user enters one of the custom functions. View its privacy policy.
- Allow this application to run when you are not present - Allow imports to run once scheduling has been set up.
Further details can be found in the GSuite Add-on Privacy Policy.
Uh-oh, Something Broke!
Contact me, giving as much detail as you can.
Changelogâ
- 2021-12-23
- Renamed from âJotform Dataâ to âForm Data for Jotformâ.
- 2019-10-06
- Multiple bug fixes and performance improvements.
- 2019-07-28
- Moved the schedule dialog into the sidebar for less obtrusive schedule checks
- âPerformance improvements and bug fixes
- 2019-04-20
- Fixed bug with title extraction
- 2018-11-12
- Added scheduling to the import sidebar.
- 2018-11-04 Added the import sidebar.
- 2018-09-19
- Added support for custom form urls.
- 2018-07-20
- Improved headers for answer columns, now uses the question text instead of âanswer 1â, âanswer 2â etc.
- Added filter parameter to advanced function.
- âUpdated Atâ now fills from âCreated Atâ when blank.
- 2018-06-29
- Backend support for xpath wildcards.
- 2018-06-26
- Initial Version.