KI-Medizinischer Symptom-Prüfer und Gesundheitsassistent
Experte
Dies ist ein Support Chatbot, AI Chatbot-Bereich Automatisierungsworkflow mit 17 Nodes. Hauptsächlich werden If, Set, Code, Merge, Webhook und andere Nodes verwendet. Medizinische Symptom-Überprüfung und Gesundheitsassistent basierend auf GPT-4-mini
Voraussetzungen
- •HTTP Webhook-Endpunkt (wird von n8n automatisch generiert)
- •Airtable API Key
- •OpenAI API Key
Verwendete Nodes (17)
Kategorie
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
"meta": {
"templateId": "ai-health-assistant-v1",
"templateCreatedDate": "2024-01-15T00:00:00.000Z"
},
"name": "AI Medical Symptom Checker & Health Assistant",
"tags": [],
"nodes": [
{
"id": "disclaimer-note",
"name": "Notizzettel",
"type": "n8n-nodes-base.stickyNote",
"position": [
-900,
-500
],
"parameters": {
"width": 400,
"height": 460,
"content": "## 🏥 AI HEALTH ASSISTANT\n\n**IMPORTANT DISCLAIMER:**\nThis tool provides general health information only and is NOT a substitute for professional medical advice, diagnosis, or treatment. Always consult qualified healthcare providers for medical concerns.\n\n### ✨ Features:\n• Symptom analysis & information\n• General health guidance\n• Medicine reminders\n• Appointment scheduling hints\n• Emergency detection\n• Multi-language support\n• Privacy-first design\n\n### 🎯 Use Cases:\n• Initial symptom research\n• Health education\n• Medication tracking\n• Wellness tips\n• Pre-appointment preparation"
},
"typeVersion": 1
},
{
"id": "safety-protocols",
"name": "Notizzettel1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-500,
-500
],
"parameters": {
"width": 320,
"height": 400,
"content": "## ⚠️ SAFETY PROTOCOLS\n\n**Emergency Detection:**\n• Chest pain → Call 911\n• Breathing difficulty → Call 911\n• Stroke symptoms → Call 911\n• Severe bleeding → Call 911\n• Loss of consciousness → Call 911\n\n**Auto-Escalation:**\n• Detects emergency keywords\n• Provides emergency numbers\n• Refuses diagnosis\n• Recommends immediate care\n\n**Privacy:**\n• No data storage\n• Anonymous processing\n• HIPAA considerations\n• Encrypted transmission"
},
"typeVersion": 1
},
{
"id": "symptom-categories",
"name": "Notizzettel2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-150,
-500
],
"parameters": {
"width": 280,
"height": 420,
"content": "## 📋 SYMPTOM CATEGORIES\n\n**Supported Areas:**\n\n**General:**\n• Fever & chills\n• Fatigue\n• Pain locations\n• Weight changes\n\n**Respiratory:**\n• Cough types\n• Breathing issues\n• Congestion\n\n**Digestive:**\n• Stomach pain\n• Nausea\n• Changes in habits\n\n**Mental Health:**\n• Stress levels\n• Sleep patterns\n• Mood changes\n\n**Skin:**\n• Rashes\n• Changes\n• Irritations"
},
"typeVersion": 1
},
{
"id": "configuration",
"name": "Notizzettel3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-900,
-50
],
"parameters": {
"width": 320,
"height": 380,
"content": "## 🔧 CONFIGURATION\n\n**Required Setup:**\n- [ ] OpenAI API key\n- [ ] Emergency contacts database\n- [ ] Disclaimer acceptance\n- [ ] Language settings\n\n**Optional:**\n- [ ] Medical database API\n- [ ] Translation service\n- [ ] SMS notifications\n- [ ] Healthcare provider API\n- [ ] Appointment systems\n\n**Compliance:**\n• Review local regulations\n• Add required disclaimers\n• Implement data retention\n• Audit logging"
},
"typeVersion": 1
},
{
"id": "example-interactions",
"name": "Notizzettel4",
"type": "n8n-nodes-base.stickyNote",
"position": [
200,
-500
],
"parameters": {
"width": 350,
"height": 400,
"content": "## 💬 EXAMPLE INTERACTIONS\n\n**User:** \"I have a headache for 3 days\"\n**Bot:** Provides general info about headaches, when to see doctor, self-care tips\n\n**User:** \"Chest pain can't breathe\"\n**Bot:** EMERGENCY - Call 911 immediately\n\n**User:** \"Remind me medications\"\n**Bot:** Sets up medication schedule\n\n**User:** \"Rash on arm, itchy\"\n**Bot:** General info about rashes, suggests pharmacist/doctor visit\n\n**User:** \"Feeling anxious lately\"\n**Bot:** Mental health resources, coping strategies, professional help info"
},
"typeVersion": 1
},
{
"id": "roadmap",
"name": "Notizzettel5",
"type": "n8n-nodes-base.stickyNote",
"position": [
600,
-500
],
"parameters": {
"width": 300,
"height": 420,
"content": "## 📊 FEATURES ROADMAP\n\n**Current:**\n✅ Symptom information\n✅ Emergency detection\n✅ General guidance\n✅ Multi-language\n\n**Planned:**\n🔄 Medicine interactions\n🔄 Appointment booking\n🔄 Health tracking\n🔄 Family profiles\n🔄 Wearable integration\n🔄 Telemedicine prep\n🔄 Insurance info\n🔄 Prescription reminders\n\n**Future:**\n🔮 AI health predictions\n🔮 Personalized wellness\n🔮 Medical record analysis"
},
"typeVersion": 1
},
{
"id": "webhook-entry",
"name": "Health Query Webhook",
"type": "n8n-nodes-base.webhook",
"notes": "Receives health-related queries with strict privacy",
"position": [
-600,
100
],
"webhookId": "health-assistant",
"parameters": {
"path": "health-assistant",
"options": {
"responseHeaders": {
"entries": [
{
"name": "Access-Control-Allow-Origin",
"value": "*"
},
{
"name": "X-Content-Type-Options",
"value": "nosniff"
}
]
}
},
"httpMethod": "POST",
"responseMode": "responseNode"
},
"typeVersion": 1.1
},
{
"id": "safety-check",
"name": "Sicherheitsprüfung & Kategorisierung",
"type": "n8n-nodes-base.code",
"notes": "Checks for emergencies and categorizes queries",
"position": [
-400,
100
],
"parameters": {
"jsCode": "// Emergency keywords that trigger immediate response\nconst emergencyKeywords = [\n 'chest pain', 'heart attack', 'stroke', 'can\\'t breathe', 'breathing difficulty',\n 'unconscious', 'severe bleeding', 'suicide', 'overdose', 'poisoning',\n 'severe pain', 'allergic reaction', 'anaphylaxis', 'seizure'\n];\n\n// Extract user input\nconst userInput = $input.first().json.body?.query || $input.first().json.query || '';\nconst language = $input.first().json.body?.language || 'en';\nconst age = $input.first().json.body?.age || 'unknown';\nconst sessionId = $input.first().json.body?.sessionId || Math.random().toString(36).substring(7);\n\n// Check for emergency\nconst lowerInput = userInput.toLowerCase();\nconst isEmergency = emergencyKeywords.some(keyword => lowerInput.includes(keyword));\n\n// Categorize query type\nlet queryType = 'general';\nif (lowerInput.includes('symptom') || lowerInput.includes('pain') || lowerInput.includes('feel')) {\n queryType = 'symptom';\n} else if (lowerInput.includes('medication') || lowerInput.includes('medicine') || lowerInput.includes('drug')) {\n queryType = 'medication';\n} else if (lowerInput.includes('appointment') || lowerInput.includes('doctor') || lowerInput.includes('schedule')) {\n queryType = 'appointment';\n} else if (lowerInput.includes('wellness') || lowerInput.includes('health tip') || lowerInput.includes('prevent')) {\n queryType = 'wellness';\n}\n\n// Privacy notice\nconst privacyNotice = \"This conversation is not stored and is for informational purposes only.\";\n\n// Prepare output\nreturn {\n userInput,\n language,\n age,\n sessionId,\n isEmergency,\n queryType,\n privacyNotice,\n timestamp: new Date().toISOString(),\n disclaimer: \"This is not medical advice. Consult healthcare professionals for medical concerns.\"\n};"
},
"typeVersion": 2
},
{
"id": "emergency-router",
"name": "Notfall-Router",
"type": "n8n-nodes-base.if",
"position": [
-200,
100
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": false,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "c5528e99-6c2d-469e-aec6-ad5b07d5c8f1",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
},
"leftValue": "={{ $json.isEmergency }}",
"rightValue": true
}
]
}
},
"typeVersion": 2
},
{
"id": "emergency-response",
"name": "Notfallantwort",
"type": "n8n-nodes-base.set",
"notes": "Immediate emergency response with contact numbers",
"position": [
0,
0
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "emergency",
"name": "response",
"type": "string",
"value": "=🚨 EMERGENCY DETECTED 🚨\n\n**CALL EMERGENCY SERVICES IMMEDIATELY:**\n\n🇺🇸 USA: 911\n🇬🇧 UK: 999\n🇪🇺 EU: 112\n🇦🇺 Australia: 000\n\n**Your message suggests a medical emergency.**\n\nWhile waiting for help:\n1. Stay calm\n2. Don't drive yourself\n3. Unlock doors for paramedics\n4. Have medications list ready\n5. Call someone to be with you\n\n**This is an automated response. Get immediate medical help!**"
},
{
"id": "type",
"name": "responseType",
"type": "string",
"value": "emergency"
},
{
"id": "severity",
"name": "severity",
"type": "string",
"value": "critical"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "health-ai",
"name": "Gesundheitsinformations-KI",
"type": "@n8n/n8n-nodes-langchain.openAi",
"notes": "Provides general health information with strict guidelines",
"position": [
0,
200
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4-mini"
},
"options": {
"maxTokens": 1000,
"temperature": 0.3
},
"messages": {
"values": [
{
"role": "system",
"content": "=You are a helpful health information assistant. You provide general health information and wellness guidance while being very careful to:\n\n1. NEVER diagnose conditions\n2. NEVER prescribe medications\n3. NEVER replace professional medical advice\n4. ALWAYS recommend consulting healthcare providers for medical concerns\n5. ALWAYS emphasize this is general information only\n\nYour responses should be:\n- Informative but cautious\n- Empathetic and supportive\n- Clear about limitations\n- Focused on general wellness\n- Encouraging professional consultation\n\nFor symptom queries:\n- Provide general information about possible causes\n- Suggest when to see a doctor\n- Offer comfort measures if appropriate\n- Never minimize serious symptoms\n\nFor medication queries:\n- Only provide general information\n- Emphasize consulting pharmacists/doctors\n- Never suggest specific dosages\n- Mention common side effects only generally\n\nAlways end with a disclaimer about seeking professional medical advice."
},
{
"role": "user",
"content": "={{ $json.userInput }}\n\nContext:\n- Query Type: {{ $json.queryType }}\n- Language: {{ $json.language }}\n- Age Group: {{ $json.age }}\n\nPlease provide helpful general health information while being clear this is not medical advice."
}
]
}
},
"credentials": {
"openAiApi": {
"id": "{{YOUR_OPENAI_CREDENTIAL}}",
"name": "OpenAI account"
}
},
"typeVersion": 1
},
{
"id": "format-health-response",
"name": "Gesundheitsantwort formatieren",
"type": "n8n-nodes-base.set",
"notes": "Adds disclaimers and resources to response",
"position": [
200,
200
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "3d0292bc-0e07-4b55-9b7f-be0b417c2e05",
"name": "response",
"type": "string",
"value": "={{ $json.message.content }}"
},
{
"id": "e4e66a7a-1776-465b-865f-76666c5e3584",
"name": "responseType",
"type": "string",
"value": "={{ $('Safety Check & Categorization').item.json.queryType }}"
},
{
"id": "b2346867-40bb-4321-a3bd-59b948036dca",
"name": "disclaimer",
"type": "string",
"value": "=⚕️ **Important Medical Disclaimer:**\nThis information is for educational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition."
},
{
"id": "8f30e7de-3dcb-412f-bcd8-d8bbfff087fb",
"name": "resources",
"type": "string",
"value": "=📞 **Health Resources:**\n• Find a doctor: https://doctor.webmd.com/\n• Symptom checker: https://www.mayoclinic.org/symptom-checker/\n• Mental health: https://www.samhsa.gov/find-help/national-helpline\n• Poison control: 1-800-222-1222 (US)"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "merge-responses",
"name": "Zusammenführen",
"type": "n8n-nodes-base.merge",
"position": [
400,
100
],
"parameters": {
"mode": "combine",
"options": {},
"combinationMode": "multiplex"
},
"typeVersion": 3
},
{
"id": "compile-response",
"name": "Endantwort zusammenstellen",
"type": "n8n-nodes-base.code",
"notes": "Creates structured response with all necessary information",
"position": [
600,
100
],
"parameters": {
"jsCode": "// Compile final response\nconst input = $('Safety Check & Categorization').item.json;\nconst response = $input.first().json;\n\n// Build structured response\nconst output = {\n success: true,\n sessionId: input.sessionId,\n timestamp: new Date().toISOString(),\n query: {\n original: input.userInput,\n type: input.queryType,\n isEmergency: input.isEmergency,\n language: input.language\n },\n response: {\n content: response.response,\n type: response.responseType,\n severity: response.severity || 'normal'\n },\n disclaimers: {\n medical: response.disclaimer || input.disclaimer,\n privacy: input.privacyNotice\n },\n resources: response.resources || null,\n followUp: {\n suggestedActions: getSuggestedActions(input.queryType, input.isEmergency),\n nextSteps: getNextSteps(input.queryType)\n }\n};\n\n// Helper functions\nfunction getSuggestedActions(queryType, isEmergency) {\n if (isEmergency) return ['Call emergency services', 'Get immediate help'];\n \n const actions = {\n symptom: ['Track symptoms', 'Schedule doctor visit', 'Rest and monitor'],\n medication: ['Consult pharmacist', 'Read medication guide', 'Set reminders'],\n appointment: ['Call your provider', 'Prepare questions', 'Gather medical history'],\n wellness: ['Start healthy habits', 'Track progress', 'Set wellness goals'],\n general: ['Consult healthcare provider', 'Learn more', 'Stay informed']\n };\n \n return actions[queryType] || actions.general;\n}\n\nfunction getNextSteps(queryType) {\n const steps = {\n symptom: 'If symptoms persist or worsen, see a healthcare provider promptly.',\n medication: 'Always follow prescription instructions and consult your pharmacist.',\n appointment: 'Write down your concerns to discuss with your provider.',\n wellness: 'Small daily changes can lead to significant health improvements.',\n general: 'Your health is important - don\\'t hesitate to seek professional help.'\n };\n \n return steps[queryType] || steps.general;\n}\n\nreturn output;"
},
"typeVersion": 2
},
{
"id": "send-response",
"name": "Antwort senden",
"type": "n8n-nodes-base.respondToWebhook",
"notes": "Returns health information with appropriate headers",
"position": [
800,
100
],
"parameters": {
"options": {
"responseCode": 200,
"responseHeaders": {
"entries": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "X-Health-Disclaimer",
"value": "This is not medical advice"
}
]
}
},
"respondWith": "json",
"responseBody": "={{ JSON.stringify($json, null, 2) }}"
},
"typeVersion": 1.1
},
{
"id": "integration-options",
"name": "Notizzettel6",
"type": "n8n-nodes-base.stickyNote",
"position": [
600,
-50
],
"parameters": {
"width": 300,
"height": 400,
"content": "## 📱 INTEGRATION OPTIONS\n\n**Channels:**\n• Web chat widget\n• WhatsApp Business\n• Telegram bot\n• SMS gateway\n• Voice assistants\n• Mobile apps\n\n**Healthcare Systems:**\n• EHR integration\n• Appointment APIs\n• Pharmacy systems\n• Insurance verification\n• Telemedicine platforms\n\n**Data Sources:**\n• Medical databases\n• Drug interaction APIs\n• Symptom databases\n• Provider directories"
},
"typeVersion": 1
},
{
"id": "audit-log",
"name": "Audit-Protokoll (Optional)",
"type": "n8n-nodes-base.airtable",
"notes": "Optional: Log queries for compliance (configure data retention)",
"disabled": true,
"position": [
400,
300
],
"parameters": {
"fieldsUi": {
"fieldValues": [
{
"fieldId": "session_id",
"fieldValue": "={{ $('Safety Check & Categorization').item.json.sessionId }}"
},
{
"fieldId": "query_type",
"fieldValue": "={{ $('Safety Check & Categorization').item.json.queryType }}"
},
{
"fieldId": "is_emergency",
"fieldValue": "={{ $('Safety Check & Categorization').item.json.isEmergency }}"
},
{
"fieldId": "timestamp",
"fieldValue": "={{ $('Safety Check & Categorization').item.json.timestamp }}"
}
]
},
"resource": "database",
"operation": "create",
"databaseId": {
"__rl": true,
"mode": "list",
"value": "health-assistant-logs"
}
},
"typeVersion": 2
}
],
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"connections": {
"merge-responses": {
"main": [
[
{
"node": "compile-response",
"type": "main",
"index": 0
}
]
]
},
"emergency-router": {
"main": [
[
{
"node": "emergency-response",
"type": "main",
"index": 0
}
],
[
{
"node": "health-ai",
"type": "main",
"index": 0
}
]
]
},
"emergency-response": {
"main": [
[
{
"node": "merge-responses",
"type": "main",
"index": 0
}
]
]
},
"webhook-entry": {
"main": [
[
{
"node": "safety-check",
"type": "main",
"index": 0
}
]
]
},
"health-ai": {
"main": [
[
{
"node": "format-health-response",
"type": "main",
"index": 0
}
]
]
},
"compile-response": {
"main": [
[
{
"node": "send-response",
"type": "main",
"index": 0
}
]
]
},
"format-health-response": {
"main": [
[
{
"node": "merge-responses",
"type": "main",
"index": 1
},
{
"node": "audit-log",
"type": "main",
"index": 0
}
]
]
},
"safety-check": {
"main": [
[
{
"node": "emergency-router",
"type": "main",
"index": 0
}
]
]
}
}
}Häufig gestellte Fragen
Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Experte - Support-Chatbot, KI-Chatbot
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
Häufig gestellte Fragen-Bot für Fluggesellschaften
Automatisierung der Fluggesellschaft-Kundensupports mit GPT-4 und Issues-Klassifizierung
If
Code
Merge
+
If
Code
Merge
27 NodesOneclick AI Squad
Support-Chatbot
Multi-Channel-DHL-Status-Bot
Automatisierter DHL-Paketverfolgungsbot für Webformulare und E-Mail-Anfragen
If
Code
Gmail
+
If
Code
Gmail
15 NodesYusuke Yamamoto
Support-Chatbot
KI-gesteuerter Facebook-Seiten-Support-Chatbot: Automatische Antworten und intelligente Kundenbetreuung
Facebook Messenger-Chatbot mit GPT-4.1 mit manueller Eskalation
If
Set
Wait
+
If
Set
Wait
32 NodesSpaGreen Creative
Support-Chatbot
KI-gesteuerter Social-Media-Inhaltsgenerator und -Planer
Plattformübergreifende Social-Media-Inhalte mit GPT-4 und einem automatisierten Scheduler generieren
Set
Code
Webhook
+
Set
Code
Webhook
14 NodesJah coozi
Content-Erstellung
Automatische Bearbeitung des Kundensupports mit einem WhatsApp-KI-Assistenten und Google Docs sowie Gemini
Automatisierte Bearbeitung von Kunden-Support über WhatsApp mit KI-Assistent, Google Docs und Gemini
If
Code
Webhook
+
If
Code
Webhook
14 NodesJamot
Support-Chatbot
Automatisierte Lead-Generierung und personalisierte Ansprache: Apollo, AI und Instantly.ai
Automatisierung der Lead-Generierung und personalisierten Ansprache: Apollo, AI und Instantly.ai
If
Set
Code
+
If
Set
Code
166 NodesRuben AI
Lead-Pflege
Workflow-Informationen
Schwierigkeitsgrad
Experte
Anzahl der Nodes17
Kategorie2
Node-Typen9
Autor
Jah coozi
@jahcooziExterne Links
Auf n8n.io ansehen →
Diesen Workflow teilen