Hi.
I am trying to get form data to Google Sheets via a webhook using Pabbly. My query is how do I unpack the array (e.g. the checkbox field). The data comes through as “array” using the webhook, not the individual lines that were ticked.
I have this code from a video: https://www.youtube.com/watch?v=U8KCs7n0z_4&t=365s
$data [‘form-field-gilnan’] = cleanFormArray($data[‘form-field-ginlan’]);
but that doesn’t work for me. Any idea what code I can use instead or where I could be going wrong?
PS - it would be great if Bricks could have a webhook as a form action, instead of using custom code. Also coming from Elementor, they had a webhook action, and also a way to setup Google Sheets to accept the webhook directly instead of through an intermediary. This worked much better, and more importantly, had no limit on number of actions recorded.
The Google Sheets code is on github: Google app-script to utilise Elementor Pro Froms webhook · GitHub
I couldn’t find a google sheets code for Bricks - does anyone know if there is such a code for bricks?
Thanks for your help.