Actions28
Overview
This node integrates with the Dolibarr API to create new events within the Dolibarr system. It is useful for automating event creation related to users or other entities managed in Dolibarr, such as logging activities, scheduling tasks, or tracking interactions.
Typical use cases include:
- Automatically creating an event when a user performs a specific action.
- Logging custom event types with additional fields for detailed tracking.
- Integrating external systems that trigger events in Dolibarr based on business workflows.
For example, you could use this node to create an event of type "AC_OTH_AUTO" associated with a particular owner user ID, and add custom fields describing the event details.
Properties
| Name | Meaning |
|---|---|
| Owner ID | The numeric ID of the owner user to whom the event will be linked. |
| Type Code | The code representing the type of event to create. Default is "AC_OTH_AUTO". |
| Fields | A collection of additional custom fields to include in the event, allowing flexible data. |
Output
The node outputs JSON data representing the response from the Dolibarr API after creating the event. This typically includes details of the newly created event such as its ID, timestamps, and any other metadata returned by the API.
If the API supports binary data output (not indicated here), it would represent attachments or files related to the event, but this node focuses on JSON responses.
Dependencies
- Requires an active connection to a Dolibarr instance via its REST API.
- Needs an API authentication token or key configured in n8n credentials to authorize requests.
- The base URL of the Dolibarr API must be set in the credentials configuration.
- No additional external services are required beyond Dolibarr itself.
Troubleshooting
- Authentication errors: Ensure the API key or token is valid and has sufficient permissions to create events.
- Invalid Owner ID: The owner ID must be a positive integer corresponding to an existing user in Dolibarr.
- Type Code issues: Use valid event type codes recognized by Dolibarr; otherwise, the API may reject the request.
- API connectivity: Verify network access to the Dolibarr API endpoint and correct base URL configuration.
- Unexpected API errors: Check the full API response for error messages; enable full response logging if needed.
Links and References
- Dolibarr Official API Documentation
- Dolibarr Event Management (general info about events in Dolibarr)