{
  "name": "Manage Odoo CRM with natural language using OpenAI and MCP Server",
  "nodes": [
    {
      "id": "9949855b-6c5e-44cf-990b-c4e1e8852c35",
      "name": "MCP Server Trigger",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        176,
        -272
      ]
    },
    {
      "id": "69f4ad5f-b7c4-46a2-88bd-96b2b1abfbc4",
      "name": "Create a contact in Odoo",
      "type": "n8n-nodes-base.odooTool",
      "position": [
        -144,
        -80
      ]
    },
    {
      "id": "84afdf3a-f2ee-435d-b1c1-acdc8d9bf1d0",
      "name": "Delete a contact in Odoo",
      "type": "n8n-nodes-base.odooTool",
      "position": [
        32,
        -80
      ]
    },
    {
      "id": "fc420fe4-118f-4754-96c3-39206d68fca8",
      "name": "Update a contact in Odoo",
      "type": "n8n-nodes-base.odooTool",
      "position": [
        208,
        -80
      ]
    },
    {
      "id": "1e55ceb5-62da-44bc-bc81-26ad8f13cf91",
      "name": "Get a contact in Odoo",
      "type": "n8n-nodes-base.odooTool",
      "position": [
        432,
        -80
      ]
    },
    {
      "id": "8c53f0b5-b233-40bc-9612-4593ec76042f",
      "name": "Get All contacts in Odoo",
      "type": "n8n-nodes-base.odooTool",
      "position": [
        592,
        -80
      ]
    },
    {
      "id": "69a754a4-00a3-46cb-a6f8-1f2752a8a5b0",
      "name": "Create an opportunity in Odoo",
      "type": "n8n-nodes-base.odooTool",
      "position": [
        -144,
        144
      ]
    },
    {
      "id": "9d270bd6-cba4-418a-b4c0-bb7500ccc435",
      "name": "Delete an opportunity in Odoo",
      "type": "n8n-nodes-base.odooTool",
      "position": [
        32,
        144
      ]
    },
    {
      "id": "7726151c-bd6e-4b91-bd94-bcc96d3581ca",
      "name": "Update an opportunity in Odoo",
      "type": "n8n-nodes-base.odooTool",
      "position": [
        208,
        144
      ]
    },
    {
      "id": "8052768f-d070-40e7-8e9e-fb4fef343c46",
      "name": "Get many opportunities in Odoo",
      "type": "n8n-nodes-base.odooTool",
      "position": [
        592,
        144
      ]
    },
    {
      "id": "0fba45f0-caee-4c73-8bbd-30b33d207e4c",
      "name": "Get an opportunity in Odoo",
      "type": "n8n-nodes-base.odooTool",
      "position": [
        432,
        144
      ]
    },
    {
      "id": "48477060-bf19-457f-9e7a-55414c8a3e0a",
      "name": "Create a note in Odoo",
      "type": "n8n-nodes-base.odooTool",
      "position": [
        -144,
        352
      ]
    },
    {
      "id": "e43f3b14-919a-47df-9ac2-939ffc5e9d23",
      "name": "Delete a note in Odoo",
      "type": "n8n-nodes-base.odooTool",
      "position": [
        32,
        352
      ]
    },
    {
      "id": "1446443c-a2c2-4e99-9313-751f62e68bd1",
      "name": "Update a note in Odoo",
      "type": "n8n-nodes-base.odooTool",
      "position": [
        208,
        352
      ]
    },
    {
      "id": "cf62f6e3-a70f-48b4-9d7a-6a1992d39d55",
      "name": "Get a note in Odoo",
      "type": "n8n-nodes-base.odooTool",
      "position": [
        432,
        352
      ]
    },
    {
      "id": "9892dd6c-4fe1-4a34-9dd1-927ec98336e7",
      "name": "Get many notes in Odoo",
      "type": "n8n-nodes-base.odooTool",
      "position": [
        592,
        352
      ]
    },
    {
      "id": "c568c707-e4cd-4c05-81f1-301f8644ea10",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        944,
        -256
      ]
    },
    {
      "id": "4e432f4e-a4f3-48fa-a9ae-223467651720",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        896,
        -48
      ]
    },
    {
      "id": "2d448a7a-a696-4241-81d1-db2a33c7768c",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        960,
        128
      ]
    },
    {
      "id": "107a5d76-1d58-48b1-a75f-f9f60fd15e3b",
      "name": "MCP Client",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        1088,
        128
      ]
    },
    {
      "id": "c791f5f5-0592-4108-a622-6423c015565f",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        800,
        128
      ]
    },
    {
      "id": "b646a553-202d-4146-abcd-8ace0cca3fbb",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -304,
        -128
      ],
      "parameters": {
        "width": 1056,
        "height": 208,
        "content": "## Contacts"
      }
    },
    {
      "id": "e9d8ea67-a4de-4df7-be33-32d8f9f3f560",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -304,
        96
      ],
      "parameters": {
        "width": 1056,
        "height": 208,
        "content": "## Opportunities"
      }
    },
    {
      "id": "6e6ed7a6-708e-4436-a40d-68c8f4d5eed9",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -304,
        320
      ],
      "parameters": {
        "width": 1056,
        "height": 208,
        "content": "## Notes"
      }
    },
    {
      "id": "5a18c3b1-5098-4e29-ad02-cac46a9ba66f",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1104,
        -368
      ],
      "parameters": {
        "width": 768,
        "height": 1136,
        "content": "## ⚙️ Setup Guide\n\nFollow these steps to set up and run the workflow:\n\n### 1. Prerequisites\n- An **Odoo instance** configured with CRM enabled.  \n- An **n8n** or **automation platform** account where "
      }
    }
  ],
  "connections": {
    "MCP Client": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get a note in Odoo": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create a note in Odoo": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete a note in Odoo": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get a contact in Odoo": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update a note in Odoo": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get many notes in Odoo": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create a contact in Odoo": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete a contact in Odoo": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get All contacts in Odoo": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update a contact in Odoo": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get an opportunity in Odoo": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create an opportunity in Odoo": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete an opportunity in Odoo": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update an opportunity in Odoo": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get many opportunities in Odoo": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}