You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature: Enhancement of Webhook Custom Body Functionality
My Use Case
I would like to configure different colors for TRIGGERED and RESOLVED notifications to make Alerts more prominent.
Expected Solution
Support for a custom webhook body that utilizes a template language similar to Jinja2, allowing for conditional statements like {% if status == "RESOLVED" %}.
Acceptable Alternatives
Allow for different triggers to be configured for TRIGGERED and RESOLVED in the "Choose Triggers" option.
The text was updated successfully, but these errors were encountered:
I am thinking I would give the ability to write a custom transformer function for this. What do you think? The response should be the webhook payload
Is it similar to eval?
I'm not sure if you're considering replacing "template rendering" with "custom functions," or if you're thinking about adding the functionality of "custom functions."
I believe this is a viable and powerful solution, but it's not very user-friendly. Of course, it could perfectly solve my problem!
The current "template rendering" feature is great; it just isn't powerful enough for my specific use case. Simply replacing it with "custom functions" might actually undermine the current usability.
Perhaps allowing users to switch freely between "template rendering" and "custom functions" would be a good idea.
Additionally, I'm only proposing this based on my personal use case, and I'm not sure if others would need it. In fact, I'm already considering directly modifying the project to add the tigger type that I use.
Feature: Enhancement of Webhook Custom Body Functionality
My Use Case
I would like to configure different colors for
TRIGGERED
andRESOLVED
notifications to make Alerts more prominent.Expected Solution
Support for a custom webhook body that utilizes a template language similar to Jinja2, allowing for conditional statements like
{% if status == "RESOLVED" %}
.Acceptable Alternatives
Allow for different triggers to be configured for
TRIGGERED
andRESOLVED
in the "Choose Triggers" option.The text was updated successfully, but these errors were encountered: