Skip to main content

Usage Guide

This page covers the day-to-day operations of the WHMCS Integration module โ€” running syncs, reviewing imported data, and leveraging bots, templates, and bulk contacts to streamline your workflow.

Running a Manual Syncโ€‹

While automated cron-based syncs handle routine imports, you can trigger a sync on demand at any time.

  1. Navigate to WHMCS Integration from the Perfex CRM sidebar.
  2. Click the Sync Now button on the module dashboard.
  3. Select the data types to sync: Clients, Invoices, or All.
  4. Click Start Sync and wait for the process to complete.

The sync progress indicator shows the current status, including the number of records processed, created, updated, and skipped.

tip

After your initial sync, subsequent syncs are incremental โ€” only new or modified records since the last sync are imported. This keeps sync times short even with large WHMCS databases.

Managing Synced Clientsโ€‹

Clients imported from WHMCS appear in the standard Perfex CRM Customers section. Each synced client profile includes:

  • Full contact details (name, email, phone, address)
  • Company information
  • WHMCS client ID reference for traceability
  • Any custom fields configured in the field mapping

Identifying WHMCS Clientsโ€‹

Synced clients are tagged with a WHMCS badge on their profile, making it easy to distinguish them from clients created directly in Perfex CRM.

Editing Synced Clientsโ€‹

You can edit synced client records in Perfex CRM just like any other customer. However, keep in mind:

warning

Changes made to synced client records in Perfex CRM will not sync back to WHMCS. If the sync is set to Update mode, local edits may be overwritten during the next sync cycle. To preserve local changes, switch the duplicate handling mode to Skip for that record.

Managing Synced Invoicesโ€‹

Invoices imported from WHMCS are accessible under the standard Perfex CRM Sales > Invoices section. Each synced invoice includes:

  • Invoice number and WHMCS reference ID
  • Full line-item breakdown (description, quantity, rate, tax)
  • Payment status (Paid, Unpaid, Partially Paid, Cancelled)
  • Due date and payment date (if applicable)
  • Associated client link

Synced invoices are read-only by default to preserve data integrity with WHMCS. Payment status updates are reflected during each sync cycle.

Botsโ€‹

The bots feature allows you to set up automated actions that trigger based on sync events. Bots can help reduce manual work and ensure timely follow-ups.

Creating a Botโ€‹

  1. Navigate to WHMCS Integration > Bots.
  2. Click New Bot.
  3. Configure the bot:
    • Trigger โ€” select the event (e.g., "New Client Synced", "Invoice Synced", "Invoice Overdue")
    • Action โ€” choose what happens (e.g., send email, create task, assign to staff member, add tag)
    • Conditions โ€” optionally add filters (e.g., only trigger for clients from a specific country)
  4. Click Save.

Example Bot Workflowsโ€‹

TriggerActionDescription
New Client SyncedSend welcome emailAutomatically greet new clients when their profile is first imported
Invoice OverdueCreate taskAssign a follow-up task to the account manager
New Client SyncedAdd tagTag imported clients as "WHMCS" for filtering

Templatesโ€‹

Templates define the content used by bots and manual communications related to WHMCS-synced data.

Managing Templatesโ€‹

  1. Go to WHMCS Integration > Templates.
  2. Click New Template to create a message template.
  3. Fill in the name, subject (for emails), and message body.
  4. Use merge fields to insert dynamic data (e.g., {client_name}, {invoice_number}, {amount_due}).
  5. Click Save.
info

Templates support both plain text and HTML formatting. Use merge fields to personalize messages with client or invoice data pulled from the synced records.

Bulk Contacts and Groupsโ€‹

The bulk contacts feature lets you organize synced WHMCS clients into groups for targeted communication and management.

Creating a Groupโ€‹

  1. Navigate to WHMCS Integration > Bulk Contacts & Groups.
  2. Click New Group.
  3. Enter a group name and optional description.
  4. Add contacts to the group:
    • Manual selection โ€” pick individual clients from the list
    • Filter-based โ€” add all clients matching specific criteria (e.g., country, invoice status, sync date)
  5. Click Save.

Using Groupsโ€‹

Groups can be used throughout the module for:

  • Bulk notifications โ€” send emails or messages to all contacts in a group at once
  • Bot targeting โ€” restrict bot actions to members of a specific group
  • Reporting โ€” filter sync reports and analytics by group membership
tip

Create dynamic groups based on WHMCS product or service type to segment your client base for targeted marketing campaigns or support workflows.

Sync Dashboardโ€‹

The module dashboard provides an overview of your sync health and activity:

  • Last Sync โ€” timestamp and status of the most recent sync
  • Records Summary โ€” total clients, invoices, and contacts synced
  • Sync History โ€” log of all past sync operations with details on records created, updated, and skipped
  • Error Log โ€” any records that failed to sync, with reasons and recommended actions

Review the dashboard regularly to ensure your integration is running smoothly and address any sync errors promptly.