---
schema_version: "1"
id: b2079857bfeeb25b8f5ad89a6d0d5c691cffa7f1a80f31c2d3cc375fb1917203
title: Employee Leave Management Subagent
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/es_employee_leave_management_topic.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.es_employee_leave_management_topic.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1bd6d69315fbaeb71a172dcab802495df2ba66486cb640e879b548eab6897fa8
description: Handle employee inquiries and actions related to leave balance or leave requests.
products:
  - Service Cloud
release: "264"
---
# Employee Leave Management Subagent

Handle employee inquiries and actions related to leave balance or leave requests.

### 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;"><a href="https://help.salesforce.com/s/articleView?id=service.service_editions_reference.htm&amp;language=en_US" target="_blank">View supported editions</a>.</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="d23748e55">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d23748e55 ">To enable agents in Salesforce:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d23748e55 ">
            <p dir="ltr">Manage AI Agents AND Employee Service: Agentforce</p>
            <p dir="ltr">OR</p>
            <p style="margin-bottom:0;" dir="ltr">Customize Application</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d23748e55 ">To build and manage HR service agents:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d23748e55 ">
            <p dir="ltr">Manage Agentforce Service Agents AND Manage AI Agents</p>
            <p dir="ltr">OR</p>
            <p style="margin-bottom:0;" dir="ltr">Customize Application</p>
          </td>

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

## Subagent Details

This topic contains potentially sensitive actions. To use this topic, customize this action according to your business’s security requirements. See [Maintain Trust with Agentforce Actions](https://help.salesforce.com/s/articleView?id=service.service_agentforce_trusted_private_actions.htm&type=5&language=en_US).

<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;">EmployeeLeaveManagement</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">Included Agent Tools</td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p dir="ltr"><a href="https://help.salesforce.com/s/articleView?id=service.es_get_leave_balance_action.htm&amp;language=en_US" target="_blank">Get Leave Balance</a></p>
              <p style="margin-bottom:0;" dir="ltr"><a href="https://help.salesforce.com/s/articleView?id=service.es_apply_for_leave_action.htm&amp;language=en_US" target="_blank">Submit Leave Request</a></p>
            </td>

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

## Subagent Setup

- From Setup, in the quick find box, search and select **MuleSoft Direct**.
- Enable the Absense Management API app.
- Provide the required details and proceed to deploy the app. This will create a corresponding named credential.
- In the quick find box, search and select **Named Credentials**.
- Copy the API name for your named credential.
- To set up the topic, replace placeholder values in the instruction with relevant values:
    - Replace <named\_credential\_value> with the named credential to connect the Mule application with Workday.
    - Replace <service\_process\_name> with the service process record ID that you created.