Odoo icon

Odoo

Consume Odoo API

Actions20

Overview

This node interacts with the Odoo API to manage Contact resources, specifically supporting the deletion of contacts by their Contact ID. It is useful in scenarios where automated workflows need to remove contact records from an Odoo database, such as cleaning up outdated or incorrect contact information.

Use Case Examples

  1. Deleting a contact by specifying its Contact ID to keep the Odoo CRM data up to date.
  2. Automating the removal of contacts that meet certain criteria as part of a larger workflow.

Properties

Name Meaning
Contact ID The unique identifier of the contact to be deleted. This is a required field when performing the delete operation on a contact.

Output

JSON

  • id - The ID of the deleted contact, confirming successful deletion.
  • result - The result status of the delete operation, typically a boolean indicating success or failure.

Dependencies

  • Requires an Odoo API key credential with URL, username, password, and database name to authenticate and authorize API requests.

Troubleshooting

  • Common issues include invalid or missing Contact ID, which will cause the delete operation to fail.
  • Authentication errors due to incorrect Odoo API credentials will prevent any operation from succeeding.
  • Network or API endpoint issues can cause request failures; ensure the Odoo server URL is correct and accessible.

Links

Discussion