Loading...

We know the importance of good email signatures as they reflect your professionalism to the readers and also helps them with the correct information they need to contact you. This is why we have come up with a perfect solution that allows you to create dynamic user signatures for email templates in Salesforce.

Now you can create perfect email signatures for all users that have different fields in Salesforce. The email signature may include name, email, and other contact information.

This would automatically allow the user sending the email to have his very own dynamic signature attached to the template. Wasn’t that great? We bet you would like to get the code for this one! So, let’s just jump into the code for this thoughtful solution.

Steps

  1. To begin with, go to Quick Find search > Classic Email Templates.

create dynamic user signature in Salesforce

2. On the right of the screen, you’ll probably see a bunch of email templates that come “out of the box” and are in a folder called “Unfiled Public Email Templates.” To keep things tidy, let’s create a new folder for our HTML emails by clicking the “Create New Folder” link in the screenshot below.

create dynamic user signature in Salesforce

3. On the next screen, you need to give your folder a name, make sure it’s available to all users, and click “Save.”

create dynamic user signature in Salesforce

4. Now that we’re in our new folder, let’s click the “New Template” button.

create dynamic user signature in Salesforce

5. Here, in Step 1, select the radio button option for “Text” and click “Next.”

create dynamic user signature in Salesforce

6. In Step 2, we can edit the Subject line and the body (content) of our email template.

create dynamic user signature in Salesforce

7. Now, personalize the email by merging the First Name and Last Name of the Contact. To do that, in the “Available Merge Fields” box, select the Contact object from the far left picklist labeled “Select Field Type.” Once you do that, notice the middle picklist box labeled “Select Fields” reflects the native and custom fields available from the Contact object. I’ll select the “First Name”, “Last Name”, “User Name”, “User Title”, “User Phone” and “User Email” fields (by clicking it), which in turn displays the {!Contact.FirstName}, {!Contact.LastName}, {!User.Name}, {!User.Title}, {!User.Phone} and {!User.Email} in the “Copy Merge Field Value” box. To get this merge field into our Text email, copy {!Contact.FirstName}, {!Contact.LastName}, {!User.Name}, {!User.Title} }, {!User.Phone} and {!User.Email} from the “Copy Merge Field Value” box and paste it into the body of our email as pictured below.

create dynamic user signature in Salesforce

  • 8. And click on the “Save” button to save the Email Template.
  • 9. Now, test your new template. From a Contact record, click the “Email” button from the Activity list.

create dynamic user signature in Salesforce

10. From the email screen, click the “Insert, create, or update template” button and choose your new email template.

And click on the Send button to send an email.

create dynamic user signature in Salesforce

11. Our new Email template loads, and the mail merges in our Contact’s first name and last name along with the sending User’s information.

Conclusion

We hope that you found this blog interesting. If you try out this solution for your business, then do share your valuable feedback with us. We would love to hear from you.

Stay tight with us to know about the latest developments in the Salesforce ecosystem. Do follow us on our social media handles and subscribe to our weekly newsletter for your dose of Salesforce updates. We will be back with another solution soon to make your Salesforce experience a lot better! Till then, happy learning! 🙂

Share This Blog
Table of contents
Related Articles

Sticky notes aren’t just for your desk anymore! In this tutorial, we’ll create a Lightning Web Component (LWC) in Salesforce that allows you to pin notes on your app page or record page. With a clean, interactive UI, these digital sticky notes ensure you never forget important tasks or details. What Will You Learn? By […]

Read More
How to Create Dynamic, Animated Charts in Salesforce LWC using Chart.js

Bring Salesforce data to life with dynamic charts inside Lightning pages! While Salesforce dashboards are powerful, sometimes business users want visual insights without leaving their current page. That’s where Chart.js with Lightning Web Components (LWC) becomes a game-changer. In this step-by-step guide, you’ll learn how to: Upload Chart.js as a static resource in Salesforce. Build […]

Read More
How to Encrypt and Decrypt Data in Salesforce Using Apex Crypto Class

Data security is more important than ever. Whether you’re storing customer information, sensitive business data, or private communication, ensuring that your data stays safe is critical. Salesforce provides built-in tools to help with this, and one of the most powerful yet easy-to-use approaches is encryption and decryption using the Apex Crypto class. In this blog, […]

Read More
Benefits & Step-by-Step Setup Guide for Salesforce Code Analyzer

When building on the Salesforce platform, code quality and security are non-negotiable, especially before submitting your app for a Salesforce Security Review. Catching bugs and vulnerabilities early not only saves time but also ensures compliance with Salesforce’s best practices. That’s where the Salesforce Code Analyzer comes in. This open-source tool scans your Apex classes, triggers, […]

Read More
A Step-by-Step Guide to Integrate Zoho CRM with Salesforce (Without Coding)

Managing data across multiple CRMs can be a real challenge for businesses that want a single source of truth. If your teams use Zoho CRM but want to move or sync all records seamlessly into Salesforce, you don’t need to write a single line of code. Thanks to MultiSync Made Easy, the integration process is […]

Read More
How to Integrate Salesforce with Copilot

Integrating Salesforce with Copilot is becoming an essential step for organizations aiming to streamline workflows, automate client data management, and unlock the power of AI-driven CRM. By connecting these two platforms, businesses can centralize customer information, reduce manual tasks, and accelerate growth. This guide walks you through the Salesforce–Copilot integration process with clear steps, Apex […]

Read More