Best answer

Try to run app scripts URL using Webhook GET request

  • 19 June 2021
  • 1 reply
  • 282 views

Hi all,

 

I have created an apps scripts and already getting my web app URL:

https://script.google.com/macros/s/******/exec?searchStringName=doPost

 

My use-case is:

Whenever my google spreadsheet is updated, I would like to run the above URL so that it can generate PDF file automatically.

 

I am using Action>GET Webhook, and getting this as result:

 

However, the URL is not being executed.

 

Any insight on this?

 

Thank you in advance!

 

Best regards,

Leo

icon

Best answer by SamB 22 June 2021, 11:21

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +11

Hey @leo0094, welcome to the Community!

Looking at Google’s documentation for the “doPost” function it seems that you’ll want to set up your Webhooks by Zapier step to send a POST request, rather than GET request. 

You can find out more about the parameters needed here: Request parameters and how to set up that POST request here: Send Webhooks in Zaps

I hope that helps! :)