Showing posts with label Case Assignment Rules. Show all posts
Showing posts with label Case Assignment Rules. Show all posts

Tuesday, October 31, 2017

Automate Case Management

Learning Objectives

After completing this unit, you’ll be able to:
  • Route case ownership with queues.
  • Assign cases automatically.
  • Respond to customers automatically.
  • Escalate cases when necessary.

Introduction to Case Automation

Now that you know that a case is a customer question, lets add some magic. Imagine clicking a few buttons so that your case management processes just happen. Instead of hoping that someone forwards an important case to the right person by a specific time, you can set up those actions so that they happen automatically behind the scenes. Life gets easier for your support team, and customer service gets better, when you add a little automation.
Case automation includes a couple of tools. Let’s check out a couple of the main ones, and keep in mind that the key word for these tools is “automatically.”
QueuesAutomatically prioritize your support team’s workload by creating lists from which specific agents can jump in to solve certain types of cases.
Assignment RulesAutomatically assign incoming cases to specific agents so that the right people work on the right cases.
Auto-Response RulesAutomatically send personalized email responses to customers based on each case’s details.
Escalation RulesAutomatically escalate cases to the right people when the cases aren’t solved by a certain time.
MacrosAutomatically complete repetitive tasks on cases, such as selecting the right email templates, so that agents can spend time doing more important things.
Since you’ve seen a snapshot of some of the most popular case automation tools, let’s set some of them up. With the Service Cloud, it doesn’t take long to automate common case processes.

Create a Case Queue

Let’s say that you’ve got a team of support agents who need to manage a shared workload of cases for Platinum Support—your company’s premier support level. These cases are from customers who pay big money to get the best service. To help your agents locate and work off this list of important cases from high-priority customers, we’ll create a queue.
  1. From Setup, enter Queues in the Quick Find box, then select Queues.
  2. Click New.
  3. Type a Label and Name for the queue, such as Platinum Support.
  4. If you want the support agents included in the queue to receive an email when a new case arrives, leave Queue Email blank. Otherwise, type an email address to notify a person or persons with the email address when each new case arrives.
  5. Add Case to Selected Objects.
    A screen shot of the case queue page.
  6. Add members, including yourself, to the queue and click Save.
    Now that the queue is created, let’s check it out as if we were support agents. We can get there with a few clicks.
  7. Click the Cases tab.
  8. From the list, choose Platinum Support and click Go!
    Here’s the queue, which is empty at this time.
    A screen shot of a case queue displayed from a list view.

Add an Assignment Rule

Imagine how much time you could save your customers, and your support team, if cases were magically assigned to the right people with the right answers. With case assignment rules, magic is reality. You can automatically assign incoming cases to one person, groups of people, or even queues. But for now, let’s create an assignment rule so that any case with a contact whose title includes “Awesome Admin” is automatically assigned to you to answer.
  1. From Setup, enter Case Assignment Rules in the Quick Find box, then select Case Assignment Rules.
  2. Click New.
  3. Type, Awesome Admin Assignment, and click Save.
  4. Select the rule you just created, and next to Rule Entries, click New.
    Here’s where we add the little details that determine case assignment.
    A screen shot of an assignment rule criteria page.
  5. In Sort Order, type 1 so that the entry we add is processed first. After all, we’re dealing with awesome admins here. In the real world, you’d create one assignment rule with many different entries, which are processed in chronological order. When a case matches an entry, it’s assigned without proceeding to other entries. Won and done!
  6. For entry criteria, select “Contact: Title equals Awesome Admin.”
    One of the many useful things about case assignment rules is that you can determine how cases are assigned based on fields from records other than cases. For instance, we’re choosing case assignment based on a contact field, but we could also choose case assignment based on fields from accounts, assets, or users.
  7. Add yourself as the User assigned to the rule entry.
  8. In Email Template, click the lookup and choose a template so that you receive an email whenever a case from an awesome admin is assigned to you.
    A screen shot of assignment rule criteria with user and email template added.
  9. Click Save.
  10. Click Edit to mark the rule as Active, then click Save.
    When you activate an assignment rule, it disables any other assignment rules in your organization, so make sure that your active rule includes all of the assignment entries that your support team needs.
