Hi ,
I am building workflow which runs DQL to get some stats about application, in next task i.e. “Prompt the Dynatrace Intelligence generative AI” , I have written prompt to generate report summary, this prompt accepts output of DQLs task output.This output currently been sent out to audience by Email .
We would like to generate this report in HTML report.
Please suggest how I can do his ?
Regards,
Heramb
Any Help would be appreciated!!!
Regards,
Heramb
Hi,
Have you found a solution for this?
Best regards
Hi,
Dynatrace built-in Email action currently does not support raw HTML body; it supports Markdown-style formatting only.
Email
Recommended approach would be to add an additional “Run JavaScript” task after the DQL and AI summary tasks. This task can transform the DQL output and AI-generated text into an HTML string/template.
Then, instead of using the native Email action, send this HTML payload to an external mail service/API using the HTTP Request action like Power Automate etc , an internal mail gateway, or a custom endpoint. The external service should send the message with content type text/html.
Regards,
Tomasz