{"product_id":"n8n-healthcare-appointment-webhook-with-gpt-5-mini-google-sheets","title":"n8n Healthcare Appointment Webhook with GPT-5-mini + Google Sheets","description":"\u003ch3\u003eTurn patient messages into scheduled appointments—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n Healthcare Appointment Webhook workflow uses \u003cstrong\u003eGPT-5-mini\u003c\/strong\u003e to understand incoming patient requests, checks \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e for doctor availability, and then returns available slots, books an appointment, or cancels an existing one—directly via an n8n webhook.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives patient messages\u003c\/strong\u003e via a \u003cstrong\u003ewebhook POST\u003c\/strong\u003e containing the patient’s message (and patient ID) for appointment help.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses OpenAI to extract structured intent\u003c\/strong\u003e—the workflow interprets what the patient wants (availability, booking, or cancellation), including the relevant doctor and requested date\/time.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eConsults Google Sheets data\u003c\/strong\u003e for \u003cstrong\u003eDoctors\u003c\/strong\u003e, \u003cstrong\u003eDoctor Availability\u003c\/strong\u003e, and existing \u003cstrong\u003eAppointments\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes AI output\u003c\/strong\u003e into structured fields (including selected slot start\/end times and any matching appointment ID).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRoutes the request by intent\u003c\/strong\u003e:\n    \u003cul\u003e\n      \u003cli\u003e\n\u003cstrong\u003eAvailability check:\u003c\/strong\u003e responds with the doctor\/date and available time slots.\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eBooking:\u003c\/strong\u003e generates an appointment ID, appends a \u003cstrong\u003e“Confirmed”\u003c\/strong\u003e record to the Appointments sheet, and returns a confirmation.\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eCancellation:\u003c\/strong\u003e updates the matching appointment to \u003cstrong\u003e“Cancelled”\u003c\/strong\u003e and returns a cancellation confirmation.\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eFallback intent:\u003c\/strong\u003e returns a generic intent message when needed.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eA patient texts or submits a request for “Dr. Smith tomorrow morning” and gets a list of available slots.\u003c\/li\u003e\n  \u003cli\u003eA patient selects a time; the workflow books the appointment and records it in Google Sheets.\u003c\/li\u003e\n  \u003cli\u003ePatients request cancellation; the workflow updates the existing appointment status to “Cancelled.”\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTech stack \/ nodes:\u003c\/strong\u003e \u003cem\u003ecode, merge, switch, webhook, sticky note, google sheets\u003c\/em\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e \u003cstrong\u003eOpenAI (GPT-5-mini)\u003c\/strong\u003e for intent\/date\/slot extraction; \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e for Doctors, Doctor Availability, and Appointments.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup:\u003c\/strong\u003e add OpenAI API credentials (or update model selection) and configure Google Sheets OAuth2. Ensure the three required spreadsheets exist.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46094217019571,"sku":"N8N-19835","price":51.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/BmyS-HYtbMubrdBCjd3Xs_7ueQVdQI.png?v=1790414107","url":"https:\/\/buyflowscripts.com\/products\/n8n-healthcare-appointment-webhook-with-gpt-5-mini-google-sheets","provider":"N8N Commerce","version":"1.0","type":"link"}