Service Reminder & Appointment Booking
Remind vehicle owners when service is due based on mileage or time, and book appointments directly into your service lane management system.
Why this matters
Automate service scheduling, recall notifications, lease-end outreach, and financing workflows across your dealership network. This example shows you how to automate service reminder & appointment booking calls end-to-end with Guava's SDK — no telephony plumbing, no prompt engineering, just Python.
Installation
Install from Guava's private PyPI index. A public package is coming soon — the install command will simplify to pip install guava.
# Step 1: Install Guava
pip install gridspace-guava --extra-index-url https://guava-pypi.gridspace.com
# Public PyPI package coming soon — the install command will simplify to:
# pip install guava
# Step 2: Set your credentials
export GUAVA_API_KEY="..."
export GUAVA_AGENT_NUMBER="..."How it's built
Every Guava agent is a Python class. Walk through the key sections below, then grab the complete file at the end.
Imports
Import the Guava SDK and any helpers you need. guava.CallController is the base class for every voice agent.
# Install: pip install gridspace-guava --extra-index-url https://guava-pypi.gridspace.com
import guava
import osAgent setup
set_persona() defines how the agent presents itself. set_task() gives it its mission in plain English. The checklist drives the conversation — Guava works through it top-to-bottom, collecting Field values and speaking Say items as it goes.
class ServiceReminderBot(guava.CallController):
def __init__(self, owner_name: str, vehicle: str, service_due: str, dealership: str):
super().__init__()
self.set_persona(
organization_name=f"{dealership} Service Department",
agent_name="Chris",
)
self.set_task(
objective=f"Remind {owner_name} that their {vehicle} is due for {service_due} and book an appointment",
checklist=[
f"Greet {owner_name} and mention their {vehicle} is due for {service_due}.",
guava.Field(
key="wants_to_schedule",
field_type="bool",
description="Would they like to schedule the service?",
),
guava.Field(
key="appointment_slot",
field_type="calendar_slot",
description="Preferred service appointment time",
choice_generator=lambda: ["Mon 8am", "Mon 11am", "Tue 8am", "Tue 2pm", "Wed 10am", "Thu 8am"],
),
guava.Field(
key="needs_loaner",
field_type="bool",
description="Does the customer need a loaner vehicle?",
),
guava.Field(
key="additional_concerns",
field_type="text",
description="Any additional service concerns to note?",
required=False,
),
"Confirm appointment details and send text reminder.",
],
on_complete=lambda fields: print(f"Service booked for {owner_name}: {fields}"),
)
guava.dial(
controller=ServiceReminderBot,
controller_args={"owner_name": "Gary Thompson", "vehicle": "2022 Toyota Camry",
"service_due": "oil change and tire rotation", "dealership": "Pacific Toyota"},
to=os.environ["OWNER_PHONE"],
agent_number=os.environ["GUAVA_AGENT_NUMBER"],
api_key=os.environ["GUAVA_API_KEY"],
)Platform performance
<1s
Response time
99.99%
Uptime SLA
13+
Industries served
Full example
The complete file — copy it, save it as example.py, and run it.
# Install: pip install gridspace-guava --extra-index-url https://guava-pypi.gridspace.com
import guava
import os
class ServiceReminderBot(guava.CallController):
def __init__(self, owner_name: str, vehicle: str, service_due: str, dealership: str):
super().__init__()
self.set_persona(
organization_name=f"{dealership} Service Department",
agent_name="Chris",
)
self.set_task(
objective=f"Remind {owner_name} that their {vehicle} is due for {service_due} and book an appointment",
checklist=[
f"Greet {owner_name} and mention their {vehicle} is due for {service_due}.",
guava.Field(
key="wants_to_schedule",
field_type="bool",
description="Would they like to schedule the service?",
),
guava.Field(
key="appointment_slot",
field_type="calendar_slot",
description="Preferred service appointment time",
choice_generator=lambda: ["Mon 8am", "Mon 11am", "Tue 8am", "Tue 2pm", "Wed 10am", "Thu 8am"],
),
guava.Field(
key="needs_loaner",
field_type="bool",
description="Does the customer need a loaner vehicle?",
),
guava.Field(
key="additional_concerns",
field_type="text",
description="Any additional service concerns to note?",
required=False,
),
"Confirm appointment details and send text reminder.",
],
on_complete=lambda fields: print(f"Service booked for {owner_name}: {fields}"),
)
guava.dial(
controller=ServiceReminderBot,
controller_args={"owner_name": "Gary Thompson", "vehicle": "2022 Toyota Camry",
"service_due": "oil change and tire rotation", "dealership": "Pacific Toyota"},
to=os.environ["OWNER_PHONE"],
agent_number=os.environ["GUAVA_AGENT_NUMBER"],
api_key=os.environ["GUAVA_API_KEY"],
)Run it
Start the agent. It will connect to Guava's infrastructure and begin accepting calls on your assigned number.
python example.py