OpenAI、Googleカレンダー、メッセージアプリを使用した医療予約アシスタント

上級

これは自動化ワークフローで、40個のノードを含みます。主にIf, Set, Code, Wait, Redisなどのノードを使用。 OpenAI、Googleカレンダー、メッセージアプリで医療予約アシスタント

前提条件
  • Redisサーバー接続情報
  • HTTP Webhookエンドポイント(n8nが自動生成)
  • Telegram Bot Token
  • OpenAI API Key

カテゴリー

-
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "vdYPoneO2lydDAKt",
  "meta": {
    "instanceId": "98986c4dc0b4b2af9fd0666d254f8b80e6e6b2044e2f3f3eedc76242999f4b5e"
  },
  "name": "Medical Appointment Scheduling Assistant with OpenAI, Google Calendar & Messaging Apps",
  "tags": [],
  "nodes": [
    {
      "id": "0a0a8719-3cd5-420a-b19e-9bd587d086af",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1984,
        128
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7cd49d61-cf7e-426e-b4c2-47181efbc47b",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1968,
        1008
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0466bf25-ee51-482b-a226-a0dee3511649",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1536,
        992
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9b1764ad-f323-4be1-be99-0797c8ba49e9",
      "name": "カレンダーAIエージェント",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1536,
        592
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "0593ac7a-7567-4f42-94e7-c351eef59c18",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3872,
        400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "88c06826-0a94-45a2-b010-de8695f692e2",
      "name": "REDIS - DEBOUNCE - SET",
      "type": "n8n-nodes-base.redis",
      "position": [
        -3648,
        816
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "36c490df-bcfd-4897-af47-612df539f9f4",
      "name": "REDIS - DEBOUNCE - GET",
      "type": "n8n-nodes-base.redis",
      "position": [
        -3248,
        608
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "46f2d7e9-5c4a-4932-a55f-5aa6abfb1692",
      "name": "REDIS - DEBOUNCE - DELETE",
      "type": "n8n-nodes-base.redis",
      "position": [
        -2608,
        592
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ae124435-e897-4e8e-b2e6-bbcceb779984",
      "name": "OBJECT MSG - CONCATENATE",
      "type": "n8n-nodes-base.code",
      "position": [
        -2368,
        592
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "fa108825-510b-4f59-9312-174c9cbb575c",
      "name": "付箋7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1136,
        992
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "50f2a522-9045-4a71-aa3d-798671f12a22",
      "name": "VARIABLES - CONFIG",
      "type": "n8n-nodes-base.set",
      "position": [
        -6096,
        832
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "9dd231ab-69f5-4d83-bae9-690df2bff84e",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -1440,
        1408
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "8964028b-5a70-4cec-b6ff-de5885b1795f",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1888,
        1360
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "96e7b5d2-18bb-4c65-a273-75242e459369",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "23f8bcdb-09ed-45a9-bb2f-8d0fd0eadfba",
      "name": "スケジュール確認",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        -1024,
        1376
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "24bd37b6-3c65-47f6-89bb-9ef998124708",
      "name": "予約作成",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        -784,
        1376
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "e9fb0248-41e1-47d7-a51b-c78caab54a91",
      "name": "予約キャンセル",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        -560,
        1376
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "a652287f-27f4-4673-84bf-6d0f0d9645e0",
      "name": "時間経過チェック?",
      "type": "n8n-nodes-base.switch",
      "position": [
        -2992,
        608
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "2b21a949-087c-4759-82e4-c86451bbfea9",
      "name": "付箋8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -6256,
        496
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b6e51873-b127-4c1f-b1f3-cac0e9525280",
      "name": "チャネル確認",
      "type": "n8n-nodes-base.switch",
      "position": [
        -288,
        592
      ],
      "parameters": {},
      "typeVersion": 3.3
    },
    {
      "id": "145ba1db-34ee-4df9-9c9d-2eb7ad13485c",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        624
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "74c811f7-24e8-4a87-a7d7-c0301cccc97f",
      "name": "LOOP MESSAGE - WHATSAPP",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        512,
        208
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "c4a183a3-c4ae-4ff3-9d57-d0be1c3e3177",
      "name": "LOOP MESSAGE - TELEGRAM",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        432,
        816
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "ffed1611-b581-4a4b-bd5c-4e710b6becf2",
      "name": "TELEGRAM - CHANNEL",
      "type": "n8n-nodes-base.set",
      "position": [
        -6976,
        752
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "12b1f056-0f03-4fae-a256-af5c0390a6b8",
      "name": "WHATSAPP - CHANNEL",
      "type": "n8n-nodes-base.set",
      "position": [
        -6976,
        1024
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "34b59610-2c11-4d58-bbbd-ab0a8e08be64",
      "name": "CHANNEL",
      "type": "n8n-nodes-base.set",
      "position": [
        -6576,
        848
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "6bd1994f-b2cb-4ec7-8aa7-03a37d464d00",
      "name": "CHECK CHANNEL1",
      "type": "n8n-nodes-base.switch",
      "position": [
        -5232,
        832
      ],
      "parameters": {},
      "typeVersion": 3.3
    },
    {
      "id": "9519dbee-1d01-4a6c-9d98-e28e3395cfbb",
      "name": "OBJECT MSG - WHASTAPP",
      "type": "n8n-nodes-base.code",
      "position": [
        -4656,
        656
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "6369872e-db24-4786-a7b0-c1305a7fcfcf",
      "name": "OBJECT MSG - TELEGRAM",
      "type": "n8n-nodes-base.code",
      "position": [
        -4656,
        1008
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "8d4501e4-8241-489b-8174-170b5da0381d",
      "name": "OBJECT MSG",
      "type": "n8n-nodes-base.set",
      "position": [
        -4208,
        816
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "d4d23cc2-a221-40bd-880e-2e85d3fa7c5a",
      "name": "SEND MESSAGE WHATSAPP",
      "type": "n8n-nodes-evolution-api.evolutionApi",
      "position": [
        896,
        352
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "84940cb4-4d47-4216-8305-0403a783a2f6",
      "name": "付箋9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -5360,
        384
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f722cdf0-919b-4754-9405-5821bf3d283d",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -7424,
        656
      ],
      "webhookId": "09024d48-1974-4377-b506-a4c0a464ab7d",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "9fb7c23a-2a88-4042-9c37-069124b0af8c",
      "name": "SEND MESSAGE TELEGRAM",
      "type": "n8n-nodes-base.telegram",
      "position": [
        896,
        960
      ],
      "webhookId": "a0b624ea-9032-4bcb-82c3-90d46c8aebcc",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "372a5ae7-fe85-40ca-b934-94ff60f209d8",
      "name": "現在日時",
      "type": "n8n-nodes-base.dateTime",
      "position": [
        -5728,
        832
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "3a469582-df78-4d2e-8375-51ad31c573d3",
      "name": "待機時間 - 5秒デバウンス",
      "type": "n8n-nodes-base.wait",
      "position": [
        -2784,
        832
      ],
      "webhookId": "26c6c5da-7df3-4796-9186-ac0c20f7ae24",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "82d92672-cba5-4af6-b562-7b33f2666451",
      "name": "ユーザーメッセージ分割 (入力)",
      "type": "n8n-nodes-base.set",
      "position": [
        -832,
        592
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "87a94d07-4f1f-4e15-8d64-61e71f0134f3",
      "name": "MESSAGES INTO JSON ARRAY",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -576,
        592
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "09cc9e41-8c9c-4162-af83-eba446279a3c",
      "name": "新着メッセージ時 (Evolution)",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -7424,
        1056
      ],
      "webhookId": "d4b64853-5972-49d5-8c55-549f4bdfde05",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "7dcff3d5-7e0b-423d-8de4-b48c5f9238bd",
      "name": "メッセージ存在確認",
      "type": "n8n-nodes-base.if",
      "position": [
        640,
        912
      ],
      "parameters": {},
      "typeVersion": 2.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "a8ebdcae-c358-494b-b02c-8fd2b6ef26ec",
  "connections": {
    "34b59610-2c11-4d58-bbbd-ab0a8e08be64": {
      "main": [
        [
          {
            "node": "50f2a522-9045-4a71-aa3d-798671f12a22",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "372a5ae7-fe85-40ca-b934-94ff60f209d8": {
      "main": [
        [
          {
            "node": "6bd1994f-b2cb-4ec7-8aa7-03a37d464d00",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8d4501e4-8241-489b-8174-170b5da0381d": {
      "main": [
        [
          {
            "node": "88c06826-0a94-45a2-b010-de8695f692e2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b6e51873-b127-4c1f-b1f3-cac0e9525280": {
      "main": [
        [
          {
            "node": "74c811f7-24e8-4a87-a7d7-c0301cccc97f",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "c4a183a3-c4ae-4ff3-9d57-d0be1c3e3177",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9dd231ab-69f5-4d83-bae9-690df2bff84e": {
      "ai_memory": [
        [
          {
            "node": "9b1764ad-f323-4be1-be99-0797c8ba49e9",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "6bd1994f-b2cb-4ec7-8aa7-03a37d464d00": {
      "main": [
        [
          {
            "node": "9519dbee-1d01-4a6c-9d98-e28e3395cfbb",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "6369872e-db24-4786-a7b0-c1305a7fcfcf",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "23f8bcdb-09ed-45a9-bb2f-8d0fd0eadfba": {
      "ai_tool": [
        [
          {
            "node": "9b1764ad-f323-4be1-be99-0797c8ba49e9",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "a652287f-27f4-4673-84bf-6d0f0d9645e0": {
      "main": [
        [
          {
            "node": "46f2d7e9-5c4a-4932-a55f-5aa6abfb1692",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "3a469582-df78-4d2e-8375-51ad31c573d3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7dcff3d5-7e0b-423d-8de4-b48c5f9238bd": {
      "main": [
        [
          {
            "node": "9fb7c23a-2a88-4042-9c37-069124b0af8c",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "c4a183a3-c4ae-4ff3-9d57-d0be1c3e3177",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f722cdf0-919b-4754-9405-5821bf3d283d": {
      "main": [
        [
          {
            "node": "ffed1611-b581-4a4b-bd5c-4e710b6becf2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9b1764ad-f323-4be1-be99-0797c8ba49e9": {
      "main": [
        [
          {
            "node": "82d92672-cba5-4af6-b562-7b33f2666451",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8964028b-5a70-4cec-b6ff-de5885b1795f": {
      "ai_languageModel": [
        [
          {
            "node": "9b1764ad-f323-4be1-be99-0797c8ba49e9",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "e9fb0248-41e1-47d7-a51b-c78caab54a91": {
      "ai_tool": [
        [
          {
            "node": "9b1764ad-f323-4be1-be99-0797c8ba49e9",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "24bd37b6-3c65-47f6-89bb-9ef998124708": {
      "ai_tool": [
        [
          {
            "node": "9b1764ad-f323-4be1-be99-0797c8ba49e9",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "ffed1611-b581-4a4b-bd5c-4e710b6becf2": {
      "main": [
        [
          {
            "node": "34b59610-2c11-4d58-bbbd-ab0a8e08be64",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "50f2a522-9045-4a71-aa3d-798671f12a22": {
      "main": [
        [
          {
            "node": "372a5ae7-fe85-40ca-b934-94ff60f209d8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "12b1f056-0f03-4fae-a256-af5c0390a6b8": {
      "main": [
        [
          {
            "node": "34b59610-2c11-4d58-bbbd-ab0a8e08be64",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6369872e-db24-4786-a7b0-c1305a7fcfcf": {
      "main": [
        [
          {
            "node": "8d4501e4-8241-489b-8174-170b5da0381d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9519dbee-1d01-4a6c-9d98-e28e3395cfbb": {
      "main": [
        [
          {
            "node": "8d4501e4-8241-489b-8174-170b5da0381d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9fb7c23a-2a88-4042-9c37-069124b0af8c": {
      "main": [
        [
          {
            "node": "c4a183a3-c4ae-4ff3-9d57-d0be1c3e3177",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d4d23cc2-a221-40bd-880e-2e85d3fa7c5a": {
      "main": [
        [
          {
            "node": "74c811f7-24e8-4a87-a7d7-c0301cccc97f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "36c490df-bcfd-4897-af47-612df539f9f4": {
      "main": [
        [
          {
            "node": "a652287f-27f4-4673-84bf-6d0f0d9645e0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "88c06826-0a94-45a2-b010-de8695f692e2": {
      "main": [
        [
          {
            "node": "36c490df-bcfd-4897-af47-612df539f9f4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c4a183a3-c4ae-4ff3-9d57-d0be1c3e3177": {
      "main": [
        [],
        [
          {
            "node": "7dcff3d5-7e0b-423d-8de4-b48c5f9238bd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "74c811f7-24e8-4a87-a7d7-c0301cccc97f": {
      "main": [
        [],
        [
          {
            "node": "d4d23cc2-a221-40bd-880e-2e85d3fa7c5a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "87a94d07-4f1f-4e15-8d64-61e71f0134f3": {
      "main": [
        [
          {
            "node": "b6e51873-b127-4c1f-b1f3-cac0e9525280",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ae124435-e897-4e8e-b2e6-bbcceb779984": {
      "main": [
        [
          {
            "node": "9b1764ad-f323-4be1-be99-0797c8ba49e9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "46f2d7e9-5c4a-4932-a55f-5aa6abfb1692": {
      "main": [
        [
          {
            "node": "ae124435-e897-4e8e-b2e6-bbcceb779984",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "82d92672-cba5-4af6-b562-7b33f2666451": {
      "main": [
        [
          {
            "node": "87a94d07-4f1f-4e15-8d64-61e71f0134f3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "09cc9e41-8c9c-4162-af83-eba446279a3c": {
      "main": [
        [
          {
            "node": "12b1f056-0f03-4fae-a256-af5c0390a6b8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3a469582-df78-4d2e-8375-51ad31c573d3": {
      "main": [
        [
          {
            "node": "36c490df-bcfd-4897-af47-612df539f9f4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

上級

有料ですか?

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

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

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

作成者
Thiago Vazzoler Loureiro

Thiago Vazzoler Loureiro

@thiagovazzoler

Building Custom Automations with n8n | Node.js Developer | Integration Specialist | Open Source Contributor If you need help with n8n workflows, API integrations, or custom nodes, feel free to connect on LinkedIn: http://linkedin.com/in/thiago-vazzoler-loureiro-24056227

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34