Skip to main content

Automate HVAC service scheduling with AI agent, Google Calendar and Gmail

Workflow preview

Workflow preview
100%
Automate HVAC service scheduling with AI agent, Google Calendar and Gmail preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Instant, automated scheduling. This AI Scheduling Agent manages real time appointments, availability checks, and rescheduling across Google Calendar and Sheets, eliminating human hold times. Pro...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.webhook, @n8n/n8n-nodes-langchain.toolthink, n8n-nodes-base.respondtowebhook, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.googlecalendartool, n8n-nodes-base.googlesheetstool

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Bhuvanesh R.

Original n8n.io source

1.1 Workflow description

Title
Automate HVAC service scheduling with AI agent, Google Calendar and Gmail
Workflow name
Automate HVAC service scheduling with AI agent, Google Calendar and Gmail

Instant, automated scheduling. This AI Scheduling Agent manages real-time appointments, availability checks, and rescheduling across Google Calendar and Sheets, eliminating human hold times.


🎯 Problem Statement

Traditional call center or online booking systems often lack the flexibility to handle complex, multi-step customer requests like rescheduling, checking dynamic availability across multiple time slots, or handling context-aware conversational booking. This leads to friction, missed bookings, and high administrative overhead for service companies like HVAC providers.


✨ Solution

This workflow deploys a sophisticated AI Scheduling Agent that acts as a virtual receptionist. It uses the Language Model's (LLM) "tool-use" capability to intelligently execute complex, sequential business logic (e.g., check availability before booking, find existing events before rescheduling) and manages the entire lifecycle of a service appointment, from initial inquiry to final confirmation.


βš™οΈ How It Works (Multi-Step Execution)

  1. Trigger: A customer request (e.g., from an external voice or text platform) hits the Webhook Trigger with intent details (e.g., tool_request: 'reschedule_appointment').

  2. Agent Logic: The Receptionist Agent uses a strict system prompt and its internal tools to formulate an execution plan. It maintains conversational state via the simple-memory node.

  3. Tool Execution (Example: Reschedule): The Agent executes a predefined sequence of private tools:

    • find_old_event: Locates the existing booking ID using the customer's email.

    • check_calendar: Verifies the proposed new time is available (2-hour window).

    • reschedule_appointment: Updates the calendar event.

    • log_lead: Updates the central Google Sheet.

  4. Synchronous Response: The Agent sends a confirmation or follow-up question via the respond_to_webhook node.

  5. Asynchronous Confirmation: The log_lead action triggers a secondary workflow that composes a professional email via a second LLM (Anthropic) and sends it to the customer via Gmail, followed by an internal alert via Google Chat.


πŸ› οΈ Setup Steps

  1. Credentials:

    • AI/LLM: Configure credentials for the Language Model used (OpenAI or Gemini) for the core Agent.

    • Google Services: Set up OAuth2 credentials for Google Calendar (for booking/checking), Google Sheets (for logging), and Gmail (for customer confirmation).

  2. Google Calendar: Specify the technician's calendar ID ([email protected] in the template) in all Calendar nodes.

  3. Google Sheets: Create a new Google Sheet to serve as the Lead Log and update the Document ID and Sheet Name in the log_lead and log_lead_trigger nodes.

  4. Tool Configuration: Review and customize the Agent's system prompt in the Receptionist node to align time zone rules (currently Asia/Kolkata - IST) and business hours (9:00 AM to 6:00 PM) with your operations.


βœ… Benefits

  1. Increased Efficiency: Fully automates complex scheduling and rescheduling, freeing up human staff.

  2. Contextual Service: AI handles multi-turn conversations and adheres to strict business rules (e.g., 2-hour slots, maximum tool usage).

  3. Data Integrity: Ensures all bookings are immediately logged to Google Sheets, maintaining a centralized record (CRM).

  4. Professional Flow: Provides immediate confirmation to the customer via email and instant notification to the internal team via chat.


πŸš€ Other Use Cases

The underlying multi-step, tool-execution pattern is highly versatile and can be adapted for any service industry requiring complex, rules-based scheduling:

  • Real Estate: Scheduling property viewings (Check agent availability β†’ Book viewing β†’ Send directions).

  • HVAC Services: Managing maintenance and repair visits (Diagnose issue type β†’ Match with qualified technician β†’ Check part availability β†’ Schedule visit β†’ Send service confirmation).

  • Medical/Dental: Booking patient appointments (Check insurance eligibility β†’ Check doctor availability β†’ Book β†’ Send pre-visit forms).

  • Legal Services: Intake for consultations (Collect client issue β†’ Check specialist availability β†’ Book β†’ Send retainer agreement).

  • Automotive Repair: Scheduling service bays (Check bay and mechanic availability β†’ Book β†’ Update internal service board).

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - webhook_trigger

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 2 - think

Type / Role
@n8n/n8n-nodes-langchain.toolThink - toolThink
Config choices
Version 1

Block 3 - respond_to_webhook

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.4

Block 4 - simple-memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 5 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 6 - Receptionist

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 7 - check_calendar

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 8 - log_lead

Type / Role
n8n-nodes-base.googleSheetsTool - googleSheetsTool
Config choices
Version 4.6

Block 9 - log_lead_trigger

Type / Role
n8n-nodes-base.googleSheetsTrigger - googleSheetsTrigger
Config choices
Version 1

Block 10 - find_old_event

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 11 - reschedule_appointment

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 12 - Compose a mail

Type / Role
@n8n/n8n-nodes-langchain.anthropic - anthropic
Config choices
Version 1

Block 13 - booking_confirmation

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 14 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 15 - cancel_appointment

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 16 - book_appointment

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 17 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 30 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Automate HVAC service scheduling with AI agent, Google Calendar and Gmail
Complexity advanced
Nodes 30
Categories Support Chatbot, AI Chatbot
Author Bhuvanesh R
Published 21 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9974/9974.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate HVAC service scheduling with AI agent, Google Calendar and Gmail do?

Instant, automated scheduling. This AI Scheduling Agent manages real time appointments, availability checks, and rescheduling across Google Calendar and Sheets, eliminating human hold times. Pro...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI Chatbot use case.