DEV Community

Discussion on: Hitting a Cloud Function when you submit a Google Form

Collapse
 
di profile image
Dustin Ingram

Hi there, can you share some more details? What does your Cloud Functions and Apps Script trigger look like?

Collapse
 
fusionx1 profile image
Paul Jebulan de Paula

Hi Dustin, I'm just following the whole instruction you shared. But I cant catch it from the logs it seems that its not being executed when i'm submitting a form.

Thread Thread
 
di profile image
Dustin Ingram

Perhaps a silly question, but did you make sure to update var url = "<YOUR CLOUD FUNCTION URL>"?

Thread Thread
 
fusionx1 profile image
Paul Jebulan de Paula • Edited

ow yes and it works and it prints ok when accessing that url - us-central1-xxxxxx-csapps.cloudfun...

From the logs i can only see the image attached when I'm manually triggering it from the dashboard. See dev-to-uploads.s3.amazonaws.com/i/...

Thread Thread
 
fusionx1 profile image
Paul Jebulan de Paula

It seems that this doesn't work anymore. Confirmed that trigger doesn't execute the URL anymore.