Quick overview
This workflow runs daily at 8 AM to read appointment records from Google Sheets, send the right Gmail email (confirmation, reminder, no-show win-back, or post-visit review request) based on each appointment’s status and date, and then update the appointment status back in the sheet.
How it works
- Runs every day at 8 AM (or manually for testing) to start processing appointments.
- Loads appointment rows from the “Appointments” tab in Google Sheets.
- Classifies each row by comparing its Status and AppointmentDate to today to decide whether to send a confirmation, reminder, win-back, or review request.
- Sends the appropriate HTML email through Gmail using the recipient’s Email and your configured business links.
- Updates the matching appointment row in Google Sheets with the new Status and LastContacted date to prevent duplicate messages.
Setup
- Connect Google Sheets OAuth2 credentials and set the correct Google Sheet document ID in both Google Sheets steps.
- Connect Gmail OAuth2 credentials for the mailbox that sends the emails.
- Create an “Appointments” sheet with columns including AppointmentID (unique), Name, Email, AppointmentDate (YYYY-MM-DD), Status, and LastContacted.
- Update the configuration values for businessName, bookingUrl, reviewUrl, and reminderDaysBefore to match your business and desired reminder timing.