Send email notifications for problems

  • Latest Dynatrace
  • Tutorial
  • 4-min read
  • Published Sep 24, 2025

Problems are automatically opened by Dynatrace when anomalies or alert conditions are detected in your environment. In Workflows Workflows, build a simple workflow that listens to problems and automatically sends Email for Workflows email alerts. This guide shows you how.

Screenshot of a workflow to learn how to send email notifications for Davis problems using a simple workflow.

What will you learn

In this tutorial, you'll learn how to alert your team in real time by emailing the details of a new problem to a specific email recipient.

At a short glance, you will:

  1. Create a simple workflow.
  2. Add an event trigger for Davis problems.
  3. Add an email notification.
  4. Save and run the workflow to get email notifications.
  5. Verify your workflow is working as expected.

Prerequisites

  • You should have permission to configure and run a simple workflow. For example, the permission granted with the default policy is for a standard user.
  • You should select the necessary permissions in authorization settings.
    • You should allow the required permissions to

Steps

  1. Create a simple workflow.

    1. Go to Workflows Workflows.
    2. Select Add Workflow in the upper-right corner of the page.
    3. Select the workflow title. By default, it is Untitled workflow, and enter a meaningful name. The workflow type is set to simple workflow by default.
  2. Add an event trigger for Davis problems.

    1. In the Select trigger section, select a Davis problem trigger.
    2. Set the Problem state to active or closed. This option means that the problem can be both active or closed. This setting causes the workflow to trigger twice, once when the problem becomes active and again when it is closed.
    3. In the Event category drop-down list, select Select all.
    4. optional Select Query past events to see the most recent problem events that would have triggered this workflow.
    5. optional Enter Entity tags or Additional custom filter query to only trigger the workflow on the relevant problems.
  3. Add an email notification.

    1. Select Add Add task on the trigger node.

    2. In the Choose action section, select Send email action type. Give the action type a meaningful title.

    3. Enter the recipient's email address in the To field.

    4. In the Subject field, enter the following:

      {{ event()["event.status"] }} Problem {{ event()["display_id"] }}: {{ event()["event.category"] }} {{ event()["event.name"] }}
    5. In the Message field, enter the following:

      {{ event()["event.description"] }}
      Go to problem: {{ environment().url }}//ui/apps/dynatrace.davis.problems/problem/{{ event()["event.id"] }}

    This configuration uses event context placeholders to dynamically populate the email with relevant problem details .

    The Davis problems trigger returns the problem record. You can use any field from the problem record, stored in dt.davis.problems, in the email notification.

  4. Save and run the workflow to get email notifications.

    1. Select Create draft.
    2. Select Deploy.
    3. Select Run to see the selected problem event that will be used for the workflow.
  5. Verify that your workflow is working as expected:

    1. Go to your workflow.

    2. Select Run.

    3. Select Run again to execute the workflow.

      After the workflow has executed, you should see a Success state at the top of the workflow editor. In case of an error, you can view the log output at the bottom of the editor for troubleshooting.

      Screenshot of a successfully run email notification workflow.

Conclusion

You’ve created a simple workflow that sends email notifications when problems are opened or closed. This setup helps to ensure that your team is immediately informed about critical issues in your environment.

You can extend this workflow by

  • Adding conditions to handle specific problem categories or severities.
  • Adding auto remediation steps to your workflow.

This workflow is a great starting point for automating incident response and improving operational awareness.

Related tags
Dynatrace PlatformWorkflowsWorkflowsEmail for WorkflowsEmail for Workflows