Skip to main content

Set Up Service Assistant

Learning Objectives

After completing this unit, you’ll be able to:

  • Describe the Service Assistant setup process.
  • Create a Service Assistant agent and a topic and instructions for the agent.

Sign Up for a Custom Playground with Data Cloud

To complete this unit, you need a custom playground that contains Data Cloud and our sample data. If you haven’t already clicked the Create Playground button at the top of this page, do that now, and follow the steps to create a custom playground and connect it to Trailhead. Then complete the step-by-step instructions in this unit. When you’re finished, click Check Challenge to Earn 500 Points at the bottom of the page.

Note

This Custom Playground is designed to work with the challenges in this badge, and may not work for other badges. Always check that you’re using the Trailhead Playground or special Developer Edition org that we recommend.

Also note that your developer org has a custom permission set that doesn’t have access to Data Cloud Setup. It’s intended to be used only for specified Trailhead challenges.

Turn On Agentforce Features

Getting Service Assistant set up is straightforward, thanks to the dedicated Service Assistant Setup page. Service operations manager John knows this is his go-to spot for a quick setup experience.

Step one of building a Service Assistant agent is turning on the Agentforce features that power it. Note that Data Cloud is required but it’s already turned it on in your Playground.

Also, keep in mind that the Setup page has additional sections for features not tested in this unit, such as Set Up Quick Actions (Optional). Stay tuned for the exciting addition of Quick Actions in this Trailhead module. For now, check out Grounding Service Assistant with Quick Actions.

Note

In this badge, it’s important to select Agentforce Service Assistant, not the Agentforce Service Agent.

  1. Click Setup and select Setup.
  2. In the Setup Quick Find, search for and select Service Assistant.
  3. From the Service Assistant Setup page, in the Turn on Einstein Generative AI section, click Go to Einstein Setup and turn on Einstein.
  4. Refresh your browser window.
  5. In the Setup Quick Find, search for and select Agentforce Agents.
  6. From the top of Agentforce Agents page, turn on Agentforce.
  7. From the middle of the page, turn on Enable the Agentforce (Default) Agent.

Enable default Agentforce agent toggle.

  1. Stay on the Agentforce Agents Setup page and complete the next set of steps.

Create a Service Assistant Agent

With the required platform features turned on, you’re ready to start building your Service Assistant agent and add topics and instructions.

  1. At the top of the Agentforce Agents Setup page, click + New Agent. Note: If the New Agent button isn’t present, refresh the page until the button appears.
  2. From the Agent Creator, in Select an agent, select Agentforce Service Assistant, and then click Next. The Agent Creator Guided Setup opens.
  3. From Customize your agent, add this to the Company field. Coral Cloud Resorts provides customers with exceptional destination activities, unforgettable experiences, and reservation services, all backed by a commitment to top-notch customer service.
  4. Check Keep a record of conversations with Enhanced Event Logs to review agent behavior.

Note that all other fields not listed here but shown in the guided setup are set by default. Don’t edit the default field configurations. Make sure the Agent User field is set as New Agent User.

Agent setup example.

  1. Click Create. The Agenforce Builder opens with the Topics section shown. Stay here and complete the next steps.

Create Topics

Coral Cloud has already decided what case it wants Service Assistant to help with. John uses the Agentforce Builder to create a Travel Documentation Assistance topic and change the company's rules for travel documentation into instructions.

  1. From the Agentforce Builder, in the Topics side bar, click New and select + New Topic.

New Topic button.

Note: If the New Topic button doesn’t appear, return to the Agentforce Agents Setup page and toggle the Agentforce toggle to off, then back to on again. Then, from the list of agents, next to Agentforce Service Assistant, click the drop down and select Open in Builder.

Opening agent from the Agentforce Agents Setup page.

  1. In the Create a Topic window, enter this text in the What do you want this topic to do? Field: Assist service reps with travel documentation and visa application related cases. Make sure they have all the necessary information to help customers.
  2. Click Next.
  3. In the Create a Topic window, populate the fields below, replacing the auto-populated text.

In the classification description, notice how a few different question types are indicated. This helps Service Assistant ‌effectively handle the different ways users might ask about travel documentation.

Field

Value

Name

Travel Documentation

API Name

Travel_Documentation

Classification Description

Assist service reps in helping customers in navigating the visa application process, including required documents, application procedures, document validity, submission process, processing times, and embassy contact information. Questions are related to visa requirements, which include required documents, application procedures, document validity, submission process, processing times, and embassy contact information.

Scope

Your job is to assist service reps in providing customers with the visa application process and related travel documents. Make sure they have all the right documents, information, and follow all the rules and procedures. You must not provide legal advice or handle inquiries outside of visa applications.
  1. From the Instructions section, replace the auto-populated instructions with the instructions below. Click Add Instructions as needed to create more instruction fields.

Field

Value

1st Instruction

If the customer has all the required documents, verify their validity and completeness in the verification portal.

2nd Instruction

Always check if the customer needs a visa and vaccinations for their destination.

3rd Instruction

For questions about the submission process, tell the customer where and how to submit the application both in the company’s travel verification portal and through the destination country’s visa website. Always include a link to the official embassy website for the destination country for detailed information and application procedures.

4th Instruction

When you have confirmed the visa requirements, always provide the customer with a checklist of all required documents such as a passport, port entry forms, visa application form, recent passport photos, and proof of travel.

5th Instruction

If the destination country requires additional documents such as a letter of invitation or proof of financial means, inform the customer and provide guidance on how to obtain these.

6th Instruction

After the application is submitted, provide the customer with a follow-up plan, including expected processing times and contact information for the embassy.

