I would like to present a new feature in airflow. It's a good idea to support 
webhooks triggers for notifying users about their tasks.
we can do it by providing it in a way that I could supports software like 
Slack, MatterMost, Discord, MS Teams. this software currently uses by a wide 
range of international users.
This feature provides a better UX for our users and also reduces efforts for 
every company/user who uses airflow to write their own callbacks.

Here is my initials idea:

Changes in the default_args:
add new entry: webhook_on_failure: bool
add new entry: webhook_on_retry: bool
add new entry: webhook_on_success: bool
add new entry: channels: List[str] (List of channels)
add new entry: mentions: List[str] (List of users to mention)
Changes in the airflow.cfg:
add new seciont like [webhook] for Slack, etc. configuration.
Message templates:
I would like to do it like the Prometheus alerting template.
About message templates, I mean something like this.

Reply via email to