Webhooks provide a way to notify various online services that a certain event has occurred.
Services that offer webhooks are among others
- MS Teams
The webhooks can be used, for example, to report malfunctions on a technical device to the Slack channel of the responsible technicians.
In tIn the following we will show how to create a simple webhook with Dynamic-QR. For this example a small form is created. In this form, a textarea can be used to specify which error a copier has. The data is sent to https://webhook.site/. At webhook.site you get (without registration) an individual URL to which JSON formatted data can be sent as a webhook.
After saving the form, a webhook action can be selected. The action needs a name of your choice (here: Copier Failure) and the webhook URL which in this example comes from webhook.site.
After saving, the next step is to assign a name to the QR code so that it can be easily found again later in the overview. In this example, the location was used for the sake of simplicity.On the lower half of the page you can test how the data that is sent to the webhook is formatted when the form is submitted.
If Finish! is then clicked, a QR code is generated, which in this example can be stuck on the copier. If the QR code is scannt and the form is submitted, the data is sent to the entered URL of webhook.site and is displayed there.
As mentioned before, this is just a very simple example. In the following blog posts, more advanced use cases for webhooks will be presented.