That’s it! Now your support team can ship out superhero capes to all of the awesome admins who contact you.

Add an Auto-Response Rule

Being a customer yourself, you probably like knowing when an email you’ve sent to a company is received. In other words, when you send an email, or post a question on a support website, you probably like receiving an email confirmation that your voice has been heard. With auto-response rules, you can make sure that your customers know that their voices are heard loud and clear. You can set up response rules so that your customers are automatically sent a personalized email when they reach out to your company. What better way to show your customers that your support team values their business?
Before we add an auto-response rule, let’s assume that we’ve already personalized an email template and uploaded it to Salesforce. For our purposes, we’ll use an out-of-the box email template because creating email templates is a lesson beyond the Service Cloud.
  1. From Setup, enter Case Auto-Response Rules in the Quick Find box, then select Case Auto-Response Rules.
  2. Click New.
  3. Type, Welcome to Support, then click Active and Save. Activating a rule deactivates any existing active rules.
  4. Select the rule you just created, and click New to add a rule entry.
    Here’s where we add a few details that determine which email template we’ll send to a customer.
    A screen shot of case auto-response criteria.
  5. In Sort Order, type 1 so that the entry we add is processed first. In the real world, you’d create one response rule with many different entries, which are processed in chronological order. When a customer issue comes in and is converted to a case, it’s assigned based on the first entry it matches.
  6. For entry criteria, select “Case: Case Origin equals email.”
    Similar to case assignment rules, you can determine the automatic response to send to a customer based on fields from records other than cases.
  7. Add a name and email address to include in the From line of the email template to send to customers.
  8. From the lookup field, pick any template to see how this works.
    A screen shot of case auto-response rule criteria with email template added.
  9. Click Save and you’re done!
Now any incoming emails from your customers receive an automatic response and confirmation from your support team.

Define When Cases Escalate

There are times when a customer case might jeopardize a big deal or an accidentally overlooked customer might decide to take their business elsewhere. With escalation rules, you can raise the visibility of those cases. Just like assignment rules and auto-response rules, you can determine criteria that automatically triggers an action on a case. The action for escalation rules is to notify or reassign a case to a specific person who can immediately answer the case and restore confidence in your brand.
Let’s define a simple escalation rule. Our rule is to escalate a case to you to answer when it’s been open longer than five hours. For now, let’s use your organization’s default business hours, which simply means that your support team is available 24-hours a day, 7 days a week. But you can change business hours in your Company Profile in Setup.
  1. From Setup, enter Escalation Rules in the Quick Find box, then select Escalation Rules.
  2. Click New.
  3. Type Silver Support, then click Active and Save. Activating a rule deactivates any existing active rules.
  4. Select the rule you just created, and click New to add a rule entry.
    Here’s where we add the details that determine when the case gets escalated.
    A screen shot of case escalation rule criteria.
  5. In Sort Order, type 1 so that the entry we add is processed first. In the real world, you’d create one escalation rule with many different entries, which are processed in chronological order. When a customer issue comes in and is converted to a case, it’s assigned based on the first entry it matches.
  6. For entry criteria, select “Case: Status equals New.”
    Similar to other rules, you can determine automatic case escalation based on fields from records other than cases.
  7. Set business hours to your organization’s default 24/7 support.
  8. Set that escalation times are based on when cases are created.
  9. Click Save, then New to add an escalation action.
  10. In Age Over, enter 5.
    Here, 5 is the number of hours at which cases escalate when they have a status of New. Remember, we want cases Closed after 5 hours. You can set up escalation actions in 30 minute increments by clicking 0 minutes and selecting 30 minutes.
    A screen shot of case escalation rule action with age over hours of 5.
  11. Auto-assign cases to you, and from Notification Templates, click the lookup icon to pick any template.
  12. Select yourself as the user to notify, and from Notification Templates, click the lookup icon to add a template to see how this works.
  13. Click Save.
Now any cases that haven’t been closed in 5 hours are assigned to you.

Resources

