Tutorial: How to push data in a Google Sheet via “API”
medium.com
medium.com
https://developers.google.com/apps-script/guides/web
This allows you to parse all kinds of payloads, including ones not specifically tailored to your app. For example, I wrote a script that could receive webhooks from PayPal and record them in a spreadsheet.