Hi,
How to access a webhook payload in a notebook executed via a webhook event?
There is a documentation: Automate a notebook using webhooks, describing how to setup a webhook with a notebook listenere, however, there is no example on how to use a webhook payload inside a notebook.
Thanks,
Matej
For anyone looking for an answer, the webhook's payload is injected into a notebook automatically as a global variable named "webhookPayload".
Do not declare the variable "webhookPayload" in a notebook, just use it, oterwise it will overwrite the injected one.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.