Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
6 years, 1 month ago
I have a junction object which holds multiple accounts, whenever a contact is created on one of the accounts I send an email to the primary contact of the related account. I'm using flow to achieve this, however when I call the email alert from the flow I'm only able to pass the contact id(single parameter) of the related account and send the email but with in the email template how do I show the information of the contact that was inserted?
Apr 27, 2017 at 17:29
1,566 2 2 gold badges 24 24 silver badges 47 47 bronze badges
There are 2 approaches:
I think you have created email template based on your junction object. you could create visualforce email template which will show the contact details based on contact Id.
You can create few formula fields on Junction object for those contact attributes which you are exposing in the email. Then in the email template you can refer the formula field.
I would suggest to go for approach 2 in case if you have few contact attributes and this is pure configuration.
Apr 27, 2017 at 17:38
Santanu Boral Santanu Boral
35.7k 8 8 gold badges 39 39 silver badges 70 70 bronze badges
log in to answer this question.
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only