Forum Discussion
Azure logic app - sent a visalized graph via email
I am using Logic app to send query outcome via email. I found article how to compose logic app that will use 5 queries (4 charts and 1 table). I would like to send them via email. The queries are fine, visualize data well. However when sending email it only renders the table.
I am wondering if there is any additional processing that i have to add
It generates in the email only the HTML table, not the image of graphs that are normal timechart or pie chart.
If i try to send just one chart it still does not sent through
can you please help me
8 Replies
- sentineladminCopper Contributor
Did you ever get this figured out? We are having the same issue. I saw the comment from Jysk0, who said to remove base64tostring but do not see where to do that. Any help would be appreciated.
- anish833Copper Contributor
From the logic app code view you can edit the query part to include img tag with the output of the KQL query. The MIME type I used was jpeg and it worked for me
- sentineladminCopper Contributor
Thank you for the reply. Can you include your query and possibly explain that a bit more. We did get the email attachment working but not in the body.
- ergolpe
Microsoft
You might want to create a Do While and append to it, akin to what was done in this post: https://powerusers.microsoft.com/t5/Building-Flows/Append-Consolidate-HTML-Tables-for-summary-email-outside-of/td-p/267160 - jysk0
Microsoft
If you have not yet figured out yet, go to code section and remove base64tostring from the section
- TomHarringtonCopper Contributor
T150732D Hi, did you ever figure out how to do this? I'm having the same issue.