Open sgoEma opened 2 years ago
SP: 5
Issue: We need an email template to send, and send the email to the attendee when event registration record is created.(automatically)
Solution 1
Create email template(classic or lightning ) Create “Email Alert“ workflow action Create Workflow rule or Flow (or update existing one)
Solution 2 Create “send email” action (email created in action) “After Insert Event Registration” flow Add this action to flow
Solution 3 Create email and customize with Apex Class Trigger this class with after insert trigger (Event Registration Object)
@t-gul thanks for your solution design and analysis. Can you please describe which email template type you need to use? In addition to that, what is the difference between lightning and classic templates?
Thanks!
@sgoEma Thanks for yor question. The answer is like that:
Classic Email Templates use Salesforce Merge Language , Classic Letterhead Only
Lightning Email Templates use Handlebars Merge Language(more flexible), Enhanced Letterhead Only ( include rich text, merge fields, images, links, and other styling extras for the header and footer )
@sgoEma what about the email template types? Which one are you planning to use?
@sgoEma I ‘m planning to use Lightning Email Template, it works only HTML template type (Classic Email Templates work with Text, HTML, Visualforce )
@t-gul ok. Before starting, please also consider deployment for both lightning and classic email templates. There can be some difficulties. Thanks!
When an event registration is created, we want to send automated emails to the attendee.
Email:
Hi {contact first/last name}
You have successfully registered to the {Event Name} that takes place between {event start date} and {event end date}
Regards, { user first / last name}