Salesforce Useful Workflow Rules
Salesforce Useful Workflow Rules
Description Email a reminder to the renewal manager 20 days before a contract’s end date.
Evaluation Criteria Evaluate the rule when a record is: created, and any time it’s
edited to subsequently meet criteria.
Rule Criteria (Filter) Run this rule if the following criteria is met.
(Contract: Status equals Activated)
Time-Dependent 20 Days Before Contract: End Date—Email Alert: Email a reminder to the
Actions renewal manager to confirm whether the client wants an extension.
Object Case
Description If the customer has a platinum contract agreement, email a feedback request to
the case contact 7 days after a high-priority case has been closed.
Evaluation Criteria Evaluate the rule when a record is: created, and any time it’s
edited to subsequently meet criteria.
Rule Criteria (Filter) Run this rule if the following criteria are met.
(Case: Priority equals High) and
(Case: Closed equals True) and
(Case: Contract Type equals Platinum)
Object Opportunity
Description Assign the Accounts Receivable (AR) department a task to check the credit of a
potential customer 15 days before the opportunity close date if the amount is
greater than $50,000.
Evaluation Criteria Evaluate the rule when a record is: created, and any time it’s
edited to subsequently meet criteria.
2
Examples of Workflow Rules Workflow Rule Examples
Rule Criteria (Filter) Run this rule if the following criteria are met.
(Opportunity: Amount greater than 50000) and
(Opportunity: Closed equals False) and
(Opportunity: New Customer equals True)
Time-Dependent 15 Days Before Opportunity: Close Date—Task: Create a task for users in the
Actions Accounts Receivable role to run a credit check.
Object Case
Description Notify the account owner when a high-priority case is created for accounts with
a platinum SLA.
Rule Criteria (Filter) Run this rule if the following criteria are met.
(Case: Priority equals High) and
(Account: SLA equals Platinum)
Immediate Actions Email Alert: Email the details of the high-priority case to the account
owner.
Time-Dependent None
Actions
Object Case
Rule Criteria (Filter) Run this rule if the following criteria is met.
(Case: Status not equal to Closed)
3
Examples of Workflow Rules Workflow Rule Examples
Immediate Actions Flow Trigger: Look up and assign the relevant entitlement to the case.
Pass the account, asset, or contact associated with the new case into the relevant
flow variable to enable the entitlement lookup. Pass the case ID into the relevant
flow variable to enable the case update.
Time-Dependent None.
Actions
Description Update the Shipment Status field to Delayed if a shipment has exceeded
the expected delivery date and hasn’t reached the customer.
Evaluation Criteria Evaluate the rule when a record is: created, and any time it’s
edited to subsequently meet criteria.
Rule Criteria (Filter) Run this rule if the following criteria is met.
(Shipment: Status not equal to Delivered)
Description Make sure that each new user is active so that the user can log in to Salesforce.
Rule Criteria (Filter) Run this rule if the following criteria is met.
(User: Active equals False)
Time-Dependent None.
Actions
4
Examples of Workflow Rules Workflow Rule Examples
Object Case
Rule Criteria (Filter) Run this rule if the following criteria are met.
AND(Account.AnnualRevenue > 500000,
Account.NumberOfEmployees > 5000)
Immediate Actions Email Alert: Notify VP about cases for large accounts.
Time-Dependent None
Actions
Object Opportunity
Evaluation Criteria Evaluate the rule when a record is: created, and every time it’s
edited.
Rule Criteria (Filter) Run this rule if the following criteria is met.
NOT(CONTAINS( Name, Account.Name ))
Immediate Actions Field Update: Set opportunity name to the following formula.
Account.Name & ": " & Name
Time-Dependent None
Actions
Object Case
5
Examples of Workflow Rules Workflow Rule Examples
Description Set the case target resolution date for accounts that have basic support level to
30 days from today.
Rule Criteria (Filter) Run this rule if the following formula is true.
ISPICKVAL(Account.Support_Level__c , "Basic")
Immediate Actions Field Update: Set the Target Resolution Date to Today() + 30.
Time-Dependent None
Actions
Object Case
Description Set the case target resolution date for accounts that have standard support level
to 14 days from today.
Rule Criteria (Filter) Run this rule if the following formula is true.
ISPICKVAL(Account.Support_Level__c , "Standard")
Immediate Actions Field Update: Set the Target Resolution Date to Today() + 14.
Time-Dependent None
Actions
Object Case
Description Set the case target resolution date for accounts that have premium support level
to 5 days from today.
Rule Criteria (Filter) Run this rule if the following formula is true.
ISPICKVAL(Account.Support_Level__c , "Premium")
Immediate Actions Field Update: Set the Target Resolution Date to Today() + 5.
Time-Dependent None
Actions
6
Examples of Workflow Rules Workflow Rule Examples
Object Candidate
Description Change the Application Status field to Closed for the custom
Application object when the Candidate Status field for the custom
Candidate object changes to Accepted.
Evaluation Criteria Evaluate the rule when a record is: created, and any time it’s
edited to subsequently meet criteria.
Rule Criteria (Filter) Run this rule if the following criteria is met.
(Candidate: Status equals Accepted)
Immediate Actions Field Update: Change the Application Status field to Closed
on parent Application record.
Time-Dependent None
Actions
Note: For information on record types, see Tailor Business Processes to Different Users.
Object Opportunity
Evaluation Criteria Evaluate the rule when a record is: created, and every time it’s
edited.
Rule Criteria (Filter) Run this rule if the following criteria are met.
(Opportunity: Closed equals True) and
(Opportunity: Stage equals Closed Won)
Immediate Actions Field Update: Set the record type to Closed Opportunities.
Time-Dependent None
Actions
7
Examples of Workflow Rules Workflow Rule Examples
Description Override the default close date from the close of the quarter to 6 months after
the opportunity is created.
Rule Criteria (Filter) Run this rule if the following criteria is met.
(Opportunity: Closed equals False)
Immediate Actions Field Update: Use the following formula to set the opportunity close date
to 6 months after the creation date.
DATE( YEAR(TODAY()) , (MONTH(TODAY()) + 6),
DAY(TODAY()))
Time-Dependent None
Actions
Description Notify the VP of sales when a deal is lost if the stage was Proposal/Price Quote
and the amount was greater than $1 million.
Evaluation Criteria Evaluate the rule when a record is: created, and every time it’s
edited.
Rule Criteria (Filter) Run this rule if the following formula is true.
AND( ISCHANGED(StageName),
ISPICKVAL(PRIORVALUE(StageName) , "Proposal/Price
Quote"), ISPICKVAL(StageName,"Closed Lost"), (Amount
>1000000))
Immediate Actions Email Alert: Notify the VP of sales role that the deal was lost.
Time-Dependent None
Actions
Object Lead
8
Examples of Workflow Rules Workflow Rule Examples
Description Ensure that unassigned leads are tracked in a timely manner by notifying the
manager if a lead is not accepted in 2 days.
Evaluation Criteria Evaluate the rule when a record is: created, and any time it’s
edited to subsequently meet criteria.
Rule Criteria (Filter) Run this rule if the following criteria is met.
Lead Owner equals Unassigned Lead Queue
Time-Dependent 2 Days After Lead: Last Modified Date—Email Alert: Notify the manager
Actions role that the queue has unassigned leads that are older than 2 days.
Description Ensure that an email alert is sent if a sales rep applies a quote line item discount
that exceeds 40%.
Evaluation Criteria Evaluate the rule when a record is: created, and any time it’s
edited to subsequently meet criteria.
Rule Criteria (Filter) Run this rule if the following criteria is met.
Quote Line Item: Discount is greater than 40
Immediate Actions Email Alert: Notify the manager role that the quote line item discount
exceeds 40%.
Time-Dependent None
Actions
Description Notify key people in the sales department when the owner of an account changes
if the account’s annual revenue is greater than $1 million.
Evaluation Criteria Evaluate the rule when a record is: created, and every time it’s
edited.
Rule Criteria (Filter) Run this rule if the following formula is true.
AND( ISCHANGED(OwnerId), AnnualRevenue > 1000000 )
Immediate Actions Email Alert: Notify the person in the sales operations role of the change
in account ownership.
9
Examples of Workflow Rules Workflow Rule Examples
Time-Dependent None
Actions
Object Contact
Description Send an email to the contact 2 days before the contact’s birthday.
Rule Criteria (Filter) Run this rule if the following formula is true.
(Contact: Birthdate not equal to null) and
(Contact: Email not equal to null)
Description Remind the opportunity owner and senior management when the close date is
approaching for an opportunity that has an amount greater than $100,000. Create
a follow-up task for the opportunity owner if the deal is still open when the close
date passes.
Evaluation Criteria Evaluate the rule when a record is: created, and any time it’s
edited to subsequently meet criteria.
Rule Criteria (Filter) Run this rule if the following criteria are met.
(Opportunity: Amount greater than 100000) and
(Opportunity: Closed equals False)
10
Examples of Workflow Rules Workflow Rule Examples
Description Notify the account owner when someone else updates the account if the
account’s annual revenue is greater than $1 million.
Evaluation Criteria Evaluate the rule when a record is: created, and every time it’s
edited.
Rule Criteria (Filter) Run this rule if the following formula is true.
AND( (LastModifiedById <> OwnerId), (AnnualRevenue >
1000000) )
Immediate Actions Email Alert: Notify the account owner that someone else has updated
the account.
Time-Dependent None
Actions
11