Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Email Automation

Email Automation

Manage medical appointment bookings and reminders with Google Sheets, Calendar, Gmail

When something happens in a connected app, it handles email using Gmail, Google Calendar, Google Sheets, Supabase.

What it does

## How it works This workflow automatically manages patient appointments using Google Forms, Google Calendar, Gmail, and Supabase. When a patient submits an appointment form, the workflow collects and cleans the patient details, then checks doctor availability in Google Calendar. If the selected time slot is available, the system creates the appointment event in Google Calendar, stores all appointment details in Supabase database, and sends a confirmation email to the patient. Before the appointment time, the workflow automatically sends a reminder email and updates the reminder status in the database for tracking purposes. ## Setup Steps 1. Create a Google Form for patient appointment booking. 2. Connect Google Sheets Trigger in n8n to capture form responses. 3. Configure Google Calendar credentials for appointment scheduling. 4. Create a Supabase project and appointment table for data storage. 5. Connect Gmail credentials for confirmation and reminder emails. 6. Configure the Wait node timing for appointment reminders. 7. Test the workflow using sample patient appointments before enabling production mode.

The steps

  1. Patient Appointment Form Trigger
  2. Clean Patient Data
  3. Generate Appointment Datetime
  4. Check Doctor Availability
  5. Appointment Slot Available?
  6. Send Slot Unavailable Email
  7. Create Google Calendar Appointment
  8. Prepare Database Data
  9. Save Appointment in Supabase
  10. Send Appointment Confirmation Email
  11. Wait Before Reminder
  12. Send Appointment Reminder Email
  13. Update Reminder Status

Similar automations