This article will help you use Salesforce to send your sales team email notifications about important opportunities to engage with your leads.
Example:
What follows are step-by-step instructions on how to set up Salesforce so that it sends your SDR/BDM/Account Executives an email when an important signup to welcome, a trial ready to convert, or a customer ready for an upsell.
Setting up email notifications
Let’s start by creating email templates
In Salesforce, go to “Setup”, then search for “Email templates”.
Click "Classic Email Templates", then "New Template".
Let’s pick “Custom” as the type of email template.
Now, let’s get fancy and write a nice and actionable email using merge fields.
Here are 3 templates you can reuse and adapt.
Email template 1: New qualified lead
The template below will create an email notification like this one:
Subject:
New qualified lead: {!Lead.Email}{!IF(Lead.mk_job_title__c!="", ", " + Lead.mk_job_title__c,"")}{!IF(Lead.mk_company_name__c != ""," at " + Lead.mk_company_name__c,"")}
Body (HTML version):
{!Lead.OwnerFirstName}, here is some information about this new lead!
Company {!IF(Lead.Company != "", Lead.Company, Lead.mk_company_name__c)} Name {!IF(Lead.FirstName != "", Lead.FirstName + " ", "") + Lead.LastName} Title {!IF(Lead.Title != "", Lead.Title, Lead.mk_job_title__c)} LinkedIn See profile Email {!Lead.Email} Phone {!Lead.Phone} Website {!Lead.Website} Lead source {!Lead.LeadSource} Number of employees {!Lead.NumberOfEmployees} Industry {!Lead.Industry} Last Activity {!Lead.LastActivityDate}
Go to Salesforce lead profile
Body (text version):
{!Lead.OwnerFirstName}, here is some information about this new lead!
Salesforce lead profile: {!Lead.Link}
Company: {!IF(Lead.Company != "", Lead.Company, Lead.mk_company_name__c)}
Name: {!IF(Lead.FirstName != "", Lead.FirstName + " ", "") + Lead.LastName}
Title: {!IF(Lead.Title != "", Lead.Title, Lead.mk_job_title__c)}
LinkedIn: {!Lead.mk_linkedin_url__c}
Email: {!Lead.Email}
Phone: {!Lead.Phone}
Website: {!Lead.Website}
Lead source: {!Lead.LeadSource}
Number of employees: {!Lead.NumberOfEmployees}
Industry: {!Lead.Industry}
Last Activity: {!Lead.LastActivityDate}
Email template 2: A lead is ready to buy
The template below will create an email notification like this one:
Subject:
Ready to buy: {!Lead.Email}{!IF(Lead.mk_job_title__c!="", ", " + Lead.mk_job_title__c,"")}{!IF(Lead.mk_company_name__c != ""," at " + Lead.mk_company_name__c,"")}
Body (HTML version):
{!Lead.OwnerFirstName}, this company has been identified as likely to buy based on their actions (product usage, number of active users, etc.). Might be a good time to check in!
Lead info
Company {!IF(Lead.Company != "", Lead.Company, Lead.mk_company_name__c)} Name {!IF(Lead.FirstName != "", Lead.FirstName + " ", "") + Lead.LastName} Title {!IF(Lead.Title != "", Lead.Title, Lead.mk_job_title__c)} LinkedIn See profile Email {!Lead.Email} Phone {!Lead.Phone} Website {!Lead.Website} Number of employees {!Lead.NumberOfEmployees} Industry {!Lead.Industry} Last CRM Activity {!Lead.LastActivityDate} In-app behavior Account: number of active app users $REPLACE THIS WITH THE CORRESPONDING LEAD PROPERTY$ Lead: last login date $REPLACE THIS WITH THE CORRESPONDING LEAD PROPERTY$ Lead: number of sessions in last 7 days $REPLACE THIS WITH THE CORRESPONDING LEAD PROPERTY$ Lead: number of reports created in the app $REPLACE THIS WITH THE CORRESPONDING LEAD PROPERTY$
Go to Salesforce lead profile
Body (text version):
{!Lead.OwnerFirstName}, here is some information about this new lead!
Salesforce lead profile: {!Lead.Link}
Lead info
====================
Company: {!IF(Lead.Company != "", Lead.Company, Lead.mk_company_name__c)}
Name: {!IF(Lead.FirstName != "", Lead.FirstName + " ", "") + Lead.LastName}
Title: {!IF(Lead.Title != "", Lead.Title, Lead.mk_job_title__c)}
LinkedIn: {!Lead.mk_linkedin_url__c}
Email: {!Lead.Email}
Phone: {!Lead.Phone}
Website: {!Lead.Website}
Number of employees: {!Lead.NumberOfEmployees}
Industry: {!Lead.Industry}
Last Activity: {!Lead.LastActivityDate}
In app behavior
====================
Account - number of active app users: $REPLACE THIS WITH THE CORRESPONDING LEAD PROPERTY$ </td>
Lead - last login date: $REPLACE THIS WITH THE CORRESPONDING LEAD PROPERTY$ </td>
Lead - number of sessions in last 7 days: $REPLACE THIS WITH THE CORRESPONDING LEAD PROPERTY$ </td>
Lead - number of reports created in the app: $REPLACE THIS WITH THE CORRESPONDING LEAD PROPERTY$ </td>
Now let’s create the workflow rules that will trigger those email notifications
Still in Salesforce's Setup menu, search for "Workflow Rules".
Choose “Lead” as the Salesforce object to which the workflow rule applies (or it might be “Contact” depending on how your Salesforce lead management process).
Set up the proper workflow rules to trigger the emails we created earlier.
Here are some rule templates for the standard MadKudu use cases. Feel free to add some extra logic that could be specific to your business (eg. never trigger a “new qualified lead” notification if the lead is coming from a country you don’t do business with).
Rule template: New qualified lead
New qualified lead rule
Rule description:
Send an email notification to the lead owner when a new qualified lead is created.
Rule logic:
Important: don’t forget to implement the rule that says Lead: number of days since lead creation <= 2
. This rules prevents Salesforce from sending email notifications for old qualified leads when you set those alerts up for the first time, or in the situation where the customer fit model changes and updates older leads. Don’t have a “number of days since lead creation field” or wondering how to create one? Please check the FAQ section for more information!
Rule template: Ready to buy
New qualified lead rule
Rule description:
Send an email notification to the lead owner when a new qualified lead is created.
Rule logic:
Set up notifications
Last, create a workflow action to send email notifications
Click “Add Workflow Action”, then “New Email Alert”.
Choose the email template created earlier, select “account owner” as the selected recipient, and save.
Last step: don’t forget to click on “activate” to turn on this email notification.
You’re all set!
F.A.Q.
How do I create a “Number of days since lead creation” field?
In Salesforce, go to “Setup”, then search for "Object manager".
Click on "Lead".
Click the "Fields & Relationships" section, and then "New".
Choose “Formula” as the field type for this new field. Then enter a name and use the following formula:
Round(( NOW() - CreatedDate ),0)
Last, pick the right permissions and save.