---
schema_version: "1"
id: 54c6723f6c7dfd1143ef0f31c8dd56d341c6143fd40e8073e0f618a2b62142b8
title: Service Plan Eligibility Criteria
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/sp_eligibility_reference.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.sp_eligibility_reference.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: d547c717f94241bcf5ddbe1bbf7c43342c64e2bcc39d328853ad406b35b1c1f6
description: Learn how to control when Service Assistant creates a service plan.
products:
  - Service Cloud
  - Service Intelligence
release: "264"
---
# Service Plan Eligibility Criteria

Learn how to control when Service Assistant creates a service plan.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.messaging_editions.htm&amp;type=5&amp;language=en_US" target="_blank">View supported editions.</a></td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <a name="sp_eligibility_reference__image_scz_pgf_5cc"><!-- --></a><span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" id="sp_eligibility_reference__image_scz_pgf_5cc" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_intelligence-264-0-0-production-enus/dcd06a7b-b5ab-448b-a767-4e2e90481508/resources-global/_corporate/images/checkmark.png" alt="Checkmark"></span> This article applies to:
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">Service Assistant for Case and Messaging.</td>

        </tr>
      </tbody>
    </table>

## What's Eligibility Criteria?

A service plan is created only when a case or messaging session meets defined eligibility criteria, a set of requirements that determine whether a record is eligible for a service plan. Eligibility criteria give you control over which records get a service plan.

Setting eligibility criteria is mandatory and is included as a setup step on the Service Assistant Setup page for both Case and Messaging. You set eligibility criteria within an autolaunched flow. To get you started, we provide flow templates on the Flows Setup page.

- Case: Check Service Plan Eligibility. By default, the template contains a condition where the Priority record field is set to High.
- Messaging: Check Service Plan Eligibility for Messaging Session. By default, the flow requires that the session isn't set to Ended and isn't inactive.

You can use your own flow. If you use your own flow, it must be an autolaunched flow and have one string input and one boolean output.

For example, in the Decision element of the flow template, you can set condition requirements to have service plans available only for cases that originate from email or are assigned to a particular queue.

![Example: Service Planner eligibility criteria decision element](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_intelligence-264-0-0-production-enus/dcd06a7b-b5ab-448b-a767-4e2e90481508/support_intelligence/images/service_planner/sp_flow_decision_config.png)

For messaging sessions, the chat must contain enough context for Service Assistant to identify the issue before it begins monitoring and plan processing. Both the conditions in your eligibility flow and this context requirement must be met before Service Assistant initiates a service plan.

## Video Walkthrough

