KommoへAIを接続

上級

これはSupport, AI分野の自動化ワークフローで、25個のノードを含みます。主にIf, Set, Switch, Webhook, HttpRequestなどのノードを使用、AI技術を活用したスマート自動化を実現。 AIをKommoの任意のチャットに接続

前提条件
  • HTTP Webhookエンドポイント(n8nが自動生成)
  • ターゲットAPIの認証情報が必要な場合あり
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "V2Kh7IOk04hNteH9",
  "meta": {
    "instanceId": "17f738ee24605f0c427d79d36620a2177b9dffa96b085bf0d20a0125bb5d66b4",
    "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": "付箋1",
      "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": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2800,
        -180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0808dbf6-dec5-46cb-93b2-6fe32997543b",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        920,
        -460
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ae5267e9-1b79-4fc4-8ed6-2bfef0ab5208",
      "name": "付箋4",
      "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
      ],
      "webhookId": "e923532a-db92-481a-8a89-486bc7d853d2",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "e2529238-9812-4bdc-9830-683d11205abd",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1500,
        40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9af6afc0-30e5-48c3-9ecd-78fd816fb102",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1280,
        40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "faf33241-b218-4d2d-aabd-2e3156df85ed",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1b818418-71d3-4609-a4be-e9b5c31a27fd",
      "name": "付箋7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2500,
        200
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d692adb2-bb7b-4d73-9358-363e3a67bbc6",
      "name": "付箋8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2880,
        40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c7a456fc-5265-48bd-9897-2c84b74a60f6",
      "name": "付箋9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1240,
        -200
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c43e082a-d94b-458d-a508-7a567d00ad5c",
      "name": "付箋10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2500,
        -219
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "03c4a010-cafe-47b9-a24e-3434b11d6326",
      "name": "付箋11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2680,
        80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "04e3f9b4-1202-4aa1-8ebc-0a39f74d1ac5",
      "name": "付箋12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1720,
        -460
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2c7d15da-0b64-43a0-812f-7d3118f5fdc9",
  "connections": {
    "73d03fdd-82ce-4f56-abe6-4f5479ae25e7": {
      "main": [
        [
          {
            "node": "d8e951a6-1b69-4355-9f80-1445984869ba",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4c4244da-fa83-4fef-8f06-8f6856786eca": {
      "ai_languageModel": [
        [
          {
            "node": "73d03fdd-82ce-4f56-abe6-4f5479ae25e7",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "dcd9b4da-ff5c-42bf-9cc4-08fc2fdf19df": {
      "ai_memory": [
        [
          {
            "node": "73d03fdd-82ce-4f56-abe6-4f5479ae25e7",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "510e43ca-7ae7-4212-94d7-0ea880fe8366": {
      "main": [
        [
          {
            "node": "f9b107c0-b283-4b1a-9e71-996fa331d2c2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "7e7a189c-571a-4e58-8150-a1dfeec3d1d0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7e7a189c-571a-4e58-8150-a1dfeec3d1d0": {
      "main": [
        [
          {
            "node": "73d03fdd-82ce-4f56-abe6-4f5479ae25e7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d8e951a6-1b69-4355-9f80-1445984869ba": {
      "main": [
        [
          {
            "node": "6a678a0b-f54f-4f48-bf2b-f5b5d557a402",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f9b107c0-b283-4b1a-9e71-996fa331d2c2": {
      "main": [
        [
          {
            "node": "7ba5c636-26c6-4b19-8e06-64063612b43c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "99ac5b7d-a31b-49fa-afe4-ace35dcad7c5": {
      "main": [
        [
          {
            "node": "662eab99-9341-43fb-9a41-cf2cf2c5f4fd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "662eab99-9341-43fb-9a41-cf2cf2c5f4fd": {
      "main": [
        [
          {
            "node": "510e43ca-7ae7-4212-94d7-0ea880fe8366",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "00ee756a-e524-4643-9e3d-4f631937927c": {
      "main": [
        [
          {
            "node": "99ac5b7d-a31b-49fa-afe4-ace35dcad7c5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6a678a0b-f54f-4f48-bf2b-f5b5d557a402": {
      "main": [
        []
      ]
    },
    "7ba5c636-26c6-4b19-8e06-64063612b43c": {
      "main": [
        [
          {
            "node": "7e7a189c-571a-4e58-8150-a1dfeec3d1d0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

上級 - サポート, 人工知能

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
上級
ノード数25
カテゴリー2
ノードタイプ10
難易度説明

上級者向け、16ノード以上の複雑なワークフロー

作成者
yatolstoy

yatolstoy

@yatolstoy

Backend typescript developer. I specialize in integrations of amoCRM, Common, Telegram, AI

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34