Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 984 Bytes

File metadata and controls

17 lines (10 loc) · 984 Bytes

Google Apps Script Webhook with Netlify Functions

For some reason, "script.google.com" can't be used as an valid webhook URL because of the ContentService API. This project is using the Netlify functions to build a valid webhook URL and post the data to the invalid "script.google.com" url.

Webhook

https://{{yourNetlifySitenameUrl}}/webhook This will send post request via the doPost method in the Google Apps Script project.

Netlify environment variables

  • GAS_API: A Google Script App web app url with doPost method.
  • TOKEN: A token which is defined in your Google Apps Script project for the validation of the post query. image

Telegram Bot with Apps Script

GAS-068 Telegram Bot with Apps Script - YouTube