Actions28
Overview
This node integrates with the Dolibarr API to manage events within the Dolibarr system. Specifically, the "Delete Event" operation allows users to remove an event by specifying its unique Event ID. This is useful in scenarios where outdated or incorrect events need to be cleaned up from the calendar or agenda managed in Dolibarr.
Practical examples include:
- Automatically deleting canceled meetings or appointments.
- Cleaning up test or temporary events created during workflows.
- Managing event lifecycle by removing past or irrelevant entries programmatically.
Properties
| Name | Meaning |
|---|---|
| Event ID | The unique numeric identifier of the event to delete |
Output
The node outputs the full HTTP response returned by the Dolibarr API when attempting to delete the specified event. The json output field typically contains confirmation of deletion or error details if the operation failed.
No binary data is produced by this operation.
Dependencies
- Requires a valid API authentication token for Dolibarr (configured as credentials in n8n).
- Needs the base URL of the Dolibarr instance to be set in the credentials.
- The node uses the Dolibarr REST API endpoint
/agendaevents/{eventID}to perform the deletion.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Event ID will result in an error from the API.
- Missing or incorrect API credentials will cause authentication failures.
- Network connectivity problems can prevent reaching the Dolibarr server.
Error messages and resolutions:
- 404 Not Found: The specified Event ID does not exist. Verify the Event ID is correct.
- 401 Unauthorized: Authentication failed. Check that the API key/token and base URL are correctly configured.
- 500 Internal Server Error: Server-side issue; retry later or check Dolibarr server logs.
Links and References
- Dolibarr API Documentation (general reference for API endpoints)
- n8n Documentation on Credentials (for setting up API authentication)