---
schema_version: "1"
id: 702479bb90969477ce62767095f9e1ea43da6bff662140ab105a4e2b73f48495
title: Apply For Leave Action
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/es_apply_for_leave_action.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.es_apply_for_leave_action.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 69fae28bcab710cb5d82d68af1d4558984bbcf7cf2cc2af8ddd810582b8e0f62
description: Submit an employee's leave request, including the leave start date, end date, type, duration, and comment.
products:
  - Service Cloud
release: "264"
---
# Apply For Leave Action

Submit an employee's leave request, including the leave start date, end date, type, duration, and comment.

### 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="col" class="slds-cell-wrap" style="text-align:center;vertical-align:top;" id="d66076e55">User Permissions Needed</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d66076e58">&nbsp;</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d66076e55 ">To build and manage Service Agents:</td>

          <td data-label="" class="slds-cell-wrap" style="vertical-align:top;" headers="d66076e58 ">
            <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>

## Action Details

To use this action, customize it according to your business’s security standards. We recommend configuring your agent to confirm the requester's identity before completing this action on their behalf. 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;">ApplyForLeave</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Action Type</td><td class="slds-cell-wrap" style="vertical-align:top;">Standard</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;">Flow</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action</td><td class="slds-cell-wrap" style="vertical-align:top;">Apply For Leave</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Inputs</td><td class="slds-cell-wrap" style="vertical-align:top;">Start Date, Leave Type, Comment, End Date, Daily Quantity, Service Process Name (For the Submit Leave Request process to function correctly, update the Service Process Name in the instructions), Leave Balance</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Outputs</td><td class="slds-cell-wrap" style="vertical-align:top;">Status Message, Case Number</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></tbody></table>

The Contact ID and Service Process Name inputs are autopopulated, while the employee provides the other inputs.

## Examples of Utterances that Trigger This Action

- “I want to apply sick leave for 2 days starting from November 23.”
- “I want to apply 2 days of casual leave starting next Monday.”
- "I want to apply leave for the entire next week."