AutomationFlowsGeneral › Create Notes and Comments on Any Odoo Model Record

Create Notes and Comments on Any Odoo Model Record

ByCarlos Contreras @carlosecv on n8n.io

This workflow is designed to create and attach notes or comments to any record in your Odoo instance. It acts as a sub-workflow that can be triggered by a main workflow to log messages or comments in a centralized manner. By leveraging the powerful Odoo API, this template…

Event trigger★☆☆☆☆ complexity3 nodesExecute Workflow TriggerOdoo
General Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆ Added:

This workflow corresponds to n8n.io template #3282 — we link there as the canonical source.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "g9L52eIw9UtmEKlk",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Send Log Message to Odoo",
  "tags": [],
  "nodes": [
    {
      "id": "aec2c855-0861-4757-a43e-2729d63973ea",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        0,
        0
      ],
      "parameters": {
        "workflowInputs": {
          "values": [
            {
              "name": "rec_id",
              "type": "number"
            },
            {
              "name": "message"
            },
            {
              "name": "model"
            }
          ]
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "30a07404-6aa2-4ea4-9edc-e558d551f611",
      "name": "Odoo",
      "type": "n8n-nodes-base.odoo",
      "position": [
        220,
        0
      ],
      "parameters": {
        "resource": "custom",
        "customResource": "={{ 'mail.message' }}",
        "fieldsToCreateOrUpdate": {
          "fields": [
            {
              "fieldName": "message_type",
              "fieldValue": "comment"
            },
            {
              "fieldName": "model",
              "fieldValue": "={{ $json.model }}"
            },
            {
              "fieldName": "res_id",
              "fieldValue": "={{ $json.rec_id }}"
            },
            {
              "fieldName": "body",
              "fieldValue": "={{ $json.message }}"
            }
          ]
        }
      },
      "credentials": {
        "odooApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "b5c95ef2-66a7-4706-9ffb-9359133c889e",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -580,
        -60
      ],
      "parameters": {
        "color": 6,
        "width": 400,
        "height": 260,
        "content": "## Creates a Note in an Odoo Record\nThis sub-workflow receives data from a main workflow (for example, a record ID, a message, and the Odoo model) and creates a new note (or comment) in the corresponding Odoo record. Essentially, it acts as a centralized point for logging comments or notes in a specific Odoo model, ensuring that the information remains organized and easy to track."
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "timezone": "America/Mexico_City",
    "callerPolicy": "workflowsFromSameOwner",
    "executionOrder": "v1",
    "executionTimeout": -1
  },
  "versionId": "0e263156-7239-4470-b8ad-2e46f832b74a",
  "connections": {
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Odoo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This workflow is designed to create and attach notes or comments to any record in your Odoo instance. It acts as a sub-workflow that can be triggered by a main workflow to log messages or comments in a centralized manner. By leveraging the powerful Odoo API, this template…

Source: https://n8n.io/workflows/3282/ — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Kb Tool Confluence Knowledge Base. Uses executeWorkflowTrigger, httpRequest, stickyNote. Event-driven trigger; 7 nodes.

Execute Workflow Trigger, HTTP Request
General

send_image. Uses executeWorkflowTrigger, dataTable, n8n-nodes-evolution-api-english, httpRequest. Event-driven trigger; 5 nodes.

Execute Workflow Trigger, Data Table, N8N Nodes Evolution Api English +1
General

Invoice. Uses executeWorkflowTrigger, httpRequest. Event-driven trigger; 4 nodes.

Execute Workflow Trigger, HTTP Request
General

tableToSheet. Uses executeWorkflowTrigger, dataTable, googleSheets. Event-driven trigger; 3 nodes.

Execute Workflow Trigger, Data Table, Google Sheets
General

Echo Brand Voice Analysis (Processor). Uses executeWorkflowTrigger. Event-driven trigger; 3 nodes.

Execute Workflow Trigger