Loading
Agentforce Field Service and Operations
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Set Up Pre-Work Brief for Field Service Mobile Workers

          Set Up Pre-Work Brief for Field Service Mobile Workers

          Show mobile workers a brief that uses generative AI to tell them everything they need to know about their upcoming work order.

          Required Editions

          Available in: Lightning Experience

          Available in: Enterprise, Performance, and Unlimited Editions with the Einstein for Field Service add-on or the Agentforce for Field Service add-on. Also available in Einstein 1 Field Service Edition.

          To purchase the Einstein for Field Service add-on or the Agentforce for Field Service add-on, contact your Salesforce account executive.

          Available on the Field Service mobile app for Android and iOS for users with the Field Service Mobile license. Also available for Experience Site users using the Field Service mobile app.
          Setup for Einstein generative AI is available in Lightning Experience.
          The Field Service core features and managed package are available in Enterprise, Performance, Unlimited, and Developer Editions.
          User Permissions Needed
          To build and manage Pre-Work Brief: Customize Application
          To create and assign permission sets: Manage Profiles and Permission Sets
          • Pre-Work Brief and Your Data
            The default prompt for Pre-Work Brief uses your data to add context and personalization to your prompt. You can modify this data by editing the flow or the prompt.

          Configure Pre-Work Brief

          1. Activate the prompt.
            1. From Setup, in the Quick Find box, enter Einstein Generative AI, and then select Prompt Builder.
            2. Click New Prompt Template.
            3. For Prompt Template Type, select Field Service Pre-Work Brief.
            4. Enter a name. The API name is populated for you.
            5. Save your template.
            6. For Resource, select Flows, and then select Field Service Mobile: Generate Pre-Work Brief or Field Service Mobile: Modifiable Pre-Work Brief.
            7. To see a preview of the brief that mobile workers see, for Work Order, enter a work order ID, and click Preview.
              In the Resolution pane, you can see the prompt that generates the brief. In the Response pane, you can see the brief that the mobile worker sees. If you want to make any changes, see Modify the Brief.
            8. Save and activate the prompt template.
          2. If the Pre-Work Brief flow doesn’t run, check the fields used in the flow.
            1. Review the list of objects and fields used in the flow. See Pre-Work Brief and Your Data.
            2. From Setup, go to the Object Manager tab.
            3. Select one of the objects that the brief uses.
            4. Click Fields & Relationships.
            5. Check that all of the fields that the brief uses exist in your Salesforce org. If any of the fields don’t exist, delete them from the flow.
            6. Select one of the fields that the brief uses.
            7. Click Set Field-Level Security.
            8. Mark the required profiles as Visible.
            9. Save your changes and repeat the process for the remaining fields in the required objects.
            10. Give ‌mobile workers permission to access these fields.
          3. Add the Pre-Work Brief Prompt Template ID field to the page layout.
            1. From Object Manager, open the Work Order object.
            2. Click Page Layouts and open the layout that’s assigned to the mobile workers.
            3. Add the Pre-Work Brief Prompt Template ID field to the layout.
            4. Save your changes.
            5. Open the layout that’s assigned to the admin user and add the Pre-Work Brief Prompt Template ID field to the layout.
            6. Save your changes.
            7. From the Work Order object, click Fields & Relationships.
            8. Click Pre-Work Brief Prompt Template ID.
            9. Click Set Field-Level Security.
            10. For the profile of the user who is assigning prompt templates, select Visible.
          4. In the work order, enter the ID of the prompt template in the Pre-Work Brief Prompt Template ID field. To find the ID, from Prompt Builder, open the prompt template and look at the URL. The ID is located after the phrase EinsteinPromptStudio. For example, if the URL is https://testcom98.test1.my.pc-rnd.salesforce-setup.com/lightning/setup/EinsteinPromptStudio/0hfSG000001SUFVYA4/edit?c__versionId=3vNSG0000000g8v2AA, the ID is 0hfSG000001SUFVYA4.
            Note
            Note Instead of manually filling in the Pre-Work Brief Prompt Template ID field for every work order, set up flows to fill in the field for you. See Flow Builder.
          5. Ask your mobile workers to pay attention to the brief in the Overview tab of each work order in the Field Service mobile app.
            The brief is generated the first time that the mobile worker views the work order when they’re connected to the internet. The brief is regenerated if the mobile worker opens the work order after 24 hours has passed from when the brief was previously generated.

            Mobile workers can also provide feedback about the brief.

          Modify the Brief

          1. From Setup, in the Quick Find box, enter Process Automation, and then select Flows.
          2. Select the Field Service Mobile: Generate Pre-Work Brief flow template.
          3. Click Save As to create your own version of the flow.
          4. Add, modify, or remove elements from the flow. For example, you can make these changes.
            • Modify the Serialize Pre-Work Brief Records action to include additional objects that are required for your business needs.
            • Add fields to the Get Contacts element.
            • Add an element for a custom field that’s used in your Salesforce org.
          5. To modify the prompt, from the flow, open the Add Pre-Work Brief Prompt Instructions element. Remove instructions that aren’t relevant to you, or add instructions according to your business needs. For example, consider adding one of these instructions.
            • Make sure that the brief is no longer than 200 words.
            • Present the brief in bullet points.
            Note
            Note
            • Add examples for what you expect the brief to look like.
            • Avoid telling the prompt to always include a specific field. If the value is missing, generative AI can hallucinate and give you inaccurate results.
          6. Connect the prompt template to your version of the flow.
            1. From Setup, in the Quick Find box, enter Einstein Generative AI, and then select Prompt Builder.
            2. Click New Prompt Template.
            3. For Prompt Template Type, select Field Service Pre-Work Brief.
            4. Enter a name. The API name is populated for you.
            5. Save your template.
            6. For Resource, select Flows, and then select the flow that you created.
            7. To show a preview of the brief that mobile workers see, for Work Order, enter a work order ID.
            8. Save and activate the prompt template.
          7. In the work order, for Prompt Template, enter the prompt template ID. To find the ID, from Prompt Builder, open the prompt template and look at the URL. The ID is located after the phrase EinsteinPromptStudio. For example, if the URL is https://testcom98.test1.my.pc-rnd.salesforce-setup.com/lightning/setup/EinsteinPromptStudio/0hfSG000001SUFVYA4/edit?c__versionId=3vNSG0000000g8v2AA, the ID is 0hfSG000001SUFVYA4
          8. If you have various scenarios to address, set up more than one variation of the flow. For example, to create a different type of brief for emergency appointments:
            1. Save another version of the flow and make your changes.
            2. From Prompt Builder, create a prompt template for emergency appointments. For Resource, select the flow that you created for emergency appointments.
            3. In the work order, for Prompt Template, enter the emergency appointments prompt template ID.
          Pre-Work Brief in the Field Service mobile app
          Note
          Note This tool uses generative AI, which is known to include inaccurate or harmful responses. Before using, review the output for accuracy and safety. You assume responsibility for the output when making business decisions.
           
          Loading
          Salesforce Help | Article