7th Instruction

Provide travel tips and advice on what to expect during the visa interview, if required.

8th Instruction

Always be sure to thank the customer for choosing our company and provide a link to our survey on the service to help improve future assistance.
  1. Click Next.
  2. Skip adding actions to the topic and click Finish.

Note: If you see a message that indicates there’s a high similarity of topics, disregard the message. Also, remember that Agentforce actions aren’t required in Service Assistant. The AI agent doesn’t complete any tasks for the customer or service reps. Instead, all steps provided in a service plan are completed by the service rep.

Travel Documentation topic.

  1. In the top right of the page, click Activate. If the Configuration Issues Detected pop-up appears, click Activate & Ignore.
  2. Exit the Agentforce Builder by clicking the left arrow at the top of the page. Head back to the Service Assistant Setup page.

Turn On Service AI Grounding

Service AI grounding lets Coral Cloud Resorts choose which case fields are included as a grounding source. The selected fields give Service Assistant the information it needs to generate a case summary, categorize the case with a topic, and determine the initial plan steps.

  1. From Setup Quick Find, search for and select Service Assistant.
  2. Turn on Service AI Grounding for Cases section, click Go to Service AI Grounding.
  3. From the Service AI Grounding Setup page, turn the feature on.
  4. From Choose Objects and Fields for Grounding, select the Case tab.
  5. Under Case Fields, click Edit.
  6. From the Required Fields section, set these settings.
    • Set the Subject field to Subject.
    • Set the Description field to Description.
    • Note: Don’t change the Additional Fields section.
  7. From the Additional Object Grounding Options section, select all options.
  8. Click Save.
  9. Activate Grounding with Cases.
  10. Head back to the Service Assistant Setup page.

Service AI Grounding configuration.

Set Eligibility Criteria

In Service Assistant, a service plan is only created when a case meets certain rules. These rules are called eligibility criteria and are set in an autolaunched flow. Follow these steps to set up service plan eligibility criteria.

  1. From the Define Service Plan Eligibility Criteria section, Click Go to Flows.
  2. Under All Flows, search for and then select Check Service Plan Eligibility. Flow Builder opens.
  3. From the Flow Builder canvas, select the Is Case Eligible for Service Plan?

Decision element.

Next, set the criteria in Outcome Details.

  1. In the Yes tab, confirm the Label is Yes.
  2. Confirm the Outcome API Name field is EligibleForServicePlan.
  3. Confirm the Conditions Requirements to Execute Outcome field is set to All Conditions Are Met (AND)
  4. Confirm the Case from Get Case resource has an Is Null operator set to ‌a value of False.
  5. Delete the ineligibilityReason resource.
  6. Confirm the Priority resource has an Equals operator set to a value of High.
  7. Click + Add Condition.

Preset configurations in flow.

Now configure the setting for the new condition.

  1. From the Resource field, scroll down to the Get Records section and select Cases from Get Case.
  2. Scroll down to Record Fields and select Case Origin.
  3. From the Operator field, select Equals.
  4. From the Value field, select Email.

Eligibility criteria set in the decision element.

Finally, save your work.

  1. Click Save as New Flow.
  2. From the Save As window, in Flow Label, enter Travel Documentation. The Flow API Name autopopulates.
  3. Click Save.
  4. Click Activate.
  5. Exit Flow Builder and go back to the Service Assistant Setup page.
  6. From the Add Eligibility Criteria section of the Setup page, complete these steps.
    • From the Flow Label field, select Travel Documentation.
    • From the Case ID variable field, select caseId.
    • From the Eligibility Result Variable field, select meetsEligbility.
    • From the Ineligibility Reason field, select ineligibilityReason.
    • Click Save.

Eligibility criteria added to the Setup page.

Turn on Service Assistant

In the Turn On Service Assistant section, move the toggle to On.

You’re almost ready to start creating service plans. There’s just one thing left to do: put Service Assistant onto the Case record page.

Add the Component to the Case Record Page

Finalize your setup by adding Service Assistant to the Case record page.

  1. From the Apps Launcher, search for and select Service.
  2. Select the Cases tab.
  3. From the Cases page, in the list view dropdown, select All Open Cases.
  4. Select case number 00001028, Help with Travel Documentation.
  5. From the Case record page, click Lightning gear icon, and then select Edit Page.

Edit Case record page.

  1. From the Components menu, search for and select Service Assistant, and then add the component anywhere onto the canvas. Note: If you see the Milestones and Related components on the page, delete them.

Service Assistant component added to the Case record page

  1. Click Save, and then click Activate.
  2. From the Activation: Case Record Page window, under Org Default, click Assign as Org Default.
    • From the Assign from factor window, select Desktop, and then click Next.
    • From the Review Assignment window, click Save.
  3. At the top-right of the page, click Save and then click Activation….
  4. From the Activation: Case Record Page window, select App Default, then click Assign as App Default.
    • From the Select Apps window, under App Name, select Service Console, and click Next.
    • From the Select From Factor window, select Desktop, and click Next.
    • From the Review Assignments window, click Save.
  5. At the top-right of the page, click Save.
  6. Stay in Lightning App Builder and head to the next unit to use Service Assistant to create a service plan.

And that’s it! You set up Service Assistant. Check your setup and then head to the next unit to create a service plan.

Comparta sus comentarios de Trailhead en la Ayuda de Salesforce.

Nos encantaría saber más sobre su experiencia con Trailhead. Ahora puede acceder al nuevo formulario de comentarios en cualquier momento en el sitio de Ayuda de Salesforce.

Más información Continuar a Compartir comentarios