Skip to content
Advertisement

Why is the webflow form data not showing in google sheets?

I’ve been using these codes to get data parsed from a webflow form into a google sheets, but this time, this is not working and I can’t find out why, since there’s no apparent error.

This is script embedded in the webflow site build:

JavaScript

This is the piece sitting in the Google Apps Script environment:

JavaScript

When the form is submitted, the network console session only shows the fields filled in, ignoring the empty ones. Not sure of headers function above requires all fields to come from the form, so that they can be mapped…

enter image description here

And the script gets executed at the apps script end with no apparent error, but nothing shows up in the sheets.

Appreciate any light towards to the reason.

Advertisement

Answer

Add some console.log statements to you Apps Script in order to help you to debug it.

JavaScript

The above statement will log the web app event object.

JavaScript

The above statement could be useful to be sure that the required sheet exists.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement