AutomationFlowsAI & RAG › Connect AI to Any Chats in Kommo

Connect AI to Any Chats in Kommo

Byyatolstoy @yatolstoy on n8n.io

Entrust customer service to AI using n8n and Kommo! Using this workflow, you can make the AI agent answer customer questions for your managers. See how it works in the video. Works with any message channel that is connected to Kommo (telegram, whatsapp, facebook) Understands…

Webhook trigger★★★★☆ complexityAI-powered25 nodesHTTP RequestAgentOpenAI ChatMemory Buffer WindowOpenAI
AI & RAG Trigger: Webhook Nodes: 25 Complexity: ★★★★☆ AI nodes: yes Added:

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

This workflow follows the Agent → HTTP Request recipe pattern — see all workflows that pair these two integrations.

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": "V2Kh7IOk04hNteH9",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Connect AI to Kommo",
  "tags": [],
  "nodes": [
    {
      "id": "510e43ca-7ae7-4212-94d7-0ea880fe8366",
      "name": "isVoice",
      "type": "n8n-nodes-base.if",
      "position": [
        1760,
        -140
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "f9b107c0-b283-4b1a-9e71-996fa331d2c2",
      "name": "get voice",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1960,
        -180
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "99ac5b7d-a31b-49fa-afe4-ace35dcad7c5",
      "name": "get_entity",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1280,
        -140
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "73d03fdd-82ce-4f56-abe6-4f5479ae25e7",
      "name": "ai",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2500,
        -120
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "4c4244da-fa83-4fef-8f06-8f6856786eca",
      "name": "model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2480,
        60
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "dcd9b4da-ff5c-42bf-9cc4-08fc2fdf19df",
      "name": "memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2580,
        60
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "662eab99-9341-43fb-9a41-cf2cf2c5f4fd",
      "name": "hasStopTag",
      "type": "n8n-nodes-base.switch",
      "position": [
        1520,
        -140
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "9c896b8b-d259-4747-8fff-27168f56ed4f",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1720,
        -200
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7ba5c636-26c6-4b19-8e06-64063612b43c",
      "name": "transcribe voice",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2140,
        -180
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "7e7a189c-571a-4e58-8150-a1dfeec3d1d0",
      "name": "setText",
      "type": "n8n-nodes-base.set",
      "position": [
        2340,
        -120
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "d8e951a6-1b69-4355-9f80-1445984869ba",
      "name": "Get token",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2840,
        -120
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "6a678a0b-f54f-4f48-bf2b-f5b5d557a402",
      "name": "Recieve message",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3000,
        -120
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "9cd9b3f6-f6a1-4ada-bf75-708e41422f0a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2800,
        -180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0808dbf6-dec5-46cb-93b2-6fe32997543b",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        920,
        -460
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ae5267e9-1b79-4fc4-8ed6-2bfef0ab5208",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        920,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "00ee756a-e524-4643-9e3d-4f631937927c",
      "name": "new_message",
      "type": "n8n-nodes-base.webhook",
      "position": [
        920,
        -140
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "e2529238-9812-4bdc-9830-683d11205abd",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1500,
        40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9af6afc0-30e5-48c3-9ecd-78fd816fb102",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1280,
        40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "faf33241-b218-4d2d-aabd-2e3156df85ed",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1b818418-71d3-4609-a4be-e9b5c31a27fd",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2500,
        200
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d692adb2-bb7b-4d73-9358-363e3a67bbc6",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2880,
        40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c7a456fc-5265-48bd-9897-2c84b74a60f6",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1240,
        -200
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c43e082a-d94b-458d-a508-7a567d00ad5c",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2500,
        -219
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "03c4a010-cafe-47b9-a24e-3434b11d6326",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2680,
        80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "04e3f9b4-1202-4aa1-8ebc-0a39f74d1ac5",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1720,
        -460
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2c7d15da-0b64-43a0-812f-7d3118f5fdc9",
  "connections": {
    "ai": {
      "main": [
        [
          {
            "node": "Get token",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "model": {
      "ai_languageModel": [
        [
          {
            "node": "ai",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "memory": {
      "ai_memory": [
        [
          {
            "node": "ai",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "isVoice": {
      "main": [
        [
          {
            "node": "get voice",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "setText",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "setText": {
      "main": [
        [
          {
            "node": "ai",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get token": {
      "main": [
        [
          {
            "node": "Recieve message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get voice": {
      "main": [
        [
          {
            "node": "transcribe voice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_entity": {
      "main": [
        [
          {
            "node": "hasStopTag",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "hasStopTag": {
      "main": [
        [
          {
            "node": "isVoice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "new_message": {
      "main": [
        [
          {
            "node": "get_entity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Recieve message": {
      "main": [
        []
      ]
    },
    "transcribe voice": {
      "main": [
        [
          {
            "node": "setText",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

About this workflow

Entrust customer service to AI using n8n and Kommo! Using this workflow, you can make the AI agent answer customer questions for your managers. See how it works in the video. Works with any message channel that is connected to Kommo (telegram, whatsapp, facebook) Understands…

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

More AI & RAG workflows → · Browse all categories →

Related workflows

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

AI & RAG

My workflow 15. Uses httpRequest, memoryBufferWindow, agent, lmChatOpenAi. Webhook trigger; 74 nodes.

HTTP Request, Memory Buffer Window, Agent +5
AI & RAG

This workflow transforms WhatsApp into a powerful personal AI using n8n + Green-API. Send text or voice messages — the assistant understands intent and handles daily tasks automatically. 💰 Expense & i

Tool Calculator, Google Sheets Tool, OpenAI Chat +10
AI & RAG

This workflow is designed for professionals, companies, and agencies that want to automate competitive analysis based on public reviews and opinions found on the Internet. It is especially useful for:

Agent, OpenAI Chat, OpenAI +4
AI & RAG

Telegram Ai Bot. Uses openAi, httpRequest, agent, memoryBufferWindow. Webhook trigger; 38 nodes.

OpenAI, HTTP Request, Agent +3
AI & RAG

Whatsapp Lead Agent. Uses httpRequest, hunter, @tavily/n8n-nodes-tavily, @mendable/n8n-nodes-firecrawl. Webhook trigger; 35 nodes.

HTTP Request, Hunter, @Tavily/N8N Nodes Tavily +11