Dolibarr icon

Dolibarr

Interact with Dolibarr API

Overview

This node integrates with the Dolibarr API to update an existing event in the Dolibarr agenda. It allows users to modify various fields of a specified event by providing the event's unique identifier and the fields to update. This is useful for automating updates to calendar events, such as changing dates, descriptions, or other event details within Dolibarr.

Practical examples:

  • Automatically rescheduling meetings or deadlines stored in Dolibarr based on external triggers.
  • Updating event details like location or participants after receiving new information.
  • Synchronizing event changes from another system into Dolibarr’s agenda.

Properties

Name Meaning
Event ID The unique numeric identifier of the event to update in Dolibarr’s agenda.
Fields A collection of event fields to update. Users can specify which properties of the event to change (e.g., date, description).

Output

The node outputs the full response from the Dolibarr API after attempting to update the event. The main output is a JSON object representing the updated event data as returned by the API. This typically includes the event’s current state after the update.

No binary data output is involved.

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 correctly in the credentials.

Troubleshooting

  • Common issues:

    • Invalid or missing Event ID will cause the update to fail.
    • Incorrect API credentials or base URL will result in authentication errors.
    • Providing invalid field names or values in the "Fields" property may cause the API to reject the update.
  • Error messages:

    • Authentication errors indicate problems with the API key or token; verify credentials.
    • 404 Not Found errors suggest the specified Event ID does not exist.
    • Validation errors from the API usually mean some fields have incorrect formats or unsupported values; check the field definitions against Dolibarr’s API documentation.

Links and References

Discussion