Email for Workflows
You can automate sending out-of-the-box emails using Email for Workflows based on the events and schedules defined by your workflows.
Set up Email integration
Install Email for Workflows
To use the Send email action, first, install Email for Workflows** from Dynatrace Hub.
To install Email for Workflows, you need the app-engine:apps:install
permission.
- In Dynatrace Hub , select Email for Workflows.
- Select Install. After you install Email for Workflows, you need to grant permissions to Workflows.
Grant permissions to Workflows
Workflows require certain permissions to run actions on your behalf. Other permissions are required by actions that come bundled with Email for Workflows.
To fine-tune permissions granted to Workflows
- Go to Workflows and go to Settings > Authorization settings.
- Select the following permissions besides the general Workflows permission.
- Permissions needed for Send email actions
email:emails:send
- Permissions needed for Send email actions
For more on general Workflows user permissions, see Expression reference.
Trial environments are prohibited to send emails with Email for Workflows.
Send an email with workflows
- Go to Workflows and select Workflow to create a new workflow.
- Select the Trigger to choose the right trigger for your needs.
In the side panel, select one of the triggers.
- On the trigger node, select Add task to browse available actions.
- In the side panel, search the actions for Email and select Send email.
- In To field, enter the email addresses of the recipients. The Cc, Bcc fields, are also available. For To, Cc, and Bcc fields the number of email addresses is restricted to 10 per field.
- In Subject and Message fields, enter a meaningful text.
- Select Run.
Email for Workflows sends emails from no-reply@apps.dynatrace.com
email address. We recommend whitelisting the domain to avoid emails being redirected to the junk folder.
This workflows integration doesn't allow formatting of the subject or message. It's only possible to send plain text emails. It doesn't offer support for markup or HTML.
Action result
The Send email action provides the following result.
Property | Description |
---|---|
| A unique identifier to trace successfully accepted email send requests. |
| A unique identifier to trace successfully accepted email send requests. For sending emails, this is identical to |
Expected behavior 'Failed to send email. Status code 403.'
This message is related to missing permissions or a trial environment as described above in Grant permissions to Workflows.