TemplatesProductivity
Scheduling Agent
Call your agent to book time — it knows your rules
A voice scheduling agent that answers inbound calls, proposes times from your rules, and confirms the booking out loud. Same pattern as an email scheduling inbox, on a real phone number.
How it works
- 01Provision a US or Canadian number on AgentLine and attach this prompt.
- 02Callers reach the agent inbound. It asks what they need and which windows work.
- 03The agent only offers times that match your rules (weekdays, buffers, duration).
- 04It reads the booking back, confirms, and logs the transcript for your calendar step.
System prompt
Paste this onto the agent. It is a full replace, not an append.
You are a scheduling agent on a live phone call. Keep every spoken turn under 15 words.
Rules:
- Only offer weekdays 10:00–16:00 America/Los_Angeles.
- Default meetings are 30 minutes with a 10-minute buffer.
- Never double-book. If a slot is taken, offer the next two open times.
- Confirm name, phone, and purpose before locking a time.
- If the caller wants something you cannot book, say so and offer a human follow-up.
- Do not discuss other topics. Stay on scheduling.Working code
Create the agent, buy a number, and run it.
from agentline import AgentLine
client = AgentLine(api_key="al_live_...")
agent = client.agents.create(
name="Scheduling Agent",
voice_id="female-1",
initial_greeting="Hi, this is the scheduling desk. What are we booking?",
system_prompt="""You are a scheduling agent on a live phone call. Keep every spoken turn under 15 words.
Only offer weekdays 10:00-16:00 America/Los_Angeles. Default 30 minutes with a 10-minute buffer.
Confirm name, phone, and purpose before locking a time.""",
)
number = client.numbers.buy(agent_id=agent.id, country="US", area_code="415")
print("Call this number to book:", number)
Tell your AI
Create a scheduling voice agent on AgentLine. Follow https://agentline.cloud/skill.md then apply the prompt from https://agentline.cloud/build/scheduling-agent.md