Enrollment & Registration Follow-Up
Follow up with prospective students who have not completed enrollment, remove barriers, and guide them through the final steps to registration.
Why this matters
Improve enrollment, retention, and outcomes with voice automation for student engagement, attendance, and fundraising. This example shows you how to automate enrollment & registration follow-up 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 EnrollmentFollowUpBot(guava.CallController):
def __init__(self, student_name: str, program: str, institution: str,
incomplete_steps: list[str]):
super().__init__()
self.set_persona(
organization_name=f"{institution} Admissions",
agent_name="Casey",
)
self.set_task(
objective=f"Help {student_name} complete enrollment in {program} at {institution}",
checklist=[
f"Congratulate {student_name} on their acceptance and express enthusiasm about them joining {program}.",
guava.Say(f"A few steps remain to complete enrollment: {', '.join(incomplete_steps)}."),
guava.Field(
key="still_planning_to_enroll",
field_type="bool",
description="Are they still planning to enroll this semester?",
),
guava.Field(
key="primary_barrier",
field_type="choice",
description="What is the main reason enrollment isn't complete?",
choices=["financial aid pending", "need more time to decide", "documentation issue",
"technology problem", "changed programs", "personal circumstances"],
),
guava.Field(
key="needs_advisor_call",
field_type="bool",
description="Would they like an admissions advisor to call them back?",
),
guava.Field(
key="financial_aid_questions",
field_type="bool",
description="Do they have questions about financial aid or payment options?",
),
"Provide direct enrollment support line and deadline reminder.",
],
on_complete=lambda fields: print(f"Enrollment follow-up: {student_name} — barrier: {fields.get('primary_barrier')}"),
)
guava.dial(
controller=EnrollmentFollowUpBot,
controller_args={"student_name": "Marco Silva",
"program": "Computer Science BS",
"institution": "Westland University",
"incomplete_steps": ["submit immunization records", "complete housing selection", "pay enrollment deposit"]},
to=os.environ["STUDENT_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 EnrollmentFollowUpBot(guava.CallController):
def __init__(self, student_name: str, program: str, institution: str,
incomplete_steps: list[str]):
super().__init__()
self.set_persona(
organization_name=f"{institution} Admissions",
agent_name="Casey",
)
self.set_task(
objective=f"Help {student_name} complete enrollment in {program} at {institution}",
checklist=[
f"Congratulate {student_name} on their acceptance and express enthusiasm about them joining {program}.",
guava.Say(f"A few steps remain to complete enrollment: {', '.join(incomplete_steps)}."),
guava.Field(
key="still_planning_to_enroll",
field_type="bool",
description="Are they still planning to enroll this semester?",
),
guava.Field(
key="primary_barrier",
field_type="choice",
description="What is the main reason enrollment isn't complete?",
choices=["financial aid pending", "need more time to decide", "documentation issue",
"technology problem", "changed programs", "personal circumstances"],
),
guava.Field(
key="needs_advisor_call",
field_type="bool",
description="Would they like an admissions advisor to call them back?",
),
guava.Field(
key="financial_aid_questions",
field_type="bool",
description="Do they have questions about financial aid or payment options?",
),
"Provide direct enrollment support line and deadline reminder.",
],
on_complete=lambda fields: print(f"Enrollment follow-up: {student_name} — barrier: {fields.get('primary_barrier')}"),
)
guava.dial(
controller=EnrollmentFollowUpBot,
controller_args={"student_name": "Marco Silva",
"program": "Computer Science BS",
"institution": "Westland University",
"incomplete_steps": ["submit immunization records", "complete housing selection", "pay enrollment deposit"]},
to=os.environ["STUDENT_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