---
schema_version: "1"
id: 0fff5c90a9406d8b66c7a4328d0f75d9a417bc079786f08eab5b5f8187e1ca89
title: Field Service | Assign Appointment to Service Resource for Field Service
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/copilot_actions_ref_assign_appointment_resource.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.copilot_actions_ref_assign_appointment_resource.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 44c4d7ee1ae49b5bc986d7b8cc6f6a60220c4516e990092932d4dd33ea71fe3b
description: "Assigns the service appointment selected by the dispatcher to a service resource, in the gap identified in the service resource’s schedule on a specific date. This action is one of the actions provided by the Agentforce: Field Service Actions feature."
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Field Service | Assign Appointment to Service Resource for Field Service

Assigns the service appointment selected by the dispatcher to a service resource, in the gap identified in the service resource’s schedule on a specific date. This action is one of the actions provided by the Agentforce: Field Service Actions feature.

### 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 the Agentforce or Einstein for Field Service or Industry add-on or included in Einstein 1 Edition or Agentforce 1 Edition for Field Service. Requires each user to have the Agentforce or Einstein for Field Service or Industry add-on to access the action.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </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="d86628e70">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d86628e70 ">To use Field Service subagents and actions:</td>

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

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d86628e70 ">See <a href="https://help.salesforce.com/s/articleView?id=ai.agent_actions_common_perms.htm&amp;type=5&amp;language=en_US" target="_blank">Common User Access for Standard Agent
              Actions</a>.</td>

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

## Action Details

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><colgroup><col style="width:50%"> <col style="width:50%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">API Name</td><td class="slds-cell-wrap" style="vertical-align:top;">AssignApptForServiceResourceForFieldService</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action Type</td><td class="slds-cell-wrap" style="vertical-align:top;">Standard Action</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Does this action execute one or more prompt templates?</td><td class="slds-cell-wrap" style="vertical-align:top;">No</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Required Setup</td><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.fs_einstein_agentforce_dispatcher_setup.htm&amp;type=5&amp;language=en_US" target="_blank">Set Up the Field Service Dispatcher Actions Subagent</a></td></tr></tbody></table>

#### See Also

- [Agent Topic: Field Service Dispatcher Actions](https://help.salesforce.com/s/articleView?id=ai.copilot_topics_ref_field_service_dispatcher_actions.htm&release=264.0.0&type=5 "Use the Field Service Dispatcher Actions topic to perform tasks in the dispatcher console. Display a summary of today’s scheduling issues and show them in the appointment list for subsequent follow-up actions. Search for appointments and create filters in the appointment list. Find gaps in a service resource’s schedule, find the best appointments to fill those gaps, and schedule the appointment that is selected.")
- [Agent Action: Get Appointments to Fill Gaps for Field Service](https://help.salesforce.com/s/articleView?id=ai.copilot_actions_ref_get_appointments_fill_gaps.htm&release=264.0.0&type=5 "Searches for gaps for a specific service resource on a specific date and returns a list of suitable appointments in ranked order, considering business rules and objectives. This action is one of the actions provided by the Agentforce: Field Service Actions feature.")
- [Fill Gaps in a Service Resource's Schedule with Agentforce](https://help.salesforce.com/s/articleView?id=service.pfs_copilot_dispatcher_filling_gaps.htm&language=en_US)