Actions20
Overview
The Tameson Odoo node for n8n allows you to interact with the Odoo API, specifically targeting the "Note" resource in this context. The Get operation retrieves a specific note from your Odoo instance by its ID, optionally including additional fields as specified.
Common scenarios:
- Fetching detailed information about a particular note stored in Odoo.
- Integrating Odoo notes into other workflows, such as reporting, notifications, or data synchronization.
- Automating processes that require access to note details based on their unique identifiers.
Practical example:
You might use this node to retrieve a note's content and metadata when a related event occurs (e.g., a support ticket is updated), then pass that information to another system or send it via email.
Properties
| Name | Type | Meaning |
|---|---|---|
| Note ID | String (required) | The unique identifier of the note to retrieve from Odoo. |
| Options | Collection | Additional options for the request. |
| └─ Fields to Include | MultiOptions | List of extra fields to include in the response. You can select from available fields or specify IDs using an expression. |
Output
- The output will be a JSON object representing the requested note.
- By default, it includes standard note fields; if "Fields to Include" is specified, those fields are also present in the output.
- Example output structure:
{
"id": 123,
"memo": "This is the note content",
"create_date": "2024-06-01T12:34:56Z",
// ...other fields as requested in "Fields to Include"
}
- If an error occurs and "Continue On Fail" is enabled, the output may contain an
errorfield with the error message.
Dependencies
- Odoo API: Requires access to an Odoo instance with valid credentials (URL, username, password, and database name).
- n8n Credentials: You must configure Odoo API credentials in n8n under the name
odooApi.
Troubleshooting
Common issues:
- Invalid credentials: If the Odoo API credentials are incorrect, authentication will fail.
- Note not found: If the provided Note ID does not exist, the node may return an empty result or an error.
- Missing required property: If "Note ID" is not provided, the node will throw an error.
Error messages and resolutions:
"Credentials are not valid": Check your Odoo URL, username, password, and database name."Settings are not valid: ...": There may be a configuration issue; verify all credential fields."Cannot read properties of undefined (reading 'fieldsList')": Ensure the "Options" property is correctly set, even if left empty.