8
n8n 中文网amn8n.com

AI驱动的患者登记与症状分诊自动化

中级

这是一个Support Chatbot, AI Summarization领域的自动化工作流,包含 11 个节点。主要使用 Set, Code, DateTime, CalTrigger, GoogleSheets 等节点。 使用AI、Cal.com和Google服务自动化患者登记与症状分诊

前置要求
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "b6731f6e46273cffeac6b5188a5b3bcb0840c00108e73b48ae2b799ac6e8e081",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "9d63fd49-dcd0-44b5-b430-a2afe14679a5",
      "name": "智能医生路由",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        320,
        -60
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "166672ec-9cc6-454d-a4f3-65668136dee3",
      "name": "获取预约时间",
      "type": "n8n-nodes-base.dateTime",
      "position": [
        120,
        -60
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "80d6ea83-fdd5-4f0b-afa9-8b2c18b8681a",
      "name": "提取患者信息和 AI 诊断",
      "type": "n8n-nodes-base.set",
      "position": [
        940,
        -60
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "82cdfc69-cd8a-4098-88fa-1f41fe05f375",
      "name": "AI 诊断",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        320,
        160
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "554a8f4d-26d5-49ab-9b88-c6ba4af51d2c",
      "name": "获取当前预约",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        520,
        200
      ],
      "parameters": {},
      "typeVersion": 4.6,
      "alwaysOutputData": true
    },
    {
      "id": "beafad53-227e-47d9-b019-892b36f7d9d7",
      "name": "返回唯一预约",
      "type": "n8n-nodes-base.code",
      "position": [
        740,
        200
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b1e0f815-e791-458c-9f9b-6e3370161462",
      "name": "保存新预约",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        980,
        200
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "a7ec4cac-1a3c-424f-9162-1b626830749e",
      "name": "将部门与其各自的日历映射",
      "type": "n8n-nodes-base.code",
      "position": [
        520,
        460
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "e2f3d3fb-3e28-4116-b653-6e4c856fd0ca",
      "name": "检查新的患者预约请求",
      "type": "n8n-nodes-base.calTrigger",
      "position": [
        -100,
        -60
      ],
      "webhookId": "46578e33-e893-4668-855c-d0714c6c63bd",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "8ecacd04-ebdb-4211-8c4e-6fd490f55177",
      "name": "在相应部门的日历中创建预约",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        780,
        460
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "1feca45d-b494-4245-9f53-ffc1438642fd",
      "name": "按我们首选的结构解析输出",
      "type": "n8n-nodes-base.code",
      "position": [
        700,
        -60
      ],
      "parameters": {},
      "typeVersion": 2
    }
  ],
  "pinData": {},
  "connections": {
    "AI Diagnosis": {
      "ai_languageModel": [
        [
          {
            "node": "Intelligent Doctor Routing",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Grab Appointment Time": {
      "main": [
        [
          {
            "node": "Intelligent Doctor Routing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save new appointments": {
      "main": [
        [
          {
            "node": "Map departments with their respective calendars",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Present Appointments": {
      "main": [
        [
          {
            "node": "Return Unique Appointments",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Intelligent Doctor Routing": {
      "main": [
        [
          {
            "node": "Parse Output in our preferred structure",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Return Unique Appointments": {
      "main": [
        [
          {
            "node": "Save new appointments",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Patient Info and AI Diagnosis": {
      "main": [
        [
          {
            "node": "Get Present Appointments",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Output in our preferred structure": {
      "main": [
        [
          {
            "node": "Extract Patient Info and AI Diagnosis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check for new patient appointment Requests": {
      "main": [
        [
          {
            "node": "Grab Appointment Time",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Map departments with their respective calendars": {
      "main": [
        [
          {
            "node": "Create Appointment in Respective Department's calender",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 客服机器人, AI 摘要总结

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量11
分类2
节点类型8
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

外部链接
在 n8n.io 查看

分享此工作流