function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
HarshadaHarshada 

how can I add ConvertedAccountID in hyperlink in email template with referring "Click here" label? so that on clicking "click here " I will get redirect to Account page

ANUTEJANUTEJ (Salesforce Developers) 
Hi Harshada,

I am considering you are using a trigger to fire the email in this scenario you can fire thetrigger with after insert so that you can get the ids which you can use in the templates.

I hope this helped in addressing your query, if so can you please choose this as the best answer.

Regards,
Anutej
HarshadaHarshada
Thanks, Anutej. But I'm using a Process builder for an email alert.
ANUTEJANUTEJ (Salesforce Developers) 
Hi Harshada,

I found this link which are stated below which I think mightbe useful for your scenario,
>> https://automationchampion.com/tag/welcome-email-to-new-users-in-salesforce/
>> https://jenwlee.com/2016/07/05/standard-email-message-object-process-builderflow-use-case-create-task-when-follow-up-email-sent/

I hope this helps.

Regards,
Anutej
HarshadaHarshada

I am trying this way. Putting below format in the email template, but it is not redirecting to the account page.

Click <a href="https://test.salesforce.com/lightning/r/Lead/{!Lead.ConvertedAccountId}/view"> here </a> to review the record in Salesforce.