Tameson Odoo icon

Tameson Odoo

Consume Odoo API

Actions20

Overview

The Tameson Odoo node for n8n allows you to interact with the Odoo API. Specifically, when configured with the Contact resource and the Delete operation, this node deletes a contact from your Odoo system based on the provided Contact ID.

Common scenarios:

  • Automating the removal of outdated or duplicate contacts in Odoo.
  • Integrating Odoo contact management with other systems (e.g., deleting a contact in Odoo when it is removed from another CRM).
  • Cleaning up test data or managing contacts as part of larger business workflows.

Practical example:
You might use this node in a workflow that listens for contact deletions in another application (like HubSpot or Salesforce) and automatically removes the corresponding contact in Odoo to keep both systems synchronized.


Properties

Name Type Meaning
Contact ID String The unique identifier of the contact to be deleted in Odoo. This field is required.

Output

  • The output will be an array of JSON objects, one per input item processed.
  • For each successful deletion, the output will typically contain confirmation details from Odoo (such as a success flag or the ID of the deleted contact). If an error occurs and "Continue On Fail" is enabled, the output will include an error field with the error message.

Example output:

[
  {
    "result": true
  }
]

or, if an error occurs:

[
  {
    "error": "Record not found"
  }
]

Dependencies

  • Odoo instance: You must have access to an Odoo server.
  • API Credentials: The node requires valid Odoo API credentials (odooApi) including URL, username, password, and database name.
  • n8n Configuration: Credentials must be set up in n8n under the name odooApi.

Troubleshooting

Common issues:

  • Invalid Contact ID: If the provided Contact ID does not exist in Odoo, the node may return an error such as "Record not found".
  • Authentication errors: If the Odoo credentials are incorrect or missing, you may see errors like "Credentials are not valid" or "Settings are not valid".
  • Connection issues: Network problems or incorrect Odoo URL can result in connection errors.

How to resolve:

  • Double-check the Contact ID for typos or ensure it exists in Odoo.
  • Verify that your Odoo credentials (URL, username, password, database) are correct and have sufficient permissions.
  • Ensure your n8n instance can reach the Odoo server (no firewall or network restrictions).

Links and References

Discussion