Actions21
Overview
This node allows you to create a new Note in Odoo via the Odoo API. It is designed for use cases where you need to programmatically add memos or notes to your Odoo system from within an n8n workflow. Typical scenarios include automating documentation, logging events, or attaching comments to records as part of a business process.
Practical examples:
- Automatically log customer feedback as notes in Odoo when a form is submitted.
- Add internal memos to opportunities or contacts based on workflow triggers.
- Record error messages or audit trails as notes during automated processes.
Properties
| Name | Type | Meaning |
|---|---|---|
| Memo | String | The content of the note or memo to be created in Odoo. This is required. |
Output
The output will be a JSON object representing the newly created Note in Odoo. The exact structure depends on the Odoo model configuration, but typically includes at least:
- An identifier (e.g.,
id) - The fields sent in the request (e.g.,
memo) - Any additional fields returned by Odoo upon creation
Example output:
{
"id": 123,
"memo": "This is my note"
}
If the Odoo API returns more fields, they will also be included in the output.
Dependencies
- Odoo instance: You must have access to an Odoo server with the appropriate permissions to create notes.
- API Credentials: The node requires valid Odoo API credentials (
url,username,password, and optionallydb). - n8n Configuration: The Odoo API credentials must be set up in n8n under the name
odooApi.
Troubleshooting
Common issues:
- Invalid credentials: If the provided Odoo credentials are incorrect, authentication will fail. The node will return an error such as
Credentials are not valid.- Resolution: Double-check your Odoo URL, username, password, and database name.
- Missing required property: If the "Memo" field is empty or missing, the node will throw an error indicating that a required parameter is missing.
- Resolution: Ensure the "Memo" property is filled in the node configuration.
- Odoo server errors: If the Odoo server is unreachable or returns an error, the node will display the error message from Odoo.
- Resolution: Check network connectivity and Odoo server status.