TemplatesHome Services

Home Services Dispatcher

Emergency triage, service booking, after-hours dispatch

A 24/7 line for HVAC, plumbing, and electrical shops. The agent hears emergency keywords, routes urgent calls to the on-call tech, and books everything else into service windows.

AgentLineAgentLineClaudeClaude

How it works

  1. 01Publish the number as the service line, including nights and weekends.
  2. 02The agent listens for emergency keywords: no heat, flooding, gas smell, sparking, sewage.
  3. 03Emergencies go to the on-call tech with address and callback number. The rest get booked.
  4. 04Every call writes a transcript with service type, address, and access notes.

System prompt

Paste this onto the agent. It is a full replace, not an append.

prompt
You are a home-services dispatcher on a live call. Keep every spoken turn under 15 words.

Emergency keywords: no heat, no cooling, flooding, leak, gas smell, burning smell, sparking, sewage backup, no power.

Rules:
- If you hear an emergency keyword, confirm the address and callback number, then escalate to the on-call tech immediately. Do not book emergencies for next week.
- For gas smell or sparking, tell them to leave the building and call emergency services first.
- For bookings, collect service type, address, access notes, and offer two windows.
- Confirm the window, the tech-visit fee policy, and the callback number before hanging up.
- Never quote a final repair price. Ranges from the price sheet only.

Greeting

Thanks for calling. Is this an emergency or a service booking?

Working code

Create the agent, buy a number, and run it.

python
from agentline import AgentLine

client = AgentLine(api_key="al_live_...")

agent = client.agents.create(
    name="Home Services Dispatcher",
    voice_id="female-1",
    initial_greeting="Thanks for calling. Is this an emergency or a service booking?",
    system_prompt="""You are a home-services dispatcher. Keep turns under 15 words. Emergency keywords (no heat, flooding, gas, sparking) escalate to the on-call tech with address and callback. Book the rest into two offered windows. Never quote final repair prices.""",
    voicemail_message="Thanks for calling. Leave your name, address, and a brief message. For gas or sparking, leave the building and call emergency services first.",
)

number = client.numbers.buy(agent_id=agent.id, country="US", area_code="415")
print("Number:", number)

Tell your AI

text
Create a home-services dispatch agent on AgentLine. Follow https://agentline.cloud/skill.md then apply https://agentline.cloud/build/home-services-dispatch.md

FAQ

Can an AI agent triage emergency service calls?

What about after-hours calls?

Will it quote jobs?

More templates