Dolibarr icon

Dolibarr

Interact with Dolibarr API

Event → Create

AI-generated

Overview

This node interacts with the Dolibarr API to create a new event. It is useful for automating the creation of events within Dolibarr, such as logging activities or scheduling tasks related to users or other entities. For example, it can be used to create an event with a specific owner and type code, along with additional custom fields.

Use Case Examples

  1. Creating a new event assigned to a specific user by their ID.
  2. Creating an event with a predefined type code and additional custom fields to capture more details about the event.

Properties

Name Meaning
Owner ID The user ID of the event owner, required to assign ownership of the event.
Type Code The code representing the type of event to create, required to categorize the event.
Fields Additional custom fields for the event, allowing for extended event details.
Request Options Settings for request behavior such as batching, SSL certificate validation, proxy usage, and timeout configuration.

Output

JSON

  • userownerid - The ID of the user who owns the created event.
  • type_code - The type code of the created event.
  • fields - Additional fields included in the event creation request.

Dependencies

  • Dolibarr API with an API key credential

Troubleshooting

  • Ensure the Owner ID is a valid user ID in Dolibarr; invalid IDs will cause errors.
  • The Type Code must be a valid event type recognized by Dolibarr; otherwise, the API may reject the request.
  • If batching is enabled, ensure batch size and interval are set appropriately to avoid request throttling issues.
  • If SSL certificate validation fails and 'Ignore SSL Issues' is not enabled, requests will be blocked; enable this option only if you trust the source.
  • Proxy settings must be correctly formatted; incorrect proxy URLs or credentials will cause connection failures.
  • Timeout should be set considering the expected response time; too short a timeout may abort valid requests.

Discussion