Automations
All questions related to Workflow Automation, AutomationEngine, and EdgeConnect, as well as integrations with various tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does prompt in workflow provides reports output in HTML format

heramb_sawant
Organizer

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

3 REPLIES 3

heramb_sawant
Organizer

Any Help would be appreciated!!!

Regards,
Heramb

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

Have you found a solution for this?

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

t_pawlak
Leader

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

Featured Posts