# Trigger alert when Workflow fails

**URL:** <https://community.dynatrace.com/t/trigger-alert-when-workflow-fails/52201>\
**Category:** Automations\
**Tags:** workflows, problems, automations\
**Created:** [June 23, 2025, 3:03pm UTC](https://community.dynatrace.com/t/trigger-alert-when-workflow-fails/52201 "2025-06-23T15:03:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Axel](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Axel](https://community.dynatrace.com/u/Axel)\
**Post date:** [June 23, 2025, 3:03pm UTC](https://community.dynatrace.com/t/trigger-alert-when-workflow-fails/52201/1 "2025-06-23T15:03:55Z")

</div>

Hi community,

i’d like to trigger an alert when my workflow fails to call a Dynatrace API. I saw this thread:&nbsp;[here](https://community.dynatrace.com/post/251605)

So, this new automatic notification is not available, so far. There is another way to reach this goal?

---

<div class="post-metadata">

**Author:** ![Emm4nuel](https://avatars.discourse-cdn.com/v4/letter/e/e9bcb4/32.png) [@Emm4nuel](https://community.dynatrace.com/u/Emm4nuel)\
**Post date:** [July 9, 2025, 6:03am UTC](https://community.dynatrace.com/t/trigger-alert-when-workflow-fails/52201/2 "2025-07-09T06:03:16Z")

</div>

You can set up an alert to trigger after a critical Dynatrace API task by using the&nbsp; **condition** &nbsp;section. For example, if you have a task named&nbsp; **“Important Task”** , you can add another task immediately after it that checks for errors. If an error is detected, you can configure it to send an email notification—or use any other integration you prefer.

This setup is illustrated in the image: the alert is conditionally triggered based on the outcome of the previous task.

 ![Screenshot 2025-07-08 234701.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/59e4d0cadf1abd73b3b17c649e2d2afa55603d53.png)
