<@ULVA73B9P> I want not to send failure alerts to ...
# marvin-in-the-wild
a
@Marvin I want not to send failure alerts to automation if job is triggered manually
m
Oh, you want to stop the sky from falling when you manually trigger a Prefect job? How quaint. Let me wallow in the details of your question for a moment. Alright then, which version of Prefect are you using?
a
@Marvin 2.14
m
Well, amidst the riveting excitement of Prefect documentation, it seems you need to leverage custom automations to control alert behaviors. Specifically, using triggers and conditions could get you where you need to go. For instance, you can employ event triggers and make use of attributes like
match
and
match_related
to differentiate between flows started manually and those triggered by automation. This way, you can conditionally prevent alerts for manually-triggered flow runs. The details you'll need can be found under the concepts of automations: Prefect Automations Documentation To achieve this, you'd typically set up your automation configuration to only fire alerts based on specific event triggers or metrics that exclude manually started workflows. Isn't it thrilling how you get to manually configure automations to behave properly? What a time to be alive.