{"id":6345,"date":"2021-10-06T08:02:51","date_gmt":"2021-10-06T08:02:51","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/salesforce\/?p=6345"},"modified":"2024-09-04T06:06:25","modified_gmt":"2024-09-04T06:06:25","slug":"how-to-use-email-template-in-standard-salesforce-flow","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/salesforce\/2021\/10\/06\/how-to-use-email-template-in-standard-salesforce-flow\/","title":{"rendered":"How to use Email Template in Standard Salesforce Flow"},"content":{"rendered":"\n<p>In this blog, we will discuss how to use an Email Template in Standard Salesforce Flow, you need to go through two steps which are as follows.<\/p>\n\n\n\n<h1 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color wp-elements-62d7650d1c16fcba5a76d1ad5a2152c0\"><strong>Create Email Template<\/strong><\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Firstly go to Setup-&gt; search <strong>template<\/strong> -&gt; choose <strong>Classic Email Templates<\/strong>-&gt; click on <strong>New Template<\/strong> button.<\/li>\n\n\n\n<li>After that, select <strong>Text<\/strong> option for \u2018type of email template\u2019.<\/li>\n\n\n\n<li>Enter template name, keep the other defaults. For this example, we use <strong>Test Email<\/strong>.<\/li>\n\n\n\n<li>Next, enter the Email Subject text.<\/li>\n\n\n\n<li>Choose Recipient Type Object; for this example, we choose Contact object.<\/li>\n\n\n\n<li>Similarly, choose <strong>Related To Type<\/strong> as Account object for this example.<\/li>\n\n\n\n<li>Finally, click the <strong>Save<\/strong> button.<\/li>\n\n\n\n<li>Choose the <strong>Edit Template<\/strong> button to change the content of the email body. We could use the merge fields in the content and subject<\/li>\n<\/ul>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2021\/10\/1-Email-Template.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2021\/10\/1-Email-Template.jpg\" alt=\"Email-Template\"><\/a><\/center>\n<font size=\"2\"><center><i>Email-Template<\/i><\/center><\/font>\n\n\n\n<p>After creating an \u201cEmail Template\u201d, we can use it to create an Email Alert to use it in the flow.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color wp-elements-7c910be7e5e809414903ca4a4591b9da\"><strong>Create Email Alert <\/strong><\/h2>\n\n\n\n<p><em>We will be using the Email Template created above in this email alert.<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Firstly, go to Setup -&gt; Search Email Alert -&gt;Choose Email Alert -&gt; Click new Email Alert.<\/li>\n\n\n\n<li>Enter Description, Unique Name as you wanted for Example <strong>Test Email Alert.<\/strong><\/li>\n\n\n\n<li>Choose Object for Example Contact, note: -It is an object you use in the body of the Email Template.<\/li>\n\n\n\n<li>You can select the template which is you have created above, for example, <strong>Test Email<\/strong>.<\/li>\n\n\n\n<li>Now, Select the Recipient Email. You can use Contact Email, User, or whichever you want; you can select multiple email id and pass five additional emails.<\/li>\n\n\n\n<li>Finally, click on Save Button.<\/li>\n<\/ul>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2021\/10\/2-Email-Alert.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2021\/10\/2-Email-Alert.jpg\" alt=\"Email-Alert\"><\/a><\/center>\n<font size=\"2\"><center><i>Email-Alert<\/i><\/center><\/font>\n\n\n\n<h2 class=\"wp-block-heading has-vivid-red-color has-text-color has-link-color wp-elements-1f7c519099dc16afcd062ac919d63f39\"><strong>Using the Email Alert in the Action In flow<\/strong><\/h2>\n\n\n\n<p>After the above step, we can now Include the Email Alert in the Action in Salesforce Flow, and the steps for that are mentioned below.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Firstly, Go to Setup -&gt; Search <strong>Flow<\/strong>-&gt;Choose Flows -&gt; Click N<strong>ew Flow<\/strong>.<\/li>\n\n\n\n<li>Secondly, choose the Type of flow you want to create; you can use any flow here as per your requirement. <a rel=\"noreferrer noopener\" href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2021\/08\/16\/clone-record-of-any-object-using-flows-in-salesforce\/\" target=\"_blank\">Click here.<\/a>.. for a better idea of How to create flow.<\/li>\n\n\n\n<li>Now to Include Email In the flow, Click on the Plus sign and Select Action.<\/li>\n\n\n\n<li>Search for the email alert you have created, give label and API name, and provide object id.<\/li>\n<\/ul>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2021\/10\/3-new-action.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2021\/10\/3-new-action.jpg\" alt=\"New-Action\"><\/a><\/center>\n<font size=\"2\"><center><i>New-Action<\/i><\/center><\/font>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Now, Click on Done.<\/li>\n<\/ul>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2021\/10\/4-Flow.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2021\/10\/4-Flow.jpg\" alt=\"Salesforce Flow\"><\/a><\/center>\n<font size=\"2\"><center><i>Salesforce Flow<\/i><\/center><\/font>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p>Note:- Make sure to set Deliverability to All Mail<br>Using the details above you are able to create an email template and are able to use it in the flow<br>We hope you may find this blog resourceful and helpful. If you still have concerns and need more help, don\u2019t hesitate to get in touch with us at\u00a0salesforce@greytrix.com.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"has-vivid-red-color has-text-color has-link-color wp-elements-3c6efaf45e892ee6e33d35002cf0c846\"><strong>Note:-<\/strong><\/p>\n\n\n\n<p>Make sure to set Deliverability to All Mail<br>Using the details above you are able to create an email template and are able to use it in the flow<br>We hope you may find this blog resourceful and helpful. If you still have concerns and need more help, don\u2019t hesitate to get in touch with us at\u00a0<a href=\"mailto:salesforce@greytrix.com\">salesforce@greytrix.com<\/a>.<\/p>\n<\/blockquote>\n<\/div><\/div>\n\n\n\n<p style=\"text-align: justify\"><b>About Us<\/b><\/br>\n<p><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a> \u2013 a globally recognized and one of the oldest Sage Development Partner and a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners and Sage PSG across the globe. We offer Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that require apex code incorporation into the Salesforce platform.<br><br> Greytrix has some unique solutions for Cloud CRM such as <a href=\"\">Salesforce Sage integration<\/a> for <a href=\"https:\/\/www.greytrix.com\/sage-x3-erp\/integration\/\">Sage X3<\/a>, <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/sage-100-integration\/\">Sage 100<\/a> and <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/sage-300-integration\/\">Sage 300 (Sage Accpac)<\/a>. We also offer best-in-class Cloud CRM <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/crm-development\/\">Salesforce customization and development services<\/a> along with services such as Salesforce <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/data-migration-support\/\">Data Migration<\/a>, <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/crm-development\/\">Integrated App development<\/a>, Custom App development and Technical Support business partners and end users. Salesforce Cloud CRM integration offered by Greytrix works with Lightning web components and supports standard opportunity workflow. Greytrix GUMU&#x2122; integration for Sage ERP \u2013 Salesforce is a 5-star rated app listed on <a href=\"https:\/\/appexchange.salesforce.com\/appxListingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noopener\">Salesforce AppExchange<\/a>.<br> The GUMU&#x2122; Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for processing and execution of application programs at the click of a button.<br><br> For more information on our Salesforce products and services, contact us at <a href=\"mailto:salesforce@greytrix.com\">salesforce@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n\n\n\n<p><strong>Related Posts<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2021\/09\/24\/the-track-decorator-is-no-longer-required-for-lightning-web-component-but-with-one-exception\/\" data-type=\"URL\" data-id=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2021\/09\/24\/the-track-decorator-is-no-longer-required-for-lightning-web-component-but-with-one-exception\/\" target=\"_blank\">The @track Decorator Is No Longer Required for Lightning Web Component but with one Exception<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2021\/09\/22\/how-to-use-email-template-in-apex-code\/\" target=\"_blank\" data-type=\"URL\" data-id=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2021\/09\/22\/how-to-use-email-template-in-apex-code\/\">How to Use Email Template in Apex Code<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2021\/08\/16\/clone-record-of-any-object-using-flows-in-salesforce\/\" target=\"_blank\">Clone Record of Any Object using Flows in Salesforce<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2021\/08\/14\/how-to-avoid-null-pointer-exception-by-using-safe-navigator-operator\/\" target=\"_blank\">How to Avoid Null Pointer Exception By Using Safe Navigator Operator (?.)<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2021\/08\/17\/how-to-create-a-dynamic-multi-filter-object-in-salesforce-part-i\/\" target=\"_blank\">How to create a dynamic multi-filter object in Salesforce-Part I<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, we will discuss how to use an Email Template in Standard Salesforce Flow, you need to go through two steps which are as follows. Create Email Template Email-Template After creating an \u201cEmail Template\u201d, we can use it to create an Email Alert to use it in the flow. Create Email Alert We\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2021\/10\/06\/how-to-use-email-template-in-standard-salesforce-flow\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":9436,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[107,110,799,943,942,367,384,1208,888,798,1195,892],"class_list":["post-6345","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-salesforce-srv","tag-email","tag-email-template","tag-flow-setting-in-salesforce","tag-flows","tag-lightning-flows","tag-salesforce","tag-salesforce-auto-email","tag-salesforce-email-template","tag-salesforce-emailtemplate","tag-salesforce-flow-setting","tag-salesforce-flows","tag-send-email-via-salesforce"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/6345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/comments?post=6345"}],"version-history":[{"count":3,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/6345\/revisions"}],"predecessor-version":[{"id":9437,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/6345\/revisions\/9437"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/media\/9436"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/media?parent=6345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/categories?post=6345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/tags?post=6345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}