Remember, this module is meant for Salesforce Classic. When you launch your hands-on org, switch to Salesforce Classic to complete this challenge.

Assignment Process & Validations


Assignment Rule:  In terms of assigning Leads and cases, you can set the assignment rules so based on the criteria you can assign them to either a user or queue. This will help to auto routing of leads & cases as their volume is large and don;t need manual intervention.

https://help.salesforce.com/HTViewHelpDoc?id=customize_leadrules.htm&language=en_US

Managing Assignment Rules

Available in: Salesforce Classic and Lightning Experience
Lead Assignment Rules available in: Group, Professional, Enterprise, Performance, Unlimited, and Developer Editions
Case Assignment Rules available in: Professional, Enterprise, Performance, Unlimited, and DeveloperEditions
User Permissions Needed
To create or change assignment rules:Customize Application
Create assignment rules to automate your organization’s lead generation and support processes.
  • Lead Assignment Rules—Specify how leads are assigned to users or queues as they are created manually, captured from the web, or imported via the Data Import Wizard.
  • Case Assignment Rules—Determine how cases are assigned to users or put into queues as they are created manually, using Web-to-Case, Email-to-Case, On-Demand Email-to-Case, the Self-Service portal, the Customer Portal, Outlook, or Lotus Notes.
Typically, your organization will have one rule for each overall purpose—for example, one lead assignment rule for importing and a different lead assignment rule for web-generated leads; or one case assignment rule for standard use and one case assignment rule for holiday use. For each rule type, only one rule can be in effect at any time.
Each rule consists of multiple rule entries that specify exactly how the leads or cases are assigned. For example, your standard case assignment rule may have two entries: cases with “Type equals Gold” are assigned to “Gold Service” queue, and cases with “Type equals Silver” are assigned to “Silver Service” queue.
To create an assignment rule, from Setup, enter Assignment Rules in the Quick Find box, then select Lead Assignment Rules or Case Assignment Rules.

Sample Assignment Rule

The following case assignment rule assigns a case to a specific queue based on the account rating:
Rule Name — Hot Account Assignment
Rule Entries:
OrderCriteriaAssign To
1ISPICKVAL(Account.Rating, "Hot")Tier 1 Support Queue
2OR( ISPICKVAL(Account.Rating, "Warm") , ISPICKVAL(Account.Rating, "Cold") )

Validation Rule: Validation rule will check the record's data is accurate (as per conditions defined in the rule) before it is saved to the database. This will help to keep data accurate, clean & consistent.

https://help.salesforce.com/HTViewHelpDoc?id=fields_about_field_validation.htm

Validation Rules

Available in: both Salesforce Classic and Lightning Experience
Available in: Contact Manager, Group, Professional, Enterprise, Performance, Unlimited, Developer, and Database.com Editions
Improve the quality of your data using validation rules. Validation rules verify that the data a user enters in a record meets the standards you specify before the user can save the record. A validation rule can contain a formula or expression that evaluates the data in one or more fields and returns a value of “True” or “False”. Validation rules also include an error message to display to the user when the rule returns a value of “True” due to an invalid value.
After you have defined validation rules:
  1. The user chooses to create a new record or edit an existing record.
  2. The user clicks Save.
  3. All validation rules are verified.
    • If all data is valid, the record is saved.
    • If any data is invalid, the associated error message displays without saving the record.
  4. The user makes the necessary changes and clicks Save again.
You can specify the error message to display when a record fails validation and where to display it. For example, your error message can be “The close date must occur after today's date.” You can choose to display it near a field or at the top of the page. Like all other error messages, validation rule errors display in red text and are preceded by the word “Error”.
Important
Validation rules apply to new and updated records for an object, even if the fields referenced in the validation rule are not included in a page layout or an API call. Validation rules don't apply if you create new records for an object with Quick Create. If your organization has multiple page layouts for the object on which you create a validation rule, verify that the validation rule functions as intended on each layout. If your organization has any integrations that use this object, verify that the validation rule functions as intended for each integration.

Lightning Inter-Component Communication Patterns

Lightning Inter-Component Communication Patterns If you’re comfortable with how a Lightning Component works and want to build producti...