Dynamic scheduled report emails

Mark Manders
Mega Patron

The Platform Analytics Academy of August 7th 2024 was about the exporting of data visualizations (scheduled reports). (be aware: dashboards can’t be exported until Yokohama).

 

The thing they showed was that every report that can be exported to a png can be embedded in the email that you schedule with sending the reports. In the academy it was brought as a possibility to tell a story around the visualizations.

 

But my questions about if it could be made more dynamic weren’t answered. Setting your text for the email body will always send the same text, so you can only explain what you are showing in the email, but not tell the story about the data and, in my opinion, an explanation is not a story. I believe a kid sleeps better after hearing the new adventures of the princess on the white horse than explaining how a dishwasher works.

 

Is it possible to make these scheduled reports more dynamic?


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
1 ACCEPTED SOLUTION

Mark Manders
Mega Patron

The answer: Yes, you can make these more dynamic yourself.

 

[I know, it’s weird to answer your own questions, but without the ability to write articles, knowledge sharing is limited to answering questions, so why not answer my own after I found out the answer myself?]

 

 First: you can only schedule the data visualizations that are in the Platform Analytics library. From there you can start the schedule.
(If you haven’t done anything with Platform Analytics yet, data visualizations are the new name for ‘reports’).


MarkManders_0-1723103332613.png

 

As you can see, I selected the file type as ‘Embedded PNG’. This means that the report will be in the email as picture, instead of attachment, which makes it way more useful, especially if you are sharing more visualizations.

 

In the academy the ‘story telling’ was done with adding texts like ‘our team did an amazing job last month’, but is that always true? What if you are showing a backlog growth of 250% and the text reads ‘our team did an amazing job last month’? Next to the text always being the same, which isn’t a story, it can also just read as untrue. And nobody wants a CEO storming onto the department floor, yelling ‘fake news’.

 

I did some testing after my question on the academy wasn’t answered. You can use email notification scripts in the scheduled emails. And this opens up lots of possibilities.

 

MarkManders_1-1723103364520.png

Let’s say that you are sharing a semi donut of task_sla records grouped by ‘has breached’ to show the result of last week.

If you want to tell a story, you want to say something like ‘Look at our awesome team. Not a single SLA was breached last week’ or ‘We noticed that the breached SLA’s are concerning at the moment and we are looking into this’.

By using email notification scripts you can query to the task_sla table and check if there are any breached SLAs. If not, you can simply return your ‘we are awesome’ text into the scheduled email.

By defining your thresholds and making your notification script(s) check on these, you can create a huge number of different text fragments you are showing in your email.

 

In fact (just thinking of it now, not having tried it): if you want to, you could even leverage something like a private task to write some additional information about the previous week as a summary and have an email script pick up that description and put it into your email (just make sure you created it before the scheduled report is triggered).

 

It is now really possible to write a story around data visualizations that you export for stake holders (although I still think that if it is even a minor possibility within the requirements: revert them to dashboards, because those are showing the actual data, an email shows old data).

It will take some work to setup, but I think awesome things can be sent to stakeholders now.

 

 

 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

View solution in original post

2 REPLIES 2

Mark Manders
Mega Patron

The answer: Yes, you can make these more dynamic yourself.

 

[I know, it’s weird to answer your own questions, but without the ability to write articles, knowledge sharing is limited to answering questions, so why not answer my own after I found out the answer myself?]

 

 First: you can only schedule the data visualizations that are in the Platform Analytics library. From there you can start the schedule.
(If you haven’t done anything with Platform Analytics yet, data visualizations are the new name for ‘reports’).


MarkManders_0-1723103332613.png

 

As you can see, I selected the file type as ‘Embedded PNG’. This means that the report will be in the email as picture, instead of attachment, which makes it way more useful, especially if you are sharing more visualizations.

 

In the academy the ‘story telling’ was done with adding texts like ‘our team did an amazing job last month’, but is that always true? What if you are showing a backlog growth of 250% and the text reads ‘our team did an amazing job last month’? Next to the text always being the same, which isn’t a story, it can also just read as untrue. And nobody wants a CEO storming onto the department floor, yelling ‘fake news’.

 

I did some testing after my question on the academy wasn’t answered. You can use email notification scripts in the scheduled emails. And this opens up lots of possibilities.

 

MarkManders_1-1723103364520.png

Let’s say that you are sharing a semi donut of task_sla records grouped by ‘has breached’ to show the result of last week.

If you want to tell a story, you want to say something like ‘Look at our awesome team. Not a single SLA was breached last week’ or ‘We noticed that the breached SLA’s are concerning at the moment and we are looking into this’.

By using email notification scripts you can query to the task_sla table and check if there are any breached SLAs. If not, you can simply return your ‘we are awesome’ text into the scheduled email.

By defining your thresholds and making your notification script(s) check on these, you can create a huge number of different text fragments you are showing in your email.

 

In fact (just thinking of it now, not having tried it): if you want to, you could even leverage something like a private task to write some additional information about the previous week as a summary and have an email script pick up that description and put it into your email (just make sure you created it before the scheduled report is triggered).

 

It is now really possible to write a story around data visualizations that you export for stake holders (although I still think that if it is even a minor possibility within the requirements: revert them to dashboards, because those are showing the actual data, an email shows old data).

It will take some work to setup, but I think awesome things can be sent to stakeholders now.

 

 

 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Mark Manders
Mega Patron

After playing around more with this functionality, several issues came up that I reported to NowSupport. I was just informed that 

These issues are caused due to multiple defects identified in Xanadu.
These issues caused export to just completely be broken for data visualisations in Xanadu.
Following the active PRBs that are our developers are already working on.

PRB1786687 - Fix going to be rolled out on par export servers side within next 1 month.
PRB1784347 - Fixed in below plugin version 6.0 which is set to be released on september 10th.

Both the above defects need to be fixed for the functionality that you are using to work.

So please wait until after plugin v6.0 is released before trying this.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark