Shahid Malla

WHMCS Automation Features Explained

Shahid Malla Shahid MallaJanuary 8, 202610 min read
WHMCS Automation Features Explained

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:

  1. Creates hosting account on server
  2. Registers domain if included
  3. Issues SSL certificate
  4. 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.

Share this article:
Shahid Malla

About Shahid Malla

Expert

Full 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.