workflows.fit
Back to n8n workflows
n8n templateFreeBy Oneclick AI Squad

Medical symptom analysis & doctor recommendations with Ollama AI & WhatsApp

This n8n workflow enables an AI-powered symptom checker where users input symptoms via a form or chat, analyzes them using an AI model, matches possible conditions, and suggests relevant doctors with contact details v...

CommunicationHITLCore NodesDevelopmentAILangchainUtilityLm Chat Ollama
Loading interactive preview...

Template notes

This n8n workflow enables an AI-powered symptom checker where users input symptoms via a form or chat, analyzes them using an AI model, matches possible conditions, and suggests relevant doctors with contact details via WhatsApp or email, enhancing healthcare accessibility.

Why Use It

This workflow improves healthcare outreach by providing quick, AI-driven symptom analysis and doctor recommendations, reducing the burden on medical staff, empowering users with informed choices, and streamlining appointment scheduling.

How to Import It

1. Download the Workflow JSON: Obtain the workflow file from the n8n template or create it based on this document. 2. Import into n8n: In your n8n instance, go to "Workflows," click the three dots, select "Import from File," and upload the JSON. 3. Configure Credentials: Set up form/webhook, AI model, WhatsApp, email (e.g., SMTP), and optional doctor database API credentials in n8n. 4. Run the Workflow: Test with a sample symptom input and verify responses.

System Architecture

- Symptom Input Pipeline: - Form/Chat Trigger: Initiates the workflow when a user submits symptoms. - Extract Symptom Data: Processes the input from the form or chat. - AI Analysis Flow: - Send to AI Model: Analyzes symptoms using an AI model. - Match Possible Conditions: Identifies potential health conditions. - Doctor Suggestion Flow: - Retrieve Doctor Details: Fetches relevant doctor data from a Google Sheet or API. - Prepare Suggestion Message: Formats the suggestion with doctor names and contacts. - Send WhatsApp Suggestion: Delivers the suggestion via WhatsApp. - Send Email Suggestion: Delivers the suggestion via email. - Update Log: Logs the request and response in a Google Sheet.

Google Sheet File Structure - Columns: - timestamp: Date and time of the symptom submission. - userid: Unique identifier for the user (e.g., form ID or chat handle). - symptoms: List of symptoms entered by the user. - condition: AI-identified possible condition. - doctorname: Name of the suggested doctor. - contact: Doctor’s contact (phone or email). - sentvia: Channel used for delivery (e.g., WhatsApp, Email).