Skip to content

For some reason, "script.google.com" can't be used as an valid 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.

License

Notifications You must be signed in to change notification settings

ashtonfei/gas-webhook-with-netlify-functions

Repository files navigation

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

About

For some reason, "script.google.com" can't be used as an valid 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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published