Skip to main content
Best answer

Try to run app scripts URL using Webhook GET request

  • June 19, 2021
  • 1 reply
  • 373 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

Best answer by SamB

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! :)

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

SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • Answer
  • June 22, 2021

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! :)