I am creating a series of blog posts that collectively are designed to help anyone preparing for the Microsoft Dynamics 365 Customer Engagement Core exam. (aka MB-200) In this post I will look at concepts around email templates.
You can see below that we have a section of the exam which covers the user experience. Within this section needing to know how to create email templates is referenced.
Email templates allow us to quickly create standardised messages. These are often used for common messages including welcome messages, order confirmations, thank you messages etc. The messages can be personalised automatically by “injecting” dynamic data. Additionally email engagement now allows us to identify the “best” templates based on reply rates, open rates and count of sends.
Out of the box we have a number of email templates that can be leveraged, additionally users and developers can also create templates. (I will describe that process in a second!) First, let’s look at how to create an email from a template.
Below you can see that I have created an email and made it “to” a contact and “regarding” an opportunity. Next I have selected the “INSERT TEMPLATE” option from the ribbon bar. Or you can use the insert template icon in the common bar on the email body.
In my example I have deliberately set the “to” and “regarding” fields to different entities. This has been to show that the system will prompt me to ask which entity to use for locating possible templates. Some templates can be global to all entities but some will contain dynamic content associated with a specific entity type.
Having selected my entity a second dialog shows to allow me to search and select a template.
Tip: I found it useful to use the “change view” option to help me find the correct email templates!
Below you can see the resulting email. Notice that the email subject and description has been pre-populated for me.
Attachments can also be automatically added to an email using this process. (Although the email must be saved prior to selecting a template that includes attachments.) I have found this feature really useful for creating “welcome” emails, when I might want to always attach a set of my terms of conditions and other information useful to new customers.
If you try to apply a template that does contain attachments and the email hasn’t been saved you will receive a warning error message. (Shown below.)
Incidentally, it is also possible to define an email signature in Dynamics 365. If you have a default signature and create an email …. Adding the template will insert the template prior to the signature. Meaning both concepts can be used in tandem.
Out of the Box Templates
Out of the box Dynamics 365 includes many templates. In the advanced settings area of Dynamics 365 you will find a templates option. And within this you can access the “Email Templates” option.
Within this area you can see all of the system templates. The template type shows the entity which applies to each template. Also notice that the reply rate, open rate and sent count are shown in this view.
I won’t cover the actual maintenance of email templates in great detail. (It is best for you to simple create some test templates to learn this!)
But you should be aware that system customizers and administrators can create and amend system wide email templates. These templates can be made part of a Dynamics 365 solution and can therefore be migrated from one environment to another. (Say from your development sandbox into production.)
You can see below that within “make.powerapps.com” I can use the “new” option to add email templates into my solution.
When creating a new template you will be prompted to confirm if it should be globally available or applied to a specific entity.
Once you have selected an entity it is possible to use the “Insert/Update” option to add any field from that entity into the template. This is how developers can add personalised / dynamic content into the email template.
You can also pick fields from the system user record of the person creating the email and also any entity directly related to the parent entity the email is based on.
Creating Templates (Personal)
In almost exactly the same way as developers, users can add their own personal templates. Using the “Personal Options Cog” icon, each user can access their personal options. Within this area they have an email templates tab which allows then to create personal templates. These personal templates then show alongside the out of the box system templates and any additional ones your administrators may have created.
You may need to be aware that the system administrator can enable / restrict individual users from creating personal email templates. (I can think of circumstances when the management might want to restrict some users from creating their own templates!)
Hopefully in this quick post I have given you a good overview of the capabilities of email templates. As always I encourage you to include plenty of hands on time in your exam preparation, don’t just reply on theory. Create some actual templates and test out how they behave. Enjoy.