AI-Powered HVAC Service Scheduling Agent - n8n Workflow

Deploy a comprehensive n8n workflow for HVAC service scheduling. This automation handles availability checks, booking, rescheduling, and cancellation using an AI Agent integrated with Google Calendar, Sheets, and Gmail. Use these powerful n8n templates today.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

HVAC or field service companies seeking to automate customer service.
Technical users looking for robust n8n templates demonstrating advanced multi-tool AI agents.
Developers needing a real-world example of conditional tool execution within an n8n workflow.
Businesses requiring reliable, automated logging and confirmation for appointments.

Overview

This sophisticated n8n workflow solves the complex challenge of automating conditional service scheduling. Unlike simple chatbots, this system leverages an AI Agent (powered by OpenAI or similar LLMs) to manage a suite of specialized tools, enabling it to handle dynamic customer requests like checking availability, booking, verifying, rescheduling, and canceling appointments.

The core value of this n8n automation is its reliability, enforced by strict execution rules programmed into the agent. For example, before any booking or rescheduling occurs, the agent is mandated to call the check_calendar n8n node to verify the 2-hour slot availability. Furthermore, the workflow integrates Google Sheets as a transaction log, which in turn acts as an n8n trigger for a separate, asynchronous pipeline that handles email confirmations via Gmail and internal team alerts. This complete solution demonstrates the power and flexibility of building complex conversational agents using n8n templates.

How it Works

The entire process is divided into two major sequences: a synchronous conversational flow (Step 1) and an asynchronous confirmation flow (Step 2).

Step 1: Agent Execution (Synchronous)


  1. Trigger: The n8n workflow starts with a webhooktrigger n8n node, receiving a POST request containing customer and service request data (e.g., from an external voice bot).

  2. Agent Setup: The data passes to the Receptionist Agent, which is configured with an OpenAI Chat Model and a simple-memory n8n node to maintain conversational context.

  3. Tool Reasoning: The Agent analyzes the toolrequest value in the input and uses its detailed system prompt to decide the correct sequence of tools to call. This might involve calling the think n8n node first.

  4. Google Calendar Operations: The Agent utilizes various Google Calendar tools, such as checkcalendar (to verify 2-hour slots, often multiple times to suggest options), findoldevent (to retrieve an existing booking ID by email), and either bookappointment, rescheduleappointment, or cancelappointment based on the request.

  5. Logging: Upon successful booking or rescheduling, the Agent calls the loglead n8n node, appending the details to a Google Sheet.

  6. Response: The Agent’s final natural language output (e.g., 'Your appointment is confirmed') is sent back immediately via the respondtowebhook n8n node.

Step 2: Confirmation Pipeline (Asynchronous)


  1. Second Trigger: The successful completion of the loglead tool in Step 1 causes the logleadtrigger n8n trigger node (Google Sheets Trigger) to fire, initiating the confirmation sequence.

  2. Email Generation: The new row data is passed to the Compose a mail n8n node (using Anthropic), which generates a professionally formatted confirmation email body, ensuring accurate ISO 8601 date/time conversion.

  3. Customer Confirmation: The bookingconfirmation n8n node uses Gmail to send the finalized email to the customer.

  4. Internal Notification: A Wait n8n node introduces a 2-minute delay before the final messageteam n8n node sends an internal alert to a Google Chat space, informing the team of the new or updated appointment.

Installation Guide

To deploy this expert n8n workflow, follow these steps:


  1. Import the JSON: Copy the provided n8n workflow JSON data and import it into your n8n instance.

  2. Configure Credentials: Set up the necessary credentials for the external services:

OpenAI/Anthropic: Configure your API keys for the OpenAI Chat Model and Compose a mail nodes. (Note: The workflow uses OpenAI for the core agent and Anthropic for email composition).
Google Calendar: Authenticate the Google Calendar credential used by all the scheduling tools (checkcalendar, bookappointment, etc.) and ensure the calendar ID specified is correct.
Google Sheets: Authenticate the Google Sheets credential for the loglead node and the separate Google Sheets Trigger credential for the logleadtrigger node. Update the Document ID and Sheet Name to point to your central HVAC log spreadsheet.
Gmail & Google Chat: Configure credentials for the booking
confirmation (Gmail) and messageteam (Google Chat) n8n nodes.

  1. Activate the Triggers: Activate the webhooktrigger n8n node and the logleadtrigger n8n trigger node (Google Sheets Trigger) to enable the complete n8n workflow logic. The webhook URL must be exposed to your external conversational agent.

Node Details

webhooktrigger (n8n trigger): The starting point, listening for incoming service requests (POST method) from an external system.
OpenAI Chat Model & simple-memory (n8n node): Provides the language understanding and short-term memory (session key based on IP) for the AI agent.
Receptionist (AI Agent): The central decision-maker. This specialized n8n node contains the complex system prompt dictating multi-step execution rules for checking availability, booking, rescheduling, and cancellation using defined tools. It governs the flow of the entire n8n workflow.
Google Calendar Tools (n8n node family): Includes check
calendar (checks 2-hour slots in Asia/Kolkata timezone), bookappointment, rescheduleappointment, cancelappointment, and findoldevent (uses customer email to locate existing booking ID).
loglead (Google Sheets n8n node): Appends confirmed appointment details to the specified Google Sheet. This action is critical as it serves as the data bridge to the confirmation sub-workflow.
logleadtrigger (n8n trigger): A separate Google Sheets n8n trigger that fires whenever a new row is added by the loglead tool, initiating the post-booking steps.
Compose a mail (Anthropic n8n node): Uses Claude to generate a personalized, professional appointment confirmation email body based on the data provided by the Google Sheets trigger.
booking
confirmation (Gmail n8n node): Sends the generated email confirmation to the customer's email address, sourced dynamically from the Google Sheet trigger data.

Related n8n Workflows

Paid

Nodes: 14 Nodes
Updated: December 26 2025
View all
Created by

I partner with businesses to design AI voice agents and automation systems that enhance efficiency and drive growth. If you’re exploring AI integration or seeking guidance on automation workflows, I invite you to connect with me on LinkedIn to discuss further.

Featured*