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 integrates with the HaloPSA API to manage various resources, including sites. Specifically, the Site Delete operation allows users to delete a site by its ID. This is useful in scenarios where you need to programmatically remove obsolete or incorrect site records from your HaloPSA system as part of an automated workflow.
Practical examples:
- Automatically deleting a site after it has been decommissioned.
- Cleaning up test or temporary site entries created during data imports.
- Removing sites that no longer meet certain criteria detected in upstream workflow steps.
Properties
| Name | Meaning |
|---|---|
| Site ID | The ID number of the site to delete |
Output
The node outputs JSON data representing the result of the delete operation. Typically, this will include confirmation of deletion or any relevant status message returned by the HaloPSA API. There is no indication that binary data is output by this operation.
Dependencies
- Requires an active connection to the HaloPSA API via an API key credential configured in n8n.
- The node uses HTTP requests to communicate with the HaloPSA API endpoints.
- No additional external dependencies are indicated beyond the API access.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Site ID will likely cause the API to return an error.
- Network connectivity problems can prevent successful API calls.
- Insufficient permissions on the API key may block deletion operations.
Error messages and resolutions:
- "Site not found" — Verify the Site ID exists in HaloPSA before attempting deletion.
- "Unauthorized" or "Forbidden" — Check that the API key has the necessary permissions.
- Timeouts or network errors — Ensure stable internet connection and correct API endpoint configuration.
Links and References
- HaloPSA API Documentation (general reference for API endpoints and authentication)
- n8n documentation on creating custom nodes