Templates / Automate patient journey with GPT-4, Twilio & Slack notifications

Automate patient journey with GPT-4, Twilio & Slack notifications

Needs changes

by Marth - Business Automation ✓ · 186 views · created 2025-07-27 · Support Chatbot, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: OpenAI (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What to replace before upgrading

Removed in 3.0Replace with
OpenAI (legacy)
2. OpenAI (Pre-Procedure Guide), 5. OpenAI (Follow-up Message)
OpenAI node (AI section)

Nodes used (5)

Google CalendarTwilioSlack

What it does

How It Works ⚙️ This workflow is a comprehensive, AI-powered system that acts as a virtual patient assistant for clinics. It automates the entire patient journey from appointment confirmation to post-procedure follow-up. 1. Appointment Trigger: The workflow starts when a new event is created in your Google Calendar for a patient appointment. 2. AI-Powered Education: The new appointment is sent to an OpenAI (GPT-4) node, which acts as a virtual clinic assistant. It instantly generates a personalized pre-procedure guide based on the appointment's details. 3. Automated Communication: The workflow then uses Twilio to send this AI-generated guide directly to the patient via SMS or WhatsApp, ensuring they are well-prepared for their appointment. 4. Post-Procedure Follow-up: After the appointment ends, a Wait node pauses the workflow for a set period. It then sends a personalized follow-up message—also generated by OpenAI—to the patient, encouraging them to provide feedback. 5. Staff Notification: A Slack notification is sent to the team once a follow-up message has been dispatched, keeping everyone informed and ready to act on incoming feedback. How to Set Up 🛠️ 1. Import the Workflow: Copy the provided workflow JSON and import it into your n8n instance. 2. Configure Credentials: Google Calendar: Add your OAuth2 credential. OpenAI: Add your API Key. Twilio: Add your API credentials. Slack: Add your Bot Token credential. 3. Customize Workflow Nodes: Node 1 (Google Calendar Trigger): Select your clinic's booking calendar. Node 2 & 5 (OpenAI): You can customize the prompts to better match your clinic's tone and specific procedures. Node 3 & 6 (Twilio): Replace YOURTWILIONUMBER with your Twilio number and ensure you can extract the patient's phone number from your calendar events (e.g., from the event description). Node 7 (Slack): Replace YOURSLACKCHANNELID with the ID of your team's feedback or operations channel. 4. Save & Activate: Once all settings and credentials are configured, save the workflow and click the "Inactive" toggle in the top-right corner to make it live.

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.