You are here:
Apply For Leave Action
Submit an employee's leave request, including the leave start date, end date, type, duration, and comment.
Required Editions
| View supported editions. |
| User Permissions Needed | |
|---|---|
| To build and manage Service Agents: | Manage Agentforce Service Agents AND Manage AI Agents OR Customize Application |
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.
| API Name | ApplyForLeave |
| Action Type | Standard |
| Reference Action Type | Flow |
| Reference Action | Apply For Leave |
| Inputs | 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 |
| Outputs | Status Message, Case Number |
| Does this action execute one or more prompt templates? | No |
The Contact ID and Service Process Name inputs are autopopulated, while the employee provides the other inputs.
Did this article solve your issue?
Let us know so we can improve!
