Actions101
- Attendance Actions
- Client Actions
- Department Actions
- Designation Actions
- Employee Actions
- Holiday Actions
- KPI Actions
- KPI Category Actions
- KPI Data Actions
- Lead Actions
- Leave Actions
- OKR Key Result Actions
- OKR Objective Actions
- Performance Cycle Actions
- Project Actions
- Project Category Actions
- Task Actions
- Task Category Actions
- Ticket Actions
- Ticket Agent Actions
- Ticket Channel Actions
- Ticket Type Actions
Overview
This node integrates with the Flowyteam API to manage leave requests. Specifically, the "Delete" operation under the "Leave" resource allows users to delete a leave request by its ID. This is useful in scenarios where a leave request was created by mistake or needs to be revoked.
Practical examples:
- Automatically removing canceled leave requests from the system.
- Cleaning up test or dummy leave entries during workflow automation.
- Integrating with HR systems to synchronize leave data and remove outdated requests.
Properties
| Name | Meaning |
|---|---|
| Leave Request ID | ID of the leave request to delete |
Output
The output JSON contains the response from the Flowyteam API after attempting to delete the specified leave request. Typically, this will include confirmation of deletion or an error message if the deletion failed.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the Flowyteam API.
- The node depends on the Flowyteam API being accessible and the provided leave request ID being valid.
- Proper configuration of the API authentication credentials in n8n is necessary.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Leave Request ID will likely result in an error.
- Network connectivity problems can cause API call failures.
- Insufficient permissions or invalid API credentials may prevent deletion.
Error messages and resolutions:
- "Leave request not found": Verify that the Leave Request ID is correct and exists.
- Authentication errors: Check that the API key credential is correctly configured and has the required permissions.
- Network errors/timeouts: Ensure stable internet connection and that the Flowyteam API endpoint is reachable.
Links and References
- Flowyteam API documentation (for leave management endpoints) — consult the official Flowyteam API docs for detailed information on leave request deletion and related operations.