---
schema_version: "1"
id: 5b85d5b40625683128b3a891901bf3742505304b7d01d0f946caf4dd9c9b4506
title: Fill Gaps in a Service Resource's Schedule with Agentforce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/pfs_copilot_dispatcher_filling_gaps.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.pfs_copilot_dispatcher_filling_gaps.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 58cc1e474253e5e73d7508dcab6854799cbeea99bbd3f9c7d0e93d1fd2c270a7
description: Quickly and easily fill gaps in your resource’s schedules caused by schedule changes such as cancellations, no-shows or early task completion. With Agentforce, the AI agent recommends appointments to fill these gaps according to your business rules and objectives, and schedules the appointment you choose. Freeing up time for you to work on more complex tasks while ensuring your resources' schedules remain full.
products:
  - Field Service
release: "264"
---
# Fill Gaps in a Service Resource's Schedule with Agentforce

Quickly and easily fill gaps in your resource’s schedules caused by schedule changes such as cancellations, no-shows or early task completion. With Agentforce, the AI agent recommends appointments to fill these gaps according to your business rules and objectives, and schedules the appointment you choose. Freeing up time for you to work on more complex tasks while ensuring your resources' schedules remain full.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions, with an <strong>Agentforce for Field Service</strong> license. Also available with <strong>Einstein 1 Field Service</strong> Edition or <strong>Agentforce 1 Field Service</strong> Edition.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d73971e85">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d73971e85 ">To access Field service agent actions:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d73971e85 ">Access Agent Topics and Actions for Field Service</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d73971e85 ">To use Agentforce:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d73971e85 ">Use Agentforce Default Agent </td>

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

![Package icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/support_field_service/images/fs_package.png) _This is a Field Service managed package feature._

Last-minute schedule changes are difficult and time-consuming to resolve. You need to consider travel time, skill, duration, and many more parameters. Agentforce helps you to find the right appointment to fill the schedule gaps, while taking all these factors into consideration. Agentforce presents the first gap in the resources schedule and offers up to three of the most suitable appointments to fill the gap. After you select an option, Agentforce schedules the appointment for you. Then let Agentforce find the next gap, until each gap has been filled for that day.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/images/icon_note.png)

Note Remember to ask the agent about a specific service resource for a specific date.

1. Open Agentforce and enter a phrase such as “Fill the gaps in Emma White's schedule on the 5th of December”. If you don’t specify a date, the AI agent searches for gaps today. For example utterances, see [Recommended Agentforce Utterances for Dispatchers](https://help.salesforce.com/s/articleView?id=service.pfs_copilot_dispatcher_interact.htm&release=264.0.0&type=5 "You can interact with Agentforce by using natural language phrases. Use it to generate a summary of your schedule, or to search for service appointments and create a filter based on your search criteria.").
    
    Agentforce shows up to three of the best appointments to fill the first gap in the resource's schedule.
2. Click **Schedule**.
3. Tell Agentforce the appointment number you want to schedule.
4. Agentforce confirms that the appointment was scheduled successfully.
5. Click **Show Next Gap** to view the next gap that needs filling.

**Considerations:**

- You can't ask to fill gaps for a period of more than a single day.
- Service appointments are filtered out and analyzed based on the scheduling policy selected in the Gantt. If the Gantt is closed, the Gantt’s default policy is used.

#### See Also

- [Set Up the Field Service Dispatching Agent](https://help.salesforce.com/s/articleView?id=service.fs_einstein_agentforce_dispatcher_setup.htm&language=en_US)
- [Recommended Agentforce Utterances for Dispatchers](https://help.salesforce.com/s/articleView?id=service.pfs_copilot_dispatcher_interact.htm&release=264.0.0&type=5 "You can interact with Agentforce by using natural language phrases. Use it to generate a summary of your schedule, or to search for service appointments and create a filter based on your search criteria.")