Any recommendations for how event based customer f...
# general
n
Any recommendations for how event based customer facing emails should be managed? (Integration, etc) We have built a complex web of worklflows, and it is becoming increasingly irrelevant/difficult to maintain as we expand our business. Emails share info like your order is in production, your order has shipped, etc.
r
We are using one userevent script for email notification and Depending on the use case we add the necessary conditions in it. We are keeping one library file to maintain the list of scripts and use case of each mail By creating a JSON Format. It is created such that it takes the script I'd and then we have mail Name, number. And all the details like author, recipient, cc, bcc, etc. And mentioning the use case of each script along with mail name/number in the library file. Anytime we have to add someone in the recipient list or cc list we just have to touch the library file and not edit the script itself. For dynamic recipient author their is no issue. That will be handled by your workflows or your script. But for all the emails where one needs to hard coded the author, recipient, cc, bcc, etc. Maintaining one litbabry file for all the script becomes easier.