Hi there!
I am trying to put together a Docebo webhook that has multiple possible event types for the payload in Connect. My initial goal was to create a lookup table of all the possible events and payload samples, then search by event type. Once the event type is found, use the Parse JSON option in Connect to parse the payload sample, and execute logic relating to that type of event.
I want this recipe to be easy to edit and easy to read, so I was hoping I could use the lookup table to more easily parse the JSON from the payload. However, I can’t get the data pills to ingest correctly for the document input for the Parse JSON function in Connect, so the payload data pills aren’t accessible right now.
My other thought was to put all possible payload values in the webhook schema, but then you can’t differentiate which belong to which event type without external documentation, and this feels messy.
I would love some advice on this!
