Actions68
- Client Actions
- Agent Actions
- Asset Actions
- Field Info Actions
- Invoice Actions
- Site Actions
- Ticket Actions
- Ticket Status Actions
- Ticket Type Actions
- Timesheet Actions
- Timesheet Event Actions
- Webhook Actions
- Webhook Event Actions
Overview
This node interacts with the HaloPSA API to retrieve detailed information about a specific timesheet by its unique identifier. It is useful in scenarios where you need to fetch timesheet data for reporting, auditing, or integration purposes within automated workflows. For example, you might use this node to pull timesheet details for a particular agent on a given date to generate payroll reports or to verify time entries before invoicing.
Properties
| Name | Meaning |
|---|---|
| Timesheet ID | The unique identifier of the timesheet to retrieve. This is a required string input. |
| Additional Fields | Optional filters to narrow down the retrieval: • Agent ID (number) — filter by a specific agent. • Date (string) — filter by a specific date. |
Output
The node outputs JSON data representing the requested timesheet's details. This typically includes all relevant fields returned by the HaloPSA API for a timesheet, such as timesheet metadata, associated agent information, dates, hours logged, and any other related attributes.
If binary data were involved (e.g., attachments), it would be included in a separate binary property, but this node focuses on JSON output only.
Dependencies
- Requires an active connection to the HaloPSA API via an API key credential configured in n8n.
- The node depends on the HaloPSA API being accessible and the provided timesheet ID existing in the system.
- No additional external dependencies are needed beyond the configured API authentication.
Troubleshooting
Common Issues:
- Invalid or missing Timesheet ID will cause the request to fail.
- Network connectivity issues or incorrect API credentials can prevent successful API calls.
- Filtering by Agent ID or Date may return no results if the filters do not match any records.
Error Messages:
- "Timesheet not found" — Verify that the Timesheet ID is correct and exists in HaloPSA.
- "Authentication failed" — Check that the API key credential is valid and has necessary permissions.
- "Network error" — Ensure that your server or environment can reach the HaloPSA API endpoint.
Resolving these usually involves verifying input parameters, checking API credentials, and ensuring network access.
Links and References
- HaloPSA API Documentation — Official API reference for understanding available endpoints and data structures.
- n8n Documentation — Guidance on setting up API credentials and using HTTP-based nodes.