update-banner

Webhook response templates

We’ve updated webhooks in triggers (both scheduled and reactive) to allow custom response templating. This feature now allows webhooks to properly post to many more endpoints, such as slack or discord. We’ve included a couple of basic templates to build from.

The templates need to be valid json in order to work, and allow a few values to passed in such as {{feed_id}}, or {{feed_name}}.

As an example, you could do something like this now:

{

  "content": "The value: {{value}} for the feed:{{feed_name}} is too low."

}

trigger-ui


Get in touch with us on the Adafruit IO forums or on Discord if you have any questions.