For a walkthrough of eligibility criteria and how it relates to service plan generation, watch this video. The video applies to both Service Assistant for Case and Messaging. To open the video in full screen, see [Service Plan Eligibility Criteria](https://salesforce.vidyard.com/watch/qUkhcfRdpzfz2R1i7UtHeh).

## Flow Execution and Permissions

In Service Assistant, service plans are always created in the context of the ServicePlanner User's (agent user) permissions, which have a higher level of data access than service reps. This access ensures that plans always have the most detail possible. See [Service Plan Data Access](https://help.salesforce.com/s/articleView?id=service.sp_ground_data.htm&release=264.0.0&type=5 "Service plans are generated using the permissions of the ServicePlanner User (the agent user), which has a broader scope of grounding source data access to provide the most comprehensive service plans. This access supersedes any individual field-level security or sharing rules for service reps. The information in this section describes how the ServicePlanner User's permissions govern data access for each grounding source. We recommend configuring the ServicePlanner User's permissions to align with the data access and sharing rules required for your service reps."). For guidance plans or dynamic plans for Case, the flow always runs using the ServicePlanner User's Run Flows app permission after the record is opened.

The automatic eligibility flow execution doesn't apply to Messaging. Service reps require direct access to the flow so that it executes when the Messaging Session record page opens. We don't recommend granting the Run Flows permission unless it aligns with your company's security standards. Instead, grant access through a custom permission set.

To grant access through a Messaging Eligibility Flow Access custom permission set:

- [Restrict the flow's default general access](https://help.salesforce.com/s/articleView?id=platform.flow_distribute_security.htm&type=5&language=en_US).
- Create a custom permission set that has the flow enabled.
- Assign the permission set to both the admin and service reps.

Alternatively, restrict the flow's default general access and then assign the flow to the Standard User profile if that aligns with your company's security standards.

## Considerations

After a record meets your eligibility criteria, Service Assistant starts plan processing by summarizing the case, assigning a subagent, and creating initial plan steps. For customers who use guidance plans for Case and have the Einstein for Service license, your Einstein Requests and Data 360 credits are consumed in this process. There's no consumption for customers with the Agentforce for Service license for dynamic plans for Case or Messaging. See [Service Assistant Billing and Consumption](https://help.salesforce.com/s/articleView?id=service.sp_billing.htm&language=en_US&type=5).

## Eligibility Criteria Use Cases

How you set eligibility criteria depends on the case types you're using Service Assistant for. Here are a few example use cases to help you define your own eligibility criteria.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d29187e197">I want eligibility criteria for…</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d29187e200">So that…</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d29187e203">Sample Configuration</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="I want eligibility criteria for…" class="slds-cell-wrap" style="vertical-align:top;" headers="d29187e197 ">Email-only cases</td>

            <td data-label="So that…" class="slds-cell-wrap" style="vertical-align:top;" headers="d29187e200 ">Service plans are available only for cases that originate from email.</td>

            <td data-label="Sample Configuration" class="slds-cell-wrap" style="vertical-align:top;" headers="d29187e203 ">
              <ul>
                <li>Flow Element: Decision</li>

                <li>Condition: Case Origin = "Email"</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="I want eligibility criteria for…" class="slds-cell-wrap" style="vertical-align:top;" headers="d29187e197 ">High-priority cases</td>

            <td data-label="So that…" class="slds-cell-wrap" style="vertical-align:top;" headers="d29187e200 ">Critical issues are handled with more structured support from a service
              plan.</td>

            <td data-label="Sample Configuration" class="slds-cell-wrap" style="vertical-align:top;" headers="d29187e203 ">
              <ul>
                <li>Flow Element: Decision</li>

                <li>Condition: Case Priority = "High"</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="I want eligibility criteria for…" class="slds-cell-wrap" style="vertical-align:top;" headers="d29187e197 ">Specific queues</td>

            <td data-label="So that…" class="slds-cell-wrap" style="vertical-align:top;" headers="d29187e200 ">
              <p>Service reps in a Tier 2 support queue or higher receive dedicated assistance for
                working high-value or sensitive cases.</p>
              <p style="margin-bottom:0;">For example, a travel agency can have a dedicated queue for travel disruptions or
                executive clients so that service reps have dedicated support for resolving these
                cases.</p>
            </td>

            <td data-label="Sample Configuration" class="slds-cell-wrap" style="vertical-align:top;" headers="d29187e203 ">
              <ul>
                <li>Flow Element: Decision</li>

                <li>Condition: Case Queue = {Queue Name}</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="I want eligibility criteria for…" class="slds-cell-wrap" style="vertical-align:top;" headers="d29187e197 ">Messaging sessions from a specific channel</td>

            <td data-label="So that…" class="slds-cell-wrap" style="vertical-align:top;" headers="d29187e200 ">Service plans are available only for customers reaching out through a specific
              messaging channel, such as WhatsApp or Enhanced Chat.</td>

            <td data-label="Sample Configuration" class="slds-cell-wrap" style="vertical-align:top;" headers="d29187e203 ">
              <ul>
                <li>Flow Element: Decision</li>

                <li>Condition: Messaging Session Channel = "WhatsApp"</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="I want eligibility criteria for…" class="slds-cell-wrap" style="vertical-align:top;" headers="d29187e197 ">Messaging Session or Cases with specific products</td>

            <td data-label="So that…" class="slds-cell-wrap" style="vertical-align:top;" headers="d29187e200 ">Service plans are available only for cases related to certain products, so that
              service reps have access to the specific information they need for each product.
              This way, they can provide accurate and efficient support without spending time
              hunting down the necessary details.</td>

            <td data-label="Sample Configuration" class="slds-cell-wrap" style="vertical-align:top;" headers="d29187e203 ">
              <ul>
                <li>Flow Element: Decision</li>

                <li>Condition: Product (custom field) = "Product Name"</li>

              </ul>
            </td>

          </tr>
        </tbody>
      </table>