i want to set appoinment schedualling in my agent
# ask-ai
v
i want to set appoinment schedualling in my agent
🙌 1
t
Thanks for reaching out, Calling. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm happy to help you get started with setting up appointment scheduling in your LiveKit agent! A great place to begin is by exploring the Front Desk Agent examples in the LiveKit documentation. These examples come with handy tools for listing available slots and booking appointments, plus they show how to integrate with calendar systems like Cal.com or even a test calendar called FakeCalendar. Here’s a simple overview of the key steps: 1. First, define the tools you’ll need for listing and booking appointments, such as
listAvailableSlots
and
scheduleAppointment
. 2. Next, set up your calendar integration by configuring the
CAL_API_KEY
environment variable if you want real calendar functionality, or use the FakeCalendar for testing purposes. 3. Then, initialize and start your agent with the right configurations, including speech processing components and timezone settings. 4. Finally, test everything to make sure the agent can smoothly handle user requests for scheduling appointments. If you’d like, I’d be more than happy to walk you through any specific part of this setup in more detail. Just let me know! Sources: examples/src/frontdesk/frontdesk_agent.ts | livekit-agents/livekit/agents/voice/agent_activity.py
v
which calender api is supported by LiveKit
t
I'm happy to share that LiveKit supports integration with cal.com for appointment scheduling! This means you can easily list available slots and schedule appointments using the cal.com REST API. To keep things secure, authentication is done via a Bearer token API key, and any scheduling conflicts are thoughtfully managed through error handling. We also offer a handy
FakeCalendar
for testing purposes, which simulates calendar behavior without needing to connect to an external service—great for experimenting safely! If you're looking to integrate with other calendar providers like Google Calendar or Microsoft Outlook, that would involve building a custom integration. I’d be more than happy to guide you through creating one if you'd like. Just let me know! Sources: examples/src/frontdesk/frontdesk_agent.ts | External data and RAG | LiveKit Docs | examples/README.md