Actions171
- Add-on Actions
- Area Actions
- Block Date Actions
- Booking Actions
- Booking Guest Actions
- Booking Request Actions
- Brand Actions
- Cancellation Policy Actions
- Channel Actions
- Channel Deal Actions
- City Actions
- Company Actions
- Corporation Actions
- Country Actions
- Deal Actions
- Finance Report Actions
- Group Booking Actions
- Guest Actions
- Housekeeping Report Actions
- Invoice Actions
- Issue Actions
- Key Set Actions
- Landlord Actions
- Leave Actions
- Organization Actions
- Payment Actions
- Payment Term Actions
- Payout Actions
- Promotion Actions
- Property Actions
- Rate Actions
- Rate Plan Actions
- Review Actions
- Smart Lock Actions
- Staff Actions
- Task Actions
- Team Actions
- Ticket Actions
- Unit Actions
- Unit Type Actions
- Voucher Actions
Leave → Create
AI-generatedSummary
Creates a leave record in Zeevou by posting the provided JSON data to the /leaves endpoint.
Inputs
- createData — JSON object containing the fields for the leave to be created. If omitted, an empty object is sent.
Output shape
An array of items, each containing a json property with the API response for the created leave (or array of responses if multiple input items).
The node iterates over incoming items and creates one leave per item using the
createDatavalue for that item.
Examples
Example 1: Create a single leave
Resource: Leave, Operation: Create, createData: { employee_id: 123, start_date: '2025-07-01', end_date: '2025-07-05', leave_type: 'Vacation' }