Webhooks and Types
The general idea behind webhooks allows them to be added to many Ocelot workflows at many different points. These different points and workflows will have different pieces of data available to include in the webhook request. After the webhook call, the different workflows will need different pieces of data to successfully complete.
To handle different payload layouts, we introduce the concept of a webhook type. Webhook types are used to indicate the data that will be in the webhook request and the required (optional) data should (could) be in the webhook response.
Currently the question webhook type is implemented. We have a roadmap to implement additional webhook types: a form webhook type for scenarios such as populating forms and creating tickets thru the chatbot, and a search webhook type for general-purpose searching.