🤙 Telegram 着信接続

上級

これは自動化ワークフローで、35個のノードを含みます。主にIf, Set, Code, Redis, Switchなどのノードを使用。 AIチャットボットコールセンター:Telegram着信(プロダクションレディ、パート1a)

前提条件
  • Redisサーバー接続情報
  • PostgreSQLデータベース接続情報
  • Telegram Bot Token

カテゴリー

-
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "pT3WWhziyHqc0Wru",
  "meta": {
    "instanceId": "daae7bb90c8655b08e0b68de8a52b1178f2812f6a234efb0b0509279dbb70b3e",
    "templateCredsSetupCompleted": true
  },
  "name": "🤙 Telegram Call In",
  "tags": [
    {
      "id": "no8Mb078mvRgw7PS",
      "name": "DEMO",
      "createdAt": "2025-04-30T05:34:10.330Z",
      "updatedAt": "2025-04-30T05:34:10.330Z"
    },
    {
      "id": "M2uPwGVjWmavBPky",
      "name": "2.0",
      "createdAt": "2025-05-01T16:38:48.524Z",
      "updatedAt": "2025-05-01T16:38:48.524Z"
    },
    {
      "id": "WfVDdyMwitySVPfo",
      "name": "Input",
      "createdAt": "2025-05-05T10:21:45.271Z",
      "updatedAt": "2025-05-05T10:21:45.271Z"
    }
  ],
  "nodes": [
    {
      "id": "83a6a0bd-4d48-4a83-9ac4-9c5391267e70",
      "name": "Telegram トリガー",
      "type": "n8n-nodes-base.telegramTrigger",
      "notes": "@chpy_demo_bot",
      "position": [
        -1560,
        820
      ],
      "webhookId": "dcac86de-74a3-48e4-81b2-7b63c8fac5be",
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1.2
    },
    {
      "id": "604b543f-6eb1-4c3b-88ed-59e21690392d",
      "name": "トリガーのテスト",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -1560,
        1560
      ],
      "webhookId": "9ed1eb5f-bfe9-4bd3-8451-b26d11613388",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "da05274e-8d03-47a6-9e6d-4e67e51d4232",
      "name": "テスト入力",
      "type": "n8n-nodes-base.set",
      "position": [
        80,
        1560
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "8fcce9e5-83fe-4d34-a085-18d3236237d5",
      "name": "Telegram 入力",
      "type": "n8n-nodes-base.set",
      "position": [
        80,
        1060
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "4ac6e9d3-3a49-49c1-af6e-03dea00a4487",
      "name": "タイプ切り替え",
      "type": "n8n-nodes-base.switch",
      "position": [
        -180,
        800
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "6b11f82b-e996-436f-90b0-02507ded4354",
      "name": "音声ダウンロード",
      "type": "n8n-nodes-base.telegram",
      "notes": "@chpy_demo_bot",
      "position": [
        80,
        360
      ],
      "webhookId": "97df0286-dbe3-46dd-ab54-99c01e73e540",
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1.2
    },
    {
      "id": "6c5b409c-23f1-488c-9be9-36ba7ac20f5c",
      "name": "ファイルから抽出",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        260,
        360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "776fb632-2d0f-4214-be25-e369ec9ab766",
      "name": "Google STT",
      "type": "n8n-nodes-google-speech.googleSpeech",
      "onError": "continueRegularOutput",
      "position": [
        920,
        360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ed56defb-887e-4950-a72d-1f5e7132b235",
      "name": "Telegram 音声入力",
      "type": "n8n-nodes-base.set",
      "position": [
        1320,
        340
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "2c34afcc-5936-4009-a3b2-65364f2a4060",
      "name": "入力",
      "type": "n8n-nodes-base.set",
      "position": [
        1560,
        1060
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "4b9e3343-525a-46ee-8164-def8f5603b1b",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "42d7e86f-dd8e-447d-b236-55b6dca3f902",
      "name": "If Telegram",
      "type": "n8n-nodes-base.if",
      "position": [
        1540,
        1560
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "f9a0a9d3-4c74-4322-af8c-06a90edee657",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        1460
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d95c57a9-6c1b-474e-86f7-9f6a4dbbaa54",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        960
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b178b3ca-a944-4d31-a342-a9f1ff6df8e2",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1300,
        880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "24a7ffa8-86a2-4800-8557-4bfe57aa9f26",
      "name": "If Active",
      "type": "n8n-nodes-base.if",
      "position": [
        -720,
        1240
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "a95d2df5-9075-4be7-8428-b67b3ec4e49d",
      "name": "サービス解析",
      "type": "n8n-nodes-base.code",
      "position": [
        -720,
        800
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "5d6c8ab7-95b8-4de8-bc9b-9ef55e96f0ec",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1360,
        700
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3b38c690-2b14-44ee-884c-62920a35968e",
      "name": "メンバーキャッシュ",
      "type": "n8n-nodes-base.redis",
      "notes": "member:telegram:{user_id}:data\nTTL 5m",
      "onError": "continueRegularOutput",
      "position": [
        -1160,
        820
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1
    },
    {
      "id": "a8e8a046-b1ce-4452-82de-84ade7619f73",
      "name": "If Member Cache",
      "type": "n8n-nodes-base.if",
      "position": [
        -940,
        820
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "6a45ad3d-4afb-4a27-8ab8-39b564007cac",
      "name": "メンバーデータ読み込み",
      "type": "n8n-nodes-base.postgres",
      "onError": "continueRegularOutput",
      "position": [
        -720,
        1000
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 2.6,
      "alwaysOutputData": true
    },
    {
      "id": "396b03a6-3d31-4440-89cf-4e206017e97a",
      "name": "メンバーキャッシュ保存",
      "type": "n8n-nodes-base.redis",
      "notes": "TTL 5m",
      "onError": "continueRegularOutput",
      "position": [
        -440,
        1220
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1
    },
    {
      "id": "ce6bfd49-5e15-4693-9bb0-165b9ab2658c",
      "name": "メンバー",
      "type": "n8n-nodes-base.set",
      "notes": "language: English",
      "position": [
        -440,
        800
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "01a5ee20-55b5-46e6-b249-3d8dc666be55",
      "name": "スイッチ",
      "type": "n8n-nodes-base.switch",
      "position": [
        440,
        320
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "14ec3274-411d-4edf-ba62-20fa251b7632",
      "name": "英語",
      "type": "n8n-nodes-base.set",
      "position": [
        660,
        680
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "04b6d053-f58a-4aed-b973-5b9501e91152",
      "name": "yue-Hant-HK",
      "type": "n8n-nodes-base.set",
      "position": [
        660,
        40
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "91fb5e72-928e-46cc-b2a1-a99d6a553f65",
      "name": "cmn-Hant-TW",
      "type": "n8n-nodes-base.set",
      "position": [
        660,
        360
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a06a0231-81b6-4670-8471-f8cff2d2c91a",
      "name": "cmn-Hans-CN",
      "type": "n8n-nodes-base.set",
      "position": [
        660,
        200
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "f9a3efca-b539-4c70-92c8-db33641715e9",
      "name": "ja-JP",
      "type": "n8n-nodes-base.set",
      "position": [
        660,
        520
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "4964da4f-3fde-44c2-b214-fdbf914adf18",
      "name": "If Transcript",
      "type": "n8n-nodes-base.if",
      "position": [
        1100,
        360
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "f34dfa75-979e-44fc-9d73-3312e5cb3c4c",
      "name": "文字起こしなし入力",
      "type": "n8n-nodes-base.set",
      "notes": "I don't understand",
      "position": [
        1720,
        640
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "eb90c445-b21f-4265-aba7-a309eb0d498c",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1620,
        560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ddfc222b-b617-470e-96c5-779ebe01c9a7",
      "name": "デモコールバック",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        1940,
        640
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "09097191-a808-4f35-b111-84604b8ff872",
      "name": "デモコールセンター",
      "type": "n8n-nodes-base.executeWorkflow",
      "notes": "Demo Call Center",
      "position": [
        1740,
        1060
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1.2
    },
    {
      "id": "f313bea0-0346-4011-82a8-b0a0d4bd46a1",
      "name": "Telegram テスト出力",
      "type": "n8n-nodes-base.telegram",
      "notes": "@chpy_demo_bot",
      "position": [
        1720,
        1540
      ],
      "webhookId": "ff303e8b-3ed5-429f-b26b-88acf01bc90d",
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "timezone": "Etc/UTC",
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": "vuso7W8t402BPcT2",
    "executionOrder": "v1"
  },
  "versionId": "86a4b876-5de9-4f72-afdf-a613d56fe94c",
  "connections": {
    "2c34afcc-5936-4009-a3b2-65364f2a4060": {
      "main": [
        [
          {
            "node": "09097191-a808-4f35-b111-84604b8ff872",
            "type": "main",
            "index": 0
          },
          {
            "node": "42d7e86f-dd8e-447d-b236-55b6dca3f902",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f9a3efca-b539-4c70-92c8-db33641715e9": {
      "main": [
        [
          {
            "node": "776fb632-2d0f-4214-be25-e369ec9ab766",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ce6bfd49-5e15-4693-9bb0-165b9ab2658c": {
      "main": [
        [
          {
            "node": "4ac6e9d3-3a49-49c1-af6e-03dea00a4487",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "01a5ee20-55b5-46e6-b249-3d8dc666be55": {
      "main": [
        [
          {
            "node": "04b6d053-f58a-4aed-b973-5b9501e91152",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "a06a0231-81b6-4670-8471-f8cff2d2c91a",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "91fb5e72-928e-46cc-b2a1-a99d6a553f65",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "f9a3efca-b539-4c70-92c8-db33641715e9",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "14ec3274-411d-4edf-ba62-20fa251b7632",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "14ec3274-411d-4edf-ba62-20fa251b7632": {
      "main": [
        [
          {
            "node": "776fb632-2d0f-4214-be25-e369ec9ab766",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "24a7ffa8-86a2-4800-8557-4bfe57aa9f26": {
      "main": [
        [
          {
            "node": "396b03a6-3d31-4440-89cf-4e206017e97a",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "396b03a6-3d31-4440-89cf-4e206017e97a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "776fb632-2d0f-4214-be25-e369ec9ab766": {
      "main": [
        [
          {
            "node": "4964da4f-3fde-44c2-b214-fdbf914adf18",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "da05274e-8d03-47a6-9e6d-4e67e51d4232": {
      "main": [
        [
          {
            "node": "2c34afcc-5936-4009-a3b2-65364f2a4060",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "42d7e86f-dd8e-447d-b236-55b6dca3f902": {
      "main": [
        [
          {
            "node": "f313bea0-0346-4011-82a8-b0a0d4bd46a1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4ac6e9d3-3a49-49c1-af6e-03dea00a4487": {
      "main": [
        [
          {
            "node": "8fcce9e5-83fe-4d34-a085-18d3236237d5",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "6b11f82b-e996-436f-90b0-02507ded4354",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "91fb5e72-928e-46cc-b2a1-a99d6a553f65": {
      "main": [
        [
          {
            "node": "776fb632-2d0f-4214-be25-e369ec9ab766",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "04b6d053-f58a-4aed-b973-5b9501e91152": {
      "main": [
        [
          {
            "node": "776fb632-2d0f-4214-be25-e369ec9ab766",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3b38c690-2b14-44ee-884c-62920a35968e": {
      "main": [
        [
          {
            "node": "a8e8a046-b1ce-4452-82de-84ade7619f73",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "604b543f-6eb1-4c3b-88ed-59e21690392d": {
      "main": [
        [
          {
            "node": "da05274e-8d03-47a6-9e6d-4e67e51d4232",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4964da4f-3fde-44c2-b214-fdbf914adf18": {
      "main": [
        [
          {
            "node": "ed56defb-887e-4950-a72d-1f5e7132b235",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "f34dfa75-979e-44fc-9d73-3312e5cb3c4c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a95d2df5-9075-4be7-8428-b67b3ec4e49d": {
      "main": [
        [
          {
            "node": "ce6bfd49-5e15-4693-9bb0-165b9ab2658c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6b11f82b-e996-436f-90b0-02507ded4354": {
      "main": [
        [
          {
            "node": "6c5b409c-23f1-488c-9be9-36ba7ac20f5c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8fcce9e5-83fe-4d34-a085-18d3236237d5": {
      "main": [
        [
          {
            "node": "2c34afcc-5936-4009-a3b2-65364f2a4060",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a8e8a046-b1ce-4452-82de-84ade7619f73": {
      "main": [
        [
          {
            "node": "a95d2df5-9075-4be7-8428-b67b3ec4e49d",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "6a45ad3d-4afb-4a27-8ab8-39b564007cac",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6a45ad3d-4afb-4a27-8ab8-39b564007cac": {
      "main": [
        [
          {
            "node": "24a7ffa8-86a2-4800-8557-4bfe57aa9f26",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "83a6a0bd-4d48-4a83-9ac4-9c5391267e70": {
      "main": [
        [
          {
            "node": "3b38c690-2b14-44ee-884c-62920a35968e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6c5b409c-23f1-488c-9be9-36ba7ac20f5c": {
      "main": [
        [
          {
            "node": "01a5ee20-55b5-46e6-b249-3d8dc666be55",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "396b03a6-3d31-4440-89cf-4e206017e97a": {
      "main": [
        [
          {
            "node": "ce6bfd49-5e15-4693-9bb0-165b9ab2658c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f34dfa75-979e-44fc-9d73-3312e5cb3c4c": {
      "main": [
        [
          {
            "node": "ddfc222b-b617-470e-96c5-779ebe01c9a7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ed56defb-887e-4950-a72d-1f5e7132b235": {
      "main": [
        [
          {
            "node": "2c34afcc-5936-4009-a3b2-65364f2a4060",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

上級

有料ですか?

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

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

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

作成者
ChatPayLabs

ChatPayLabs

@chatpaylabs

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

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34