← Back to Directory
Customer ServicePlumbingFreelance/Agency

An Emergency Plumbing AI Voice Agent Built in Three Steps With Vapi and n8n

An AI voice agent that qualifies emergency plumbing calls, checks real time calendar availability, and books appointments in under 10 minutes of setup.

Vapi
n8n
n8n
ChatGPT
ChatGPT
Google Calendar

The Strategy

Emergency plumbing calls are the highest value jobs a plumber can get, but they come in at 2 AM on a Saturday when nobody is answering the phone. The homeowner calls the next plumber on Google, and a $500 to $2,000 job walks out the door. An AI voice agent that picks up every call, qualifies the issue, and books the appointment instantly turns missed calls into booked revenue around the clock. This build uses Vapi as the voice agent platform and n8n as the backend automation layer. Anthony Ton of Apex Agent Systems walks through the entire setup in three steps: configuring the assistant and tools in Vapi, importing a pre built n8n workflow, and connecting Google Calendar for real time availability and booking. The system uses GPT 4.1 Mini as the language model and speaks with a natural conversational tone using model generated first messages. The voice agent does not just answer the phone. It runs a structured qualification process using custom tools defined in Vapi. It asks about the plumbing issue, determines if there is active water leaking, checks whether the main valve has been shut off, and assesses urgency before offering to schedule a service call. Once qualified, it checks the Google Calendar for the next available slot, confirms the details with the caller, and books the appointment automatically. The entire build is designed to be replicated from free templates. The assistant prompt, tool definitions, and n8n workflow are all available as downloadable JSON files that import directly into each platform. Someone with zero experience can have this running and connected to a real phone number in under an hour.

How It Works

1

Create a free account on Vapi and navigate to the Assistants tab. Create a new assistant and set the model to GPT 4.1 Mini with the first message mode set to "assistant speaks first with model generated message."

2

Import the system prompt from the provided assistant prompt plumbing JSON file. This defines the agent's personality, plumbing qualification questions, and conversational behavior.

3

Create three custom tools in Vapi. The first tool is "check availability" which connects to your Google Calendar to retrieve open appointment slots. Import the check availability JSON file into the tool's visual editor.

4

The second tool is "book appointment" which creates a calendar event when the caller confirms a time. Import the book appointment JSON file the same way.

5

The third tool is "qualify lead plumbing" which contains the qualification questions the agent asks: what is the plumbing issue, is there active leaking, and has the main water valve been shut off. Import the qualify lead plumbing JSON file.

6

Go back to the assistant settings, scroll to the tools section, select all three tools, and hit publish to connect them to the agent.

7

Navigate to Phone Numbers in Vapi and create a new number. US accounts get up to 10 free phone numbers. Set the inbound assistant to the plumbing agent you just created so it answers all calls to that number.

8

Open n8n and import the pre built workflow from the appointment setter plumbing JSON file. This workflow handles the backend logic for checking calendar availability and creating bookings.

9

In the n8n variables node, update the business name, owner name, and time zone to match your client's information.

10

Connect your Google Calendar credential in n8n and select the calendar where availability should be checked and appointments should be booked.

11

Activate the n8n workflow and copy the production webhook URL. Go back to Vapi, navigate to the assistant's messaging settings, and paste the n8n webhook URL so the voice agent can communicate with the backend.

12

Test by calling the phone number. The agent picks up, qualifies the emergency, checks live calendar availability, and books the appointment. Verify the booking appears in Google Calendar.

Results

No specific revenue or client metrics were shared. The system was demonstrated working end to end in a live test call where the agent qualified an emergency burst pipe scenario, confirmed the caller's name and phone number correctly, checked real time calendar availability, and booked an appointment for the next available slot. All caller information and qualification answers were captured accurately during the demo.

Our Take

We think the value here is in the speed of deployment. Three steps, pre built JSON templates, and free Vapi phone numbers mean someone can have a working emergency plumbing voice agent live in under an hour. That is fast enough to demo on a sales call with a plumbing company and close the deal on the spot. The qualification flow is well structured for plumbing specifically, asking the right questions about active leaks and valve shutoff that a real dispatcher would ask. The n8n backend is clean and importable, which removes the biggest friction point for beginners. The limitation is that this is a single use case build. There is no CRM integration, no post call processing, no follow up automation, and no multi location support. It handles the call and books the appointment, full stop. For a first deployment or a demo to land a client, that is enough. For a production system, you would need to layer on additional workflows. Best suited for AI automation beginners who want a fast, free starting point to sell voice agents to plumbing companies.

Related Strategies

More AI agent strategies you might find useful

Want more strategies like this?

Get weekly AI agent case studies in your inbox.