Allow conditional statemements in email template in Lightning - Ideas - Salesforce Trailblazer Community
Trailblazer Community

All Ideas

Idea Details

Post an Idea
3,740  Points
Idea has been posted. Give it an upvote or downvote.

Allow conditional statemements in email template in Lightning

Email & Email Templates

Please allow the option to include a conditional statement in an email template in Lightning, as is currently available and possible in Classic.

For example, we have a Classic Email Template with a condition to only include a certain text along with a merge field if that merge field has a value. While we can continue to use this classic email template, we cannot currently migrate this template to Lightning to take advantage of the new enhanced email template folder management. The only alternative would be the option to apply email templates based on a formula, as a new functionality overall. But that will then require to create multiple email templates.

It's much easier to administer 1 email template with a formula / conditional statement included than multiple templates, when the only difference is one line. 

Merge Idea · Flag

  • Upvotes
  • Downvotes



from AppExchange


No results found.

Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.



Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.

Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.


Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.