Actions21
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 (e.g., meeting notes, internal memos) stored in Odoo.
- Integrating Odoo notes into other workflows, such as sending note content to email or archiving it elsewhere.
- Automating reporting or monitoring by extracting note details for further processing.
Practical example:
You might use this node to retrieve a note's full details when a related event occurs (like a new sales opportunity), and then send that information to a Slack channel or another system.
Properties
| Name | Type | Meaning |
|---|---|---|
| Note ID | String (text) | The unique identifier of the note to retrieve. This is required to specify which note to fetch. |
| Options | Collection | Additional options for the request. |
| Fields to Include | Multi-Options | List of specific fields to include in the response. You can select from available fields or use expressions to specify field IDs. |
Output
The output will be a JSON object representing the requested note. The structure depends on the fields included via the "Fields to Include" option. At minimum, it will contain the standard fields for an Odoo note, such as:
{
"id": 123,
"memo": "This is the note content",
// ...other fields as specified in 'Fields to Include'
}
If you specify additional fields in "Fields to Include," those fields will also appear in the output.
Dependencies
- Odoo API: Requires access to an Odoo instance with valid credentials (URL, username, password, database name).
- n8n Credentials: You must configure Odoo API credentials in n8n under the name
odooApi.
Troubleshooting
Common issues:
- Invalid Note ID: If the provided Note ID does not exist, the node may return an error or an empty result.
- Missing Credentials: If Odoo API credentials are not set up correctly, authentication will fail.
- Insufficient Permissions: The Odoo user must have permission to read notes; otherwise, access will be denied.
Error messages and resolutions:
"Credentials are not valid": Check your Odoo URL, username, password, and database name in the n8n credentials."Settings are not valid: ...": There may be a misconfiguration in your Odoo connection settings."Cannot find note with ID ...": Ensure the Note ID exists in your Odoo instance.