WHMCS automation is what makes it possible to run a hosting business with minimal staff. Here's how the automation system works.
The Cron System
WHMCS cron runs every 5 minutes (configurable) and handles:
- Invoice Generation: Creates invoices before due dates
- Payment Reminders: Sends overdue notices automatically
- Service Suspension: Suspends unpaid accounts
- Service Termination: Terminates long-overdue services
- Domain Renewals: Processes domain renewal invoices
- SSL Processing: Handles certificate renewals
Automated Provisioning
When payment is received, WHMCS automatically:
- Creates hosting account on server
- Registers domain if included
- Issues SSL certificate
- Sends welcome email with credentials
Automation Settings
Configure in Setup → Automation Settings:
- Invoice days before: When to generate renewal invoices
- Suspend days after: When to suspend for non-payment
- Terminate days after: When to fully terminate
- Reminder emails: First, second, third notices
Hooks for Custom Automation
Extend automation with custom hooks:
// Auto-upgrade VIP clients
add_hook('InvoicePaid', 1, function($vars) {
$client = getClient($vars['userid']);
if ($client['total_spent'] > 1000) {
upgradeToVIP($client['id']);
}
});
Workflow Automation
- Order to Active: Payment → Provisioning → Welcome
- Renewal Flow: Invoice → Payment → Extension
- Non-Payment: Reminder → Suspend → Terminate
- Cancellation: Request → Confirmation → Termination
Time Savings
With proper automation, a single person can manage:
- 1,000+ clients for standard hosting
- 500+ clients with custom services
- 100+ enterprise accounts with high-touch support
Conclusion
WHMCS automation handles 90%+ of routine tasks. Configure it properly and you'll spend time growing your business instead of processing orders manually.
About Shahid Malla
ExpertFull Stack Developer with 10+ years of experience in WHMCS development, WordPress, and server management. Trusted by 600+ clients worldwide for hosting automation and custom solutions.