Lead capture, scheduling and SMS reminders: AI for HVAC companies (n8n)
At a glance
- Setup estimate
- 2–4 h (ESTIMATE)
- Tools
- Industries
- Home services
Problem
HVAC companies lose leads between the first form fill, the callback and getting a visit on the calendar
Who it's for
A starter build of AI for HVAC companies, aimed at small residential installers and repair outfits (the author pitches it at door-to-door HVAC sales). The trigger: leads slip away between the first form fill, the callback and getting a visit on the calendar, and you want each request logged, sorted by service type and urgency, and sent to the right crew straight away.
Skip it if you already run a field-service platform with its own booking (it would duplicate that), or if you need real scheduling against technician availability: the template simply books every visit for 24 hours after the form is sent.
Tools and what each does
- n8n Form Trigger
- 'HVAC Service Request' form: name, email, phone, property address, service type (Installation, Repair or Maintenance) and a description.
- Google Sheets
- Appends or updates the lead, matched on email.
- AI Agent with OpenAI gpt-4.1-mini + structured output parser
- Classifies urgency (Low, Medium, High, Emergency) and service category, with a short reason.
- Switch + Slack
- Routes by the AI's service category to the installation, repair or maintenance team's Slack channel.
- Email (SMTP)
- Sends the customer a thank-you confirmation with category, priority and address.
- Google Calendar
- Creates a 2-hour event starting 24 hours after the run.
- Twilio + HTTP Request
- Texts the customer a reminder, then posts the lead to your CRM or dispatch system's API.
Browse by tool: n8n, OpenAI, Google Sheets, Slack, Google Calendar, Twilio
Steps
- A customer submits the form.
- A Set node holds your Slack channel IDs, calendar ID and CRM URL; another tidies the form fields.
- The lead is written to Google Sheets.
- The AI agent returns urgency, category and reasoning.
- The Switch posts to the matching team's Slack channel.
- The customer gets a confirmation email, a calendar event is created and an SMS says the visit is 'tomorrow'.
- The lead is sent to your CRM or dispatch endpoint.
Known problems in the source template
Found by reading the template's JSON, not by running it. Likely fails as shipped.
Problem: After the AI agent, the data item holds only the AI's 'output'; after Slack it holds Slack's API reply. Yet the Slack, email, calendar and SMS nodes read $json.leadName, $json.leadEmail and $json.leadPhone. Slack messages will likely show blank customer details, and the confirmation email, SMS and calendar event likely fail or go nowhere.
Fix: Reference the normalized data explicitly, for example $('Normalize Lead Data').item.json.leadEmail, and the AI result as $('Classify Lead Urgency and Service Type').item.json.output.
Problem: Configuration values (Slack channels, calendar ID, CRM URL, email sender, Twilio number, sheet ID and name) are '<__PLACEHOLDER_VALUE__…>' text.
Fix: Replace each placeholder before activating.
Before you start
- An OpenAI API key with billing set up.
- A Google account for Sheets and Calendar; a Slack workspace with three channels; SMTP details for your sending address.
- Optional: a Twilio number registered for A2P 10DLC if you text US customers (cost UNKNOWN), and a CRM or dispatch API.
- Customers' consent to receive texts.
- Setup estimate: 2–4 h including the fixes below (ESTIMATE).
What can go wrong
The template description is brief, so expect to configure routing rules and messages yourself. Needs an OpenAI API key; Twilio SMS is optional and billed by Twilio (cost UNKNOWN). Texting customers requires their consent (for example under the TCPA in the US), and US business texting through Twilio requires A2P 10DLC registration. Check AI classifications before relying on them for dispatch.
- Silent failureEvery appointment is booked for exactly 24 hours after submission, for 2 hours, with no check of business hours, existing bookings or urgency. An 'Emergency' lead still waits a day, and a Saturday-night request books Sunday night. Treat the calendar step as a placeholder for your real dispatch process.
- Silent failureRouting uses the AI's category, not the service type the customer chose, and the Switch has no fallback: anything other than an exact 'Installation', 'Repair' or 'Maintenance' goes nowhere.
- LegalThe SMS says 'Reply CONFIRM', but nothing handles replies. Texting customers needs their consent (for example under the TCPA in the US), and US business texting through Twilio requires A2P 10DLC registration.
- Data privacyNames, addresses and descriptions go to OpenAI, Google, Slack, Twilio and your CRM. The form is public, with no spam protection, and the CRM request is sent without authentication.
- ModelThe template uses gpt-4.1-mini, which OpenAI's deprecations page lists for removal from the API on Jan 14, 2027 (recommended replacement gpt-6-luna).
How to adapt it
- Route by the customer's chosen service type and use the AI only for urgency, so a misclassification can't send a lead to the wrong crew.
- Send 'Emergency' leads to a phone call or an @here Slack alert instead of a next-day booking.
- Replace the fixed calendar slot with a booking link (Calendly, Cal.com or your field-service tool) in the confirmation email.
- Embed the form on your website or swap the trigger for your existing web form.
Sources we checked
- Source template: n8n.io workflow 12742 checked
- Template JSON via n8n templates API checked
- Twilio docs: A2P 10DLC checked
- OpenAI API deprecations checked
- Status
- Researched: Sourced and summarized, not yet run end-to-end by us
- Last checked
- Details checked
Setup estimates are rough guesses for someone comfortable with the tools who already has the accounts and API keys. Real time is unknown until tested.