> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Process Leave Requests

Approve or decline a leave request. Only pending requests can be processed (approved / declined).

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                                      |
  | --------- | -------------------------------------------------------------------------------- |
  | Action    | The action to be taken on the leave request. Can be either approved or declined. |
  | ID        | Unique identifier of the leave request being processed.                          |
</div>

## Example Output

```json theme={"dark"}
{
	"comments": "string",
	"createdAt": "string",
	"dates": [
		{
			"date": "date",
			"numMinutes": 0
		}
	],
	"endDate": "string",
	"id": "Unique identifier of the leave request.",
	"leavePolicy": "string",
	"leaveType": "string",
	"numHours": 0,
	"numMinutes": 0,
	"policyDisplayName": "string",
	"processedAt": "string",
	"processedBy": "Unique identifier of the employee who approved or rejected the request. This may be null.",
	"processedByName": "string",
	"reasonForLeave": "string",
	"requestedBy": "string",
	"requestedByName": "Unique identifier of the employee who made the request (in most cases this is the same as role).",
	"role": "Unique identifier of the employee who is taking leave.",
	"roleName": "string",
	"startDate": "string",
	"status": "string",
	"updatedAt": "string"
}
```

## Workflow Library Example

[Process Leave Requests with Rippling and Send Results Via Email](https://library.blinkops.com/workflows/process-leave-requests-with-rippling-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/process-leave-requests-with-rippling-and-send-results-via-email/canvas" />
</div>
