Newer Version Available

This content describes an older version of this product. View Latest

Lightning Flow for Service Sample Use Case

When a support issue comes into the Service Console app, you can associate a preconfigured flow with a new record, such as a case or contact record. The flow then launches in a subtab. Your agents can walk through the flow and add more flows based on the customer’s needs.

Here’s an example of Lightning Flow for Service set up in the Service Console app. The flow in the subtab helps agents create contact information for an incoming caller.Screen shot of the Service Console set up with Lightning Flow for Service.

Now let’s look at a fictional Service Cloud customer, Awesome Bank. They employ 20 agents who handle calls from customers about loans. Typically, an agent handles a call with an unknown caller, who is a potential loan customer, in the following way:
  1. The customer’s call is routed to the appropriate agent based on the loan type.
  2. An agent takes basic information about the customer, such as their name and phone number.
  3. An agent verifies the loan type that the customer is looking for. The agent follows a series of steps to process the loan application, including the required step of obtaining the customer’s credit score.
  4. When the loan application is processed successfully, the application enters the approval process.
  5. When the loan application is approved, the loan is sent for disbursement.
  6. An agent wraps up the loan application.
Meet Cyrus, the Service Team Leader. He’s in charge of the customer service department and is looking at ways to improve agent efficiency. He wants to streamline the following:
  • Common steps that are applicable to all loan types
  • Unique steps specific to the loan type

Cyrus wants an automated way of associating the flows dynamically to a record. Cyrus approaches Maria, the Service Admin who is in charge of handling and administering Salesforce applications for Awesome Bank. Cyrus hopes Maria can come up with a solution that improves the overall productivity of agents and give them more flexibility.

Lightning Flow for Service can make the lives of admins, like Maria, easier by providing a way to preconfigure flows and associate them to new records. With Lightning Flow for Service, Maria can provide Awesome Bank agents:
  • A dynamic set of flows associated to a record so that agents can see all the flows to complete upfront
  • An easy way for agents to search for and add more flows based on customer needs
  • A way to see which flows have been started and completed on a record
  • A reminder to complete flows that are required, like the credit score check

Sample Implementation Steps

To implement Lightning Flow for Service and integrate with Awesome Bank’s Open CTI implementation, Maria completes the following tasks:
  1. Create flows in Cloud Flow Designer.
    • To handle unknown callers, Maria creates a flow called Create Contact that walks agents through creating a new contact.
    • To walk agents through the initial steps for new customers that want a loan, she creates a flow called New Loan.
    • To determine the customer’s credit score, she creates a flow called Check Credit Score.
    • To let agents process the loan, she creates a flow called Process Loan.
    • To walk agents through the wrap-up steps, she creates a flow called Wrap Up Loan.
  2. Update the Screen Pop Settings for the softphone layout in Setup (in Lightning Experience).

    To handle unknown callers, Maria updates the No Matching Records setting to pop to the unknown caller flow, Create Contact. This setting ensures that when an agent accepts a call from an unknown caller, they’re automatically presented with a flow to create a new contact record.

  3. Associate flows to records in Process Builder.

    Maria creates a process that associates the flows New Loan, Check Credit Score, Process Loan, and Wrap Up Loan to the contact object using the RecordAction object. For the Check Credit Score flow, she assigns the Is Mandatory attribute so that agents see that this step is required.

  4. Edit Lightning console record pages.

    To display a list of associated flows to agents, Maria adds the Guided Action List component to pages in the Service Console. She configures the component to show agents the flows defined in Step 1. In addition, by editing the Guided Action Settings, Maria configures a subset of flows that agents can add to the list as needed. At runtime, agents can click Add and select a flow from this subset.You can configure a subset of actions that users can add to a guided action list.

Sample User Experience

The flows in the Guided Action List (1) give the loan agents at Awesome Bank a clear set of steps to follow when they speak to customers. If there’s a handoff between agents, an agent can use the History tab (2) to learn which steps in the loan process have been started and completed. If agents don’t see a step, they can click Add and add a different flow (3) to the list. And agents see an asterisk in the Guided Action List next to required flows (4).

The example Guided Action Lists shows agents the steps in their process.

Cyrus, the Service Team Leader, likes that agents see a reminder when a step in the process is required, like the Check Credit Score step. Maria assigned the Is Mandatory attribute to that flow.

When an agent launches that flow and tries to close the tab before completing the step, a message reminds them that the action is required. Clicking Cancel dismisses the warning and continues the flow. Or, the agent can click Finish Later, which closes the tab or window. The agent can start a new instance of this flow later.

A message appears when the user tries to dismiss a mandatory action.