{"product_id":"ai-hospital-chatbot-n8n-workflow-mistral-supabase-webhook","title":"AI Hospital Chatbot n8n Workflow: Mistral + Supabase Webhook","description":"\u003ch3\u003eTurn patient chat into working appointments—using an n8n AI Hospital Chatbot workflow with Mistral + Supabase\u003c\/h3\u003e\n\u003cp\u003eThis n8n automation exposes a \u003cstrong\u003e\/ai-chat\u003c\/strong\u003e webhook that lets users chat with an AI “hospital receptionist” powered by \u003cstrong\u003eMistral Cloud\u003c\/strong\u003e. The workflow can answer medical questions by searching your \u003cstrong\u003eSupabase\u003c\/strong\u003e knowledge base, and it can also register patients, list doctors, and manage appointments in your database.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives chat messages via webhook:\u003c\/strong\u003e It handles a \u003cstrong\u003ePOST\u003c\/strong\u003e request to the workflow’s Webhook endpoint containing the user’s chat text.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses a Mistral Cloud AI Agent with memory:\u003c\/strong\u003e The user message is sent to a \u003cstrong\u003eMistral Cloud AI Agent\u003c\/strong\u003e, using \u003cstrong\u003ebuffer memory\u003c\/strong\u003e to maintain conversation context.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRegisters and lists patients:\u003c\/strong\u003e When users ask to register or list patients, the agent creates or retrieves patient records in \u003cstrong\u003eSupabase\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLists doctors:\u003c\/strong\u003e When users ask for doctors, the agent queries Supabase and retrieves all records from the \u003cstrong\u003edoctors\u003c\/strong\u003e table.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBooks, views, and cancels appointments:\u003c\/strong\u003e For booking and viewing, the workflow creates or retrieves appointment records in Supabase; for cancellations, it updates an appointment status to \u003cstrong\u003eCancelled\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAnswers medical questions with retrieval:\u003c\/strong\u003e For medical questions, it searches the \u003cstrong\u003emedical_knowledge\u003c\/strong\u003e table by disease title and replies using the returned content.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns plain-text responses:\u003c\/strong\u003e The final response is sent back to the caller via the webhook response.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003ePatient intake chat for an AI-driven clinic assistant (register\/list patients).\u003c\/li\u003e\n  \u003cli\u003eAutomated doctor directory and appointment booking with one conversational interface.\u003c\/li\u003e\n  \u003cli\u003eSymptom\/disease Q\u0026amp;A backed by a controlled Supabase knowledge base.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes:\u003c\/strong\u003e Code, Webhook, Supabase, Supabase Tool, Manual Trigger, Sticky Note.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI model:\u003c\/strong\u003e Mistral Cloud Chat Model (via Mistral Cloud API credential).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupabase requirements:\u003c\/strong\u003e Ensure tables for \u003cstrong\u003edoctors\u003c\/strong\u003e, \u003cstrong\u003epatients\u003c\/strong\u003e, \u003cstrong\u003eappointments\u003c\/strong\u003e, and \u003cstrong\u003emedical_knowledge\u003c\/strong\u003e with the fields referenced in the workflow.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eIdeal for n8n users, automation engineers, and SaaS operators who want an AI hospital chatbot workflow with real database actions—powered by Mistral Cloud and Supabase.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45862239928499,"sku":"N8N-18335","price":64.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/RpayXs83ppFC8mfpej9TX_Iwq9HngA.png?v=1786957356","url":"https:\/\/buyflowscripts.com\/products\/ai-hospital-chatbot-n8n-workflow-mistral-supabase-webhook","provider":"N8N Commerce","version":"1.0","type":"link"}