Templates / Run an AI hospital triage and booking chatbot with Mistral and Supabase

Run an AI hospital triage and booking chatbot with Mistral and Supabase

Ready for 3.0

by DIGITAL BIZ TECH ✓ · 70 views · created 2026-08-28 · Support Chatbot, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 46 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects Supabase, Mistral Cloud Chat Model and Gmail. It also calls api.mistral.ai over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).

  1. Health Assistant Agent (AI Agent): runs an AI agent, with model: Mistral AI Model; 8 tools (Get All Patients Tool, Symptom Analysis Tool, Cancel Appointment Tool, Get Patient Details Tool…); memory: Conversation Memory
  2. Triage Agent (AI Agent): runs an AI agent, with model: Mistral Triage Model
  3. Set Task Parameters (Edit Fields (Set)): sets 2 fields: task, task
  4. Fetch Appointment History (Supabase): get many
  5. Fetch Upcoming Appointments (Supabase): get many
  6. Send Response to Chatbot (Respond to Webhook): sends the response back to the webhook caller
  7. Parse Triage Result Response (Code): runs custom JavaScript code
  8. Fetch Hospital Records (Supabase): get many
  9. Calculate No-Show Risk Scores (Code): runs custom JavaScript code
  10. Filter Next 3 Hour Appointments (Code): runs custom JavaScript code

…plus 20 more steps. See the full node list below.

Services it uses

SupabaseMistral Cloud Chat ModelGmail

HTTP calls to: api.mistral.ai

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (17)

From the author

Quick overview This workflow powers an AI hospital chatbot using Mistral AI and Supabase to answer medical questions from a knowledge base, manage patients, doctors, and appointments, triage urgent messages with email escalation, and run daily automations for…

Excerpt from DIGITAL BIZ TECH's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.