πŸ’¬ Book and manage appointments with Google Calendar and Gmail

⚑ 661 views Β· πŸ’¬ Support Chatbots

Description

Overview

This workflow automates the complete appointment booking process, from request validation to scheduling, notifications, and reminders.

It checks calendar availability in real time, prevents double bookings, suggests alternative slots when unavailable, and automatically sends confirmations and remindersβ€”ensuring a smooth and reliable booking experience.

Perfect for service-based businesses, consultants, and teams managing appointments at scale.


How It Works

  1. Webhook Trigger

    • Receives booking requests (name, email, date, time, notes).
  2. Workflow Configuration

    • Defines:
      • Google Calendar ID
      • Appointment duration
      • Business hours
      • Sender email
  3. Data Validation

    • Parses and validates input fields
    • Ensures required data is present and correctly formatted
  4. Calendar Availability Check

    • Fetches existing events from Google Calendar
    • Compares requested time with existing bookings
  5. Conflict Detection

    • Detects overlapping events
    • Determines whether the slot is available
  6. Decision Logic

    • If available β†’ proceed with booking
    • If not available β†’ trigger alternative flow

Booking Flow (Available Slot)

  1. Create Calendar Event

    • Schedules appointment in Google Calendar
    • Adds attendee and event details
  2. Confirmation Email

    • Sends booking confirmation with event details
    • Includes calendar event link
  3. Webhook Response

    • Returns success response to client/system
  4. Reminder System


Alternative Flow (Unavailable Slot)

  1. Generate Alternative Slots
  1. Alternative Email Notification
  1. Webhook Response

Setup Instructions

  1. Webhook Setup

    • Configure endpoint (booking)
    • Connect to your frontend or booking form
  2. Google Calendar

    • Add Google Calendar credentials
    • Set calendar ID
  3. Gmail Integration

    • Add Gmail credentials for:
      • Confirmation emails
      • Reminder emails
      • Alternative slot notifications
  4. Configure Parameters

    • Set:
      • Appointment duration (e.g., 60 minutes)
      • Business hours (e.g., 9–17)
      • Sender email
  5. Customize Messages

    • Edit email templates for:
      • Confirmation
      • Alternatives
      • Reminders

Use Cases


Requirements


Key Features


Summary

A complete appointment scheduling system that automates booking validation, calendar management, notifications, and reminders. It reduces manual coordination, prevents scheduling conflicts, and improves attendance with automated follow-ups.

πŸ”— Nodes Used

Webhook, Google Calendar, Gmail

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup