Actions21
Note → Get
AI-generatedOverview
The Odoo node for n8n allows you to interact with the Odoo API. Specifically, when using the Note resource and the Get operation, this node retrieves a single note from your Odoo instance by its ID. This is useful in scenarios where you need to fetch details of a specific note for further processing, reporting, or integration with other systems.
Practical examples:
- Retrieve a note's content to include in an automated report.
- Fetch a note to check its status or metadata before triggering another workflow.
- Integrate Odoo notes with external documentation or ticketing systems.
Properties
| Name | Meaning |
|---|---|
| Note ID | The unique identifier of the note you want to retrieve. This is required. |
| Options | Additional options for the request. Contains: Fields to Include: Select which fields of the note to return. You can choose from a list or specify field IDs using an expression. |
Output
The output will be a JSON object representing the requested note. The structure of the output depends on the fields selected in "Fields to Include". By default, all standard fields of the note will be included if no specific fields are chosen.
Example output:
{
"id": 123,
"memo": "This is a sample note",
"create_date": "2024-06-01T12:34:56Z",
// ...other fields as specified in "Fields to Include"
}
- If an error occurs and "Continue On Fail" is enabled, the output will contain an
errorfield with the error message.
Dependencies
- Odoo API: Requires access to an Odoo instance.
- Credentials: You must configure Odoo API credentials (URL, database name, username, password) in n8n under the credential type
odooApi.
Troubleshooting
Common issues:
- Invalid Credentials: If the credentials are incorrect, the node will return an authentication error. Double-check your Odoo URL, database name, username, and password.
- Note Not Found: If the provided Note ID does not exist, the node may return an empty result or an error indicating that the record was not found.
- Field Selection Errors: If you specify invalid field names in "Fields to Include", the node may return an error from the Odoo API.
Error messages:
"Credentials are not valid": Check your Odoo credentials."Settings are not valid: ...": There may be a configuration issue; verify all connection parameters."error": "<message>": If "Continue On Fail" is enabled, errors will appear in the output under theerrorkey.