💬 デモコールバック

上級

これはSupport, AI分野の自動化ワークフローで、35個のノードを含みます。主にIf, Set, Code, Redis, Switchなどのノードを使用、AI技術を活用したスマート自動化を実現。 AIチャットボットコールセンター:デモコールバック(プロダクションレディ、パート6)

前提条件
  • Redisサーバー接続情報
  • PostgreSQLデータベース接続情報
  • Telegram Bot Token
  • ターゲットAPIの認証情報が必要な場合あり
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "Je3vR1nLDqm3aMqQ",
  "meta": {
    "instanceId": "daae7bb90c8655b08e0b68de8a52b1178f2812f6a234efb0b0509279dbb70b3e",
    "templateCredsSetupCompleted": true
  },
  "name": "💬 Demo Call Back",
  "tags": [
    {
      "id": "no8Mb078mvRgw7PS",
      "name": "DEMO",
      "createdAt": "2025-04-30T05:34:10.330Z",
      "updatedAt": "2025-04-30T05:34:10.330Z"
    }
  ],
  "nodes": [
    {
      "id": "7f37feab-7b61-4fa6-8c91-c0fba6e81428",
      "name": "メディアスイッチ",
      "type": "n8n-nodes-base.switch",
      "position": [
        200,
        920
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "15cd74bb-555b-4dee-bb6e-083763a6aef3",
      "name": "フロートリガー",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -1820,
        760
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "7278ddee-8706-48fb-a103-824122255564",
      "name": "入力",
      "type": "n8n-nodes-base.set",
      "position": [
        -1580,
        760
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "8cdd1195-a304-4c19-ae58-32bc116767d9",
      "name": "テストトリガー",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -1820,
        960
      ],
      "webhookId": "2ec1c862-0f3d-4c69-824d-b9b0baebf1d2",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "d422a706-ae5c-4260-8a56-f77c95f5e607",
      "name": "テストフィールド",
      "type": "n8n-nodes-base.set",
      "position": [
        -1580,
        960
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "efeb6250-7049-489e-9ca7-cd989c8ac4a7",
      "name": "Minimax音声をダウンロード",
      "type": "n8n-nodes-base.httpRequest",
      "notes": "👻 ON ERROR STOP",
      "onError": "continueErrorOutput",
      "position": [
        1540,
        640
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 4.2
    },
    {
      "id": "bf81adff-eab4-49b2-adae-86a2749e77ea",
      "name": "Telegram 音声出力",
      "type": "n8n-nodes-base.telegram",
      "notes": "@chpy_demo_bot",
      "position": [
        1740,
        620
      ],
      "webhookId": "dac3e1d8-1927-4faa-97e8-ce82fc8504cf",
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1.2
    },
    {
      "id": "f5b0ae5d-a45d-46a2-9d73-cf543c10f1c7",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1160,
        400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0b2a3b09-3719-4726-918c-2a041537d494",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        740,
        480
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "27450565-b746-49ca-b652-2823ac5c532b",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        760
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f5517bef-bc96-4a88-a2a6-d581b064331a",
      "name": "プロバイダーがNoの場合",
      "type": "n8n-nodes-base.if",
      "position": [
        -1340,
        760
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "2dc1548d-6329-4d60-abd4-25e91543effb",
      "name": "プロバイダーキャッシュ",
      "type": "n8n-nodes-base.redis",
      "notes": "TTL 15m",
      "onError": "continueRegularOutput",
      "position": [
        -1080,
        520
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1
    },
    {
      "id": "aaddc697-2336-46be-a88a-fa69a8eeabb8",
      "name": "プロバイダーキャッシュを保存",
      "type": "n8n-nodes-base.redis",
      "notes": "TTL 15m",
      "onError": "continueRegularOutput",
      "position": [
        -380,
        600
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1
    },
    {
      "id": "920995e5-e543-4f0e-bb3b-9c72843cbaab",
      "name": "プロバイダーキャッシュがある場合",
      "type": "n8n-nodes-base.if",
      "position": [
        -860,
        520
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "9768a213-2471-496c-8101-5e1625ac5089",
      "name": "プロバイダー",
      "type": "n8n-nodes-base.set",
      "position": [
        -160,
        500
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "3462fb92-b466-4dbe-8176-8ed434162206",
      "name": "プロバイダーデータを読み込み",
      "type": "n8n-nodes-base.postgres",
      "onError": "continueRegularOutput",
      "position": [
        -600,
        600
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 2.6,
      "alwaysOutputData": true
    },
    {
      "id": "c5297e7c-5ab0-4a4b-8ec3-07b410f56f6a",
      "name": "プロバイダー音声がある場合",
      "type": "n8n-nodes-base.if",
      "position": [
        560,
        780
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "79e2cc7a-df75-46ec-b49a-884667b52e00",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2100,
        660
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ce0507a8-ebf1-4f4d-b3a8-9d17e3aa9d12",
      "name": "スイッチ",
      "type": "n8n-nodes-base.switch",
      "position": [
        820,
        720
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "12ee2e31-d06e-4b15-b72a-a2409f92f101",
      "name": "チャットログ出力を作成",
      "type": "n8n-nodes-base.postgres",
      "onError": "continueRegularOutput",
      "position": [
        560,
        160
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 2.6
    },
    {
      "id": "aea3239f-219b-41b1-9026-2222cac97a6f",
      "name": "チャットログ入力を作成",
      "type": "n8n-nodes-base.postgres",
      "onError": "continueRegularOutput",
      "position": [
        340,
        60
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 2.6
    },
    {
      "id": "de6b2428-dbc8-4004-a319-aadbeaf9c580",
      "name": "入力がある場合",
      "type": "n8n-nodes-base.if",
      "position": [
        120,
        140
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "5cbe76b1-0ea4-4d40-8941-e51ebbc038ff",
      "name": "出力",
      "type": "n8n-nodes-base.set",
      "position": [
        2220,
        1380
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "254958ca-ad37-4c3e-8957-6af9f9899a55",
      "name": "メディアスイッチ1",
      "type": "n8n-nodes-base.switch",
      "position": [
        200,
        1140
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "91bdac61-2819-4189-8341-6ce9812f7d8f",
      "name": "中国語, 粤語",
      "type": "n8n-nodes-base.set",
      "position": [
        1100,
        520
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a08d4c06-ccba-4740-85fe-99c8786ca5da",
      "name": "Minimax TTS",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        1340,
        640
      ],
      "parameters": {},
      "notesInFlow": false,
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "c243d382-f5c7-49e9-8c2d-01104c550eee",
      "name": "中国語",
      "type": "n8n-nodes-base.set",
      "position": [
        1100,
        680
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "9673e139-15b0-445b-ad01-4bebc7703f70",
      "name": "日本語",
      "type": "n8n-nodes-base.set",
      "position": [
        1100,
        840
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "6ba0be81-f47d-4b22-a539-5a0ce10c3d7c",
      "name": "英語",
      "type": "n8n-nodes-base.set",
      "position": [
        1100,
        1000
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "eb8e9741-505d-4375-910a-64702dea7bc6",
      "name": "返信がある場合",
      "type": "n8n-nodes-base.if",
      "position": [
        1980,
        800
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "d694be56-34f1-4f11-90d4-f55aa1f34b7b",
      "name": "Telegram 返信出力",
      "type": "n8n-nodes-base.telegram",
      "notes": "@chpy_demo_bot",
      "position": [
        2220,
        700
      ],
      "webhookId": "ff303e8b-3ed5-429f-b26b-88acf01bc90d",
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1.2
    },
    {
      "id": "60789078-05a3-48c8-8821-34513c82e009",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7118e129-23d8-4420-b609-c6239912276a",
      "name": "Telegram 出力",
      "type": "n8n-nodes-base.telegram",
      "notes": "@chpy_demo_bot",
      "position": [
        2220,
        940
      ],
      "webhookId": "ff303e8b-3ed5-429f-b26b-88acf01bc90d",
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1.2
    },
    {
      "id": "e95a9255-1184-4c1c-b43d-678674c7abf2",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        520,
        400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b1f76f30-98c9-4421-a858-0d4795148fb4",
      "name": "キャッシュを解析",
      "type": "n8n-nodes-base.code",
      "position": [
        -600,
        440
      ],
      "parameters": {},
      "typeVersion": 2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "timezone": "Asia/Hong_Kong",
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": "oxs9DmRSQHNYlBEr",
    "executionOrder": "v1"
  },
  "versionId": "f0c00aed-6394-4a2f-b4a8-669f30441226",
  "connections": {
    "7278ddee-8706-48fb-a103-824122255564": {
      "main": [
        [
          {
            "node": "f5517bef-bc96-4a88-a2a6-d581b064331a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ce0507a8-ebf1-4f4d-b3a8-9d17e3aa9d12": {
      "main": [
        [
          {
            "node": "91bdac61-2819-4189-8341-6ce9812f7d8f",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "c243d382-f5c7-49e9-8c2d-01104c550eee",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "c243d382-f5c7-49e9-8c2d-01104c550eee",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "9673e139-15b0-445b-ad01-4bebc7703f70",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "6ba0be81-f47d-4b22-a539-5a0ce10c3d7c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c243d382-f5c7-49e9-8c2d-01104c550eee": {
      "main": [
        [
          {
            "node": "a08d4c06-ccba-4740-85fe-99c8786ca5da",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6ba0be81-f47d-4b22-a539-5a0ce10c3d7c": {
      "main": [
        [
          {
            "node": "a08d4c06-ccba-4740-85fe-99c8786ca5da",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "de6b2428-dbc8-4004-a319-aadbeaf9c580": {
      "main": [
        [
          {
            "node": "aea3239f-219b-41b1-9026-2222cac97a6f",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "12ee2e31-d06e-4b15-b72a-a2409f92f101",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "eb8e9741-505d-4375-910a-64702dea7bc6": {
      "main": [
        [
          {
            "node": "d694be56-34f1-4f11-90d4-f55aa1f34b7b",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "7118e129-23d8-4420-b609-c6239912276a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9673e139-15b0-445b-ad01-4bebc7703f70": {
      "main": [
        [
          {
            "node": "a08d4c06-ccba-4740-85fe-99c8786ca5da",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9768a213-2471-496c-8101-5e1625ac5089": {
      "main": [
        [
          {
            "node": "7f37feab-7b61-4fa6-8c91-c0fba6e81428",
            "type": "main",
            "index": 0
          },
          {
            "node": "de6b2428-dbc8-4004-a319-aadbeaf9c580",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "91bdac61-2819-4189-8341-6ce9812f7d8f": {
      "main": [
        [
          {
            "node": "a08d4c06-ccba-4740-85fe-99c8786ca5da",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a08d4c06-ccba-4740-85fe-99c8786ca5da": {
      "main": [
        [
          {
            "node": "efeb6250-7049-489e-9ca7-cd989c8ac4a7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b1f76f30-98c9-4421-a858-0d4795148fb4": {
      "main": [
        [
          {
            "node": "9768a213-2471-496c-8101-5e1625ac5089",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d422a706-ae5c-4260-8a56-f77c95f5e607": {
      "main": [
        [
          {
            "node": "7278ddee-8706-48fb-a103-824122255564",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "15cd74bb-555b-4dee-bb6e-083763a6aef3": {
      "main": [
        [
          {
            "node": "7278ddee-8706-48fb-a103-824122255564",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7f37feab-7b61-4fa6-8c91-c0fba6e81428": {
      "main": [
        [
          {
            "node": "c5297e7c-5ab0-4a4b-8ec3-07b410f56f6a",
            "type": "main",
            "index": 0
          }
        ],
        [],
        [
          {
            "node": "5cbe76b1-0ea4-4d40-8941-e51ebbc038ff",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8cdd1195-a304-4c19-ae58-32bc116767d9": {
      "main": [
        [
          {
            "node": "d422a706-ae5c-4260-8a56-f77c95f5e607",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "254958ca-ad37-4c3e-8957-6af9f9899a55": {
      "main": [
        [
          {
            "node": "eb8e9741-505d-4375-910a-64702dea7bc6",
            "type": "main",
            "index": 0
          }
        ],
        [],
        [
          {
            "node": "5cbe76b1-0ea4-4d40-8941-e51ebbc038ff",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f5517bef-bc96-4a88-a2a6-d581b064331a": {
      "main": [
        [
          {
            "node": "2dc1548d-6329-4d60-abd4-25e91543effb",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "254958ca-ad37-4c3e-8957-6af9f9899a55",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2dc1548d-6329-4d60-abd4-25e91543effb": {
      "main": [
        [
          {
            "node": "920995e5-e543-4f0e-bb3b-9c72843cbaab",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7118e129-23d8-4420-b609-c6239912276a": {
      "main": [
        [
          {
            "node": "5cbe76b1-0ea4-4d40-8941-e51ebbc038ff",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "920995e5-e543-4f0e-bb3b-9c72843cbaab": {
      "main": [
        [
          {
            "node": "b1f76f30-98c9-4421-a858-0d4795148fb4",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "3462fb92-b466-4dbe-8176-8ed434162206",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c5297e7c-5ab0-4a4b-8ec3-07b410f56f6a": {
      "main": [
        [
          {
            "node": "ce0507a8-ebf1-4f4d-b3a8-9d17e3aa9d12",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "eb8e9741-505d-4375-910a-64702dea7bc6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3462fb92-b466-4dbe-8176-8ed434162206": {
      "main": [
        [
          {
            "node": "aaddc697-2336-46be-a88a-fa69a8eeabb8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "aaddc697-2336-46be-a88a-fa69a8eeabb8": {
      "main": [
        [
          {
            "node": "9768a213-2471-496c-8101-5e1625ac5089",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "aea3239f-219b-41b1-9026-2222cac97a6f": {
      "main": [
        [
          {
            "node": "12ee2e31-d06e-4b15-b72a-a2409f92f101",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d694be56-34f1-4f11-90d4-f55aa1f34b7b": {
      "main": [
        [
          {
            "node": "5cbe76b1-0ea4-4d40-8941-e51ebbc038ff",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bf81adff-eab4-49b2-adae-86a2749e77ea": {
      "main": [
        [
          {
            "node": "eb8e9741-505d-4375-910a-64702dea7bc6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "efeb6250-7049-489e-9ca7-cd989c8ac4a7": {
      "main": [
        [
          {
            "node": "bf81adff-eab4-49b2-adae-86a2749e77ea",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "eb8e9741-505d-4375-910a-64702dea7bc6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

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

有料ですか?

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

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

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

作成者
ChatPayLabs

ChatPayLabs

@chatpaylabs

Production Ready AI n8n Workflow Templates Startup Fundraising 💰 Support Us 🦄

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34