Idea:
- Create a flexible error handler that can be called to do stuff based on the inputs it receives
** Advantages: all the error handling is done in a unique point containing all the business decissions, making mainteinance very easy (change 1 point and affects all error handling in all scenarios).
Step 1
- Create a scenario activated by a webhook.
- Once called reads input JSON, do some stuff (based on the JSON received) and, optionally return a response JSON
** Disadvantages: calling the scenario error handler requires create a HTTP module in the calling scenario and write there the JSON
Step 2
- Create a custom app that does the job of calling the error handler scenario, offering a comfortable way to construct the JSON to be sent by the call (with fields specially designed for that).
** Advantages: Availability of a custom module, easy to create.
Question: Does anyone has a custom app that calls to the webhook from other scenario wihout auhtentication (it´s not needed for it to work)?