Actions21
Overview
The Odoo node for n8n allows you to interact with the Odoo API. Specifically, when using the Note resource and the Create operation, this node enables you to create a new note in your Odoo system. This is useful for automating the process of adding memos or notes to records within Odoo, such as logging meeting summaries, reminders, or any other textual information that needs to be tracked.
Practical examples:
- Automatically log customer feedback as notes after receiving survey responses.
- Add internal memos to opportunities or contacts based on workflow triggers.
- Record status updates or comments from other systems directly into Odoo notes.
Properties
| Name | Meaning |
|---|---|
| Memo | The content of the note to be created. This is a required text field where you enter the memo or message you want to store in Odoo. |
Output
The output will be a JSON object representing the newly created note in Odoo. The structure typically includes fields returned by the Odoo API for the note record, such as:
{
"id": 123,
"memo": "Your note content",
// ...other fields provided by Odoo for the note resource
}
- The exact fields may vary depending on your Odoo configuration and version.
- If an error occurs and "Continue On Fail" is enabled, the output will include an
errorfield with the error message.
Dependencies
- Odoo instance: You must have access to an Odoo server.
- API Credentials: The node requires valid Odoo API credentials (URL, username, password, and database name) configured in n8n under the credential type
odooApi. - n8n Configuration: No special environment variables are needed beyond standard credential setup.
Troubleshooting
Common issues:
- Invalid credentials: If the Odoo API credentials are incorrect, authentication will fail. The node will return an error like
Credentials are not validorSettings are not valid. - Missing required property: If the "Memo" field is empty or missing, the node will throw an error indicating that a required parameter is missing.
- Connection errors: Network issues or incorrect Odoo URL can result in connection failures.
How to resolve:
- Double-check your Odoo API credentials and ensure the user has permission to create notes.
- Make sure the Odoo server is accessible from your n8n instance.
- Ensure the "Memo" property is filled in for each item processed.