Trigger email report generation based on data trigger
I am thinking of doing something of this nature. Say, I have 5 parameters of features, each parameter has ranking of 1 to 5. I want to send a report based on the ranking combinations received. For practical visualization, say I want to provide recommendation of supplements to consume eg. parameter 1 is energy level , parameter 2 is weight relative to standard, 3..... these are just fictious ideas. the goal is to give a recommendation of products to consume . so a comparison table of sorts or trigger to determine the match and then trigger customized report for each combination by sending email with particular pdf or word document. Please comment if you can suggest the steps to do this or part of this. Thank you very much