Dolibarr icon

Dolibarr

Interact with Dolibarr API

Contact → Get By Mail

AI-generated

Overview

This node operation retrieves contact information from the Dolibarr API by using an email address as the identifier. It is useful for scenarios where you need to fetch detailed contact data based on a known email, such as in CRM integrations, customer support automation, or marketing workflows.

Use Case Examples

  1. Fetch a contact's details by their email to personalize communication.
  2. Check if a contact exists in Dolibarr before creating a new record.
  3. Retrieve roles and usage count of a contact for reporting or access control.

Properties

Name Meaning
Email The email address of the contact to retrieve. This is a required field and is used to identify the contact in the Dolibarr system.
Include Count A boolean flag indicating whether to include the number of elements the contact is linked to in the response.
Include Roles A boolean flag indicating whether to include the roles associated with the contact in the response.

Output

JSON

  • id - Unique identifier of the contact.
  • name - Name of the contact.
  • email - Email address of the contact.
  • roles - Roles associated with the contact, if requested.
  • usageCount - Number of elements the contact is linked to, if requested.

Dependencies

  • Dolibarr API with an API key credential

Troubleshooting

  • Ensure the email parameter is provided and correctly formatted; missing or invalid email will cause errors.
  • Check API credentials and base URL configuration to avoid authentication or connection issues.
  • If the API returns 404, the contact with the specified email may not exist.
  • Timeouts or SSL issues can be resolved by adjusting the request options such as timeout duration, proxy settings, or allowing unauthorized certificates.

Links

Discussion