A sophisticated WordPress-based AI booking and CRM system with Twilio integration, OpenAI voice processing, and automated customer management.
This project is ready for immediate deployment to any cPanel hosting environment.
./deploy-cpanel.shChoose from three deployment methods:
- π Git Version Control - Automatic deployment from GitHub
- π‘ SFTP Deployment - Automated file sync
- π¦ Manual Package - Zip upload to File Manager
- Voice Calls: Twilio + OpenAI Realtime API integration
- SMS Integration: Automated booking confirmations and reminders
- WhatsApp Support: Multi-channel customer communication
- Smart Routing: AI-driven conversation handling
- Customer Profiles: Comprehensive contact management
- Booking History: Complete interaction tracking
- Lead Generation: Automated lead capture and nurturing
- Analytics Dashboard: Performance and conversion metrics
- Custom Plugin:
ai-booking-crmwith full WordPress integration - Admin Interface: Native WordPress admin experience
- User Roles: Provider, client, and admin role management
- REST API: Complete API for external integrations
- Backend: PHP 8.1+ with WordPress 6.0+
- Database: MySQL/PostgreSQL support
- Real-time: Node.js WebSocket server for Twilio Media Streams
- APIs: Twilio, OpenAI, Stripe, Facebook Graph API
- Infrastructure: cPanel compatible, cloudflare tunnel support
βββ wp-admin/ # WordPress admin
βββ wp-content/
β βββ plugins/
β β βββ ai-booking-crm/ # Main AI CRM plugin
β βββ themes/ # WordPress themes
β βββ uploads/ # Media files
βββ wp-includes/ # WordPress core
βββ realtime-bridge/ # Node.js Twilio-OpenAI bridge
βββ docs/ # Documentation
βββ deploy-cpanel.sh # Deployment automation
# Already configured and running
studio preview .cd realtime-bridge
npm install
npm startcloudflared tunnel run dev1-bridge- Ensure Gitβ’ Version Control is available (recommended)
- Have your database credentials ready
- Note your domain/subdomain path
./deploy-cpanel.sh- Update wp-config.php with your database details
- Or use the script's database configuration option
- Visit your domain to complete WordPress installation
- Activate the AI Booking CRM plugin
- Configure Twilio webhooks with your new domain
- Twilio: Update webhook URLs to your domain
- OpenAI: Verify API keys are set
- Stripe: Update webhook endpoints if using payments
// Database
define('DB_NAME', 'your_database');
define('DB_USER', 'your_username');
define('DB_PASSWORD', 'your_password');
define('DB_HOST', 'your_host');
// API Keys (set in WordPress admin or wp-config.php)
define('TWILIO_ACCOUNT_SID', 'your_sid');
define('TWILIO_AUTH_TOKEN', 'your_token');
define('OPENAI_API_KEY', 'your_key');After deployment, update these webhook URLs in your Twilio Console:
- Voice:
https://yourdomain.com/wp-json/ai-booking-crm/v1/webhooks/twilio/voice - SMS:
https://yourdomain.com/wp-json/ai-booking-crm/v1/webhooks/twilio/sms - Status:
https://yourdomain.com/wp-json/ai-booking-crm/v1/webhooks/twilio/call-status
- Database Connection: Verify credentials in wp-config.php
- Webhook Errors: Check Twilio webhook URLs match your domain
- File Permissions: Ensure folders=755, files=644
- Plugin Errors: Check WordPress admin β Plugins
- See
docs/folder for detailed API documentation CPANEL-DEPLOYMENT.mdfor deployment details- WordPress admin has built-in help for the AI CRM plugin
Ready to deploy! Run ./deploy-cpanel.sh to get started. π