{
  "name": "AI-Powered Zoho CRM Lead Management with OpenAI GPT",
  "nodes": [
    {
      "id": "9b3a9170-e9e5-41bf-92eb-b044d0f9a84a",
      "name": "MCP Server Trigger",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -448,
        -336
      ]
    },
    {
      "id": "0c592c54-b21e-40fe-b1bc-e49088be7730",
      "name": "Create a lead in Zoho CRM",
      "type": "n8n-nodes-base.zohoCrmTool",
      "position": [
        -688,
        -128
      ]
    },
    {
      "id": "b63e3d6a-743a-4b40-a39c-03e51ad7c84e",
      "name": "Delete a lead in Zoho CRM",
      "type": "n8n-nodes-base.zohoCrmTool",
      "position": [
        -512,
        -128
      ]
    },
    {
      "id": "43531271-45db-4a2d-93b0-96095ac8f98f",
      "name": "Get a lead in Zoho CRM",
      "type": "n8n-nodes-base.zohoCrmTool",
      "position": [
        -96,
        -128
      ]
    },
    {
      "id": "712a8aa5-97db-4620-8036-5d611d5807fb",
      "name": "Get All leads in Zoho CRM",
      "type": "n8n-nodes-base.zohoCrmTool",
      "position": [
        64,
        -128
      ]
    },
    {
      "id": "7efe805e-4cb2-4f79-be08-64646a32b00c",
      "name": "Update a lead in Zoho CRM",
      "type": "n8n-nodes-base.zohoCrmTool",
      "position": [
        -256,
        -128
      ]
    },
    {
      "id": "e67008c6-776a-4f33-bf5a-c54471dc3c85",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        512,
        -368
      ]
    },
    {
      "id": "cf3071d3-5189-4a97-91db-7939077b894c",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        464,
        -160
      ]
    },
    {
      "id": "e2d2b1c1-dbb4-4c94-9500-e252e0510c79",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        336,
        48
      ]
    },
    {
      "id": "2ad8529a-1e84-4522-9ee5-632dff0958d1",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        480,
        48
      ]
    },
    {
      "id": "8279e190-dff3-45aa-87ed-77ec46250d4c",
      "name": "MCP Client",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        736,
        48
      ]
    },
    {
      "id": "b9da96be-06b3-42c5-b73f-99e7acd6314d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1552,
        -464
      ],
      "parameters": {
        "width": 688,
        "height": 624,
        "content": "### 🚀 Configure n8n Zoho CRM + MCP + OpenAI Flow\n\n1. **Import workflow** → *Workflows → Import → upload JSON*.\n2. **Add Zoho credentials** → *Credentials → New → Zoho OAuth2 API* → enter Client ID/Sec"
      }
    },
    {
      "id": "8aeecab8-d866-47ee-8bf0-fa6a916e8012",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -800,
        -464
      ],
      "parameters": {
        "width": 1008,
        "height": 624,
        "content": "## Zoho CRM MCP Server\nThis MCP Server talks with various Zoho APIs via MCP Server trigger node, based on the APIs added as tools, AI Agent decides whic API to call based on user prompt in real time"
      }
    },
    {
      "id": "e62154ed-9a85-4521-8d87-46dd97083410",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        272,
        -464
      ],
      "parameters": {
        "width": 608,
        "height": 624,
        "content": "## AI Agent chat bot\nThis AI Agent talks with Zoho CRM via MCP Client node which is linked to MCP Server based on available tools"
      }
    }
  ],
  "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 lead in Zoho CRM": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create a lead in Zoho CRM": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete a lead in Zoho CRM": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get All leads in Zoho CRM": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update a lead in Zoho CRM": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}