Actions17
- Announcement Actions
- Employee Actions
- Holiday Actions
- Leave Request Actions
- Planning Actions
Overview
The node interacts with a Pulse API to perform various office-related actions. Specifically, for the Leave Request resource and the Generate Leave Balance Report operation, it generates a leave balance report for employees within a specified date range. This report helps HR teams or managers track how much leave balance employees have over a given period.
Common scenarios where this node is beneficial include:
- Generating monthly or quarterly leave balance reports for payroll or auditing.
- Automating leave balance tracking in HR workflows.
- Integrating leave balance data into broader reporting or dashboard systems.
For example, an HR automation workflow could use this node to generate a leave balance report from the 1st to the last day of a month and then send the report via email or store it in a document management system.
Properties
| Name | Meaning |
|---|---|
| From Date * | The start date (inclusive) for the leave balance report, formatted as YYYY-MM-DD. |
| To Date * | The end date (inclusive) for the leave balance report, formatted as YYYY-MM-DD. |
| Additional Fields | Optional extra fields to customize the request. Currently supports: - Report Name: The name/title to assign to the generated leave balance report (default: "Leave Balance Report"). |
Output
- The node outputs the leave balance report as binary data. This typically represents a file (e.g., PDF, Excel, or CSV) containing the report.
- The
jsonoutput field is empty ({}) for this operation. - Users can access the binary data to save the report to disk, upload it elsewhere, or process it further in their workflow.
Dependencies
- Requires connection to the Pulse API service.
- Needs an API authentication token or key configured in n8n credentials to authorize requests to the Pulse API.
- No other external dependencies are indicated.
Troubleshooting
- Common issues:
- Invalid or missing date inputs may cause the API to reject the request or return no data.
- Authentication failures if the API key/credential is incorrect or expired.
- Network connectivity problems preventing access to the Pulse API.
- Error messages:
"Unknown operation: \"generateLeaveBalanceReport\" is not supported for resource \"leaveRequest\"!"— indicates a misconfiguration of the operation or resource in the node parameters.- API errors returned by the Pulse API will be surfaced; ensure that the date range is valid and the API credentials are correct.
- Resolutions:
- Verify that the "From Date" and "To Date" are correctly set and in the proper format.
- Confirm that the API credential is properly configured and has necessary permissions.
- Check network connectivity and Pulse API service status.
Links and References
- Pulse API Documentation (replace with actual URL)
- n8n documentation on working with binary data
- General guide on date and time handling in n8n