Odoo icon

Odoo

Consume Odoo API

Actions20

Overview

This node interacts with the Odoo API to retrieve all contact records. It supports fetching either all contacts or a limited number based on user input. This is useful for scenarios where you need to extract contact data from Odoo for further processing, reporting, or integration with other systems. For example, you can use it to synchronize contacts with a CRM or export contact lists for marketing campaigns.

Use Case Examples

  1. Retrieve all contacts from Odoo without limit.
  2. Fetch up to 100 contacts from Odoo with specific fields included.

Properties

Name Meaning
Return All Determines whether to return all contact records or limit the number of results.
Limit Specifies the maximum number of contact records to return when 'Return All' is false.
Options Additional options for the request, such as selecting specific fields to include in the response.

Output

JSON

  • id - Unique identifier of the contact.
  • name - Name of the contact.
  • email - Email address of the contact, if included.
  • phone - Phone number of the contact, if included.
  • otherFields - Other contact fields as specified in the 'Fields To Include' option.

Dependencies

  • Requires Odoo API credentials including URL, username, password, and database name.

Troubleshooting

  • Ensure that the Odoo API credentials are correct and have sufficient permissions to read contact data.
  • If the node returns an error about authentication, verify the API credentials and test the connection using the provided credential test feature.
  • If no contacts are returned, check the filters and fields selected in the options to ensure they match existing data.

Links

Discussion