Actions105
- Info Actions
- Messages Actions
- Homework Actions
- Absence Actions
- Calendar Actions
Overview
This node integrates with the Librus API, a platform commonly used by schools for managing educational data. Specifically, the "Homework" resource with the "Get Absence" operation allows users to retrieve detailed information about student absences. This can be useful for educators, administrators, or parents who want to track attendance records within a specified date range or for particular absence entries.
Practical examples include:
- Fetching all absences of a student between two dates to monitor attendance trends.
- Retrieving details of specific absence records by their IDs for reporting or follow-up.
- Integrating absence data into school management workflows or notifications.
Properties
| Name | Meaning |
|---|---|
| From | Optional start date (format YYYY-MM-DD) to filter absences from this date onwards. |
| To | Optional end date (format YYYY-MM-DD) to filter absences up to this date. |
| Custom method name | Advanced option to override the default API method called, e.g., specifying a different Librus API method like getMarks. |
Output
The node outputs JSON objects representing absence data retrieved from the Librus API. When multiple input items are processed, it returns an array of absence records corresponding to each requested absence ID or filtered by the date range.
The structure of each JSON object corresponds directly to the absence record as provided by the Librus API, typically including fields such as absence date, type, justification status, and related metadata.
No binary data output is produced for this operation.
Dependencies
- Requires valid credentials for the Librus API, specifically a login and password.
- The node depends on an internal client wrapper around the Librus API to perform requests.
- No additional external services or environment variables are explicitly required beyond the API credentials.
Troubleshooting
- No supported method found error: If the node throws an error indicating no supported method was found for the resource-operation combination, verify that the operation name matches one of the supported Librus API methods or use the "Custom method name" property to specify a valid method.
- Authentication failures: Ensure that the provided API credentials (login and password) are correct and have sufficient permissions.
- Empty results: If filtering by date range yields no data, confirm that the "From" and "To" dates are correctly formatted and that there are absences recorded in that period.
- Multiple absence IDs: When providing multiple input items with different absence IDs, ensure each item has a valid "absenceId" parameter set; otherwise, the node may return empty or incomplete results.
Links and References
- Librus API Documentation (official API docs, if publicly available)
- n8n Documentation for general guidance on using custom nodes and credentials
- Date Format Reference for proper date inputs (YYYY-MM-DD)