Create a voice AI agent that handles appointment scheduling through Calendly - no coding required! This project connects Elevenlabs' voice agents with Calendly's scheduling API to create a seamless booking experience.
- Voice Agent Scheduling - Let callers book appointments through AI phone calls
- Real-time Availability - Check your Calendly calendar for open time slots
- Automatic Timezone Detection - Adjust times based on caller's phone number
- SMS Confirmations - Send booking links via SMS
- Natural Conversations - Human-like dialogue with customizable behavior
- Easy Setup - No coding required, just configure and deploy
- Secure by Design - All API keys stored in environment variables
-
Fork this Repository
- Click the "Fork" button at the top right of this page
-
Deploy to Render
- Click the "Deploy to Render" button above
- Connect your GitHub account
- Select your forked repository
- Configure service name (e.g., "calendly-elevenlabs-server")
- Deploy!
-
Add Environment Variables
API_KEY- Create your own secret key (any secure string)ADMIN_PASSWORD- Password for accessing admin pagesCALENDLY_API_TOKEN- Your Calendly API tokenELEVENLABS_API_KEY- Your Elevenlabs API keyGITHUB_TOKEN- GitHub personal access token with repo scopeGITHUB_REPO_OWNER- Your GitHub usernameGITHUB_REPO_NAME- Name of your forked repositoryENABLE_SMS=true- Enable SMS functionality (required)TWILIO_ACCOUNT_SID- Your Twilio account SIDTWILIO_AUTH_TOKEN- Your Twilio authentication tokenTWILIO_PHONE_NUMBER- Your Twilio phone number
-
Create Your Agent
- Navigate to your deployed site
- Log in to admin pages when prompted (use any username with your ADMIN_PASSWORD)
- Use the Agent Builder to connect to your Calendly account
- Customize your agent's behavior with the Prompt Builder
- Start receiving calls!
Comprehensive documentation is available in the deployed application:
- Setup Guide - Detailed deployment instructions
- Integration Guide - How to set up Calendly, Elevenlabs, GitHub, and Twilio
- Agent Builder Guide - Create and configure your voice agent
- System Prompt Guide - Customize your agent's behavior
- Technical Reference - API endpoints and configuration options
- Troubleshooting - Solutions for common issues
This application is designed with security in mind:
- Environment Variables - All sensitive API keys stored securely
- Admin Authentication - Protected access to admin interfaces
- API Protection - All endpoints require authentication
- HTTPS Enforcement - Secure communication in production
- Rate Limiting - Protection against abuse
- Security Headers - Defense against common web vulnerabilities
- Node.js
- Express
- Elevenlabs Voice Agents
- Calendly API
- GitHub API (for prompt customization)
- Twilio SMS (for booking confirmations)
This project is part of my TikTok tutorial series on building AI voice agents. Follow along for step-by-step guidance and tips:
The integration connects Elevenlabs' voice agents with your Calendly account through a backend server:
- Caller phones your Elevenlabs voice agent number
- The voice agent uses webhook functions to check your Calendly availability
- Caller selects a meeting type and preferred time
- System sends booking link via SMS for final confirmation
- Appointment is added to your Calendly calendar when confirmed
- Documentation: Access the in-app help pages for comprehensive guidance
- Issues: Create a GitHub issue for bugs or feature requests
- TikTok: Comment on related tutorial videos for community support
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ for the TikTok community by Bramforth.ai
