Discord Notificationsfor WHMCS · Documentation
v2.0.0

Notification Rules

A rule decides which WHMCS event reaches which Discord channel, with which conditions and which format.


Event groups

WHMCS groups notification events; the exact list depends on your version and active modules. The common groups are:

GroupExamplesTypical channel
InvoiceInvoice Created, Invoice Paid, Invoice Payment Reminder, Invoice Overdue#billing
OrderOrder Placed, Order Accepted, Order Fraud Check#orders
TicketTicket Opened, Ticket Replied, Ticket Closed, Ticket Escalated#support
ServiceService Created, Service Suspended, Service Terminated#operations
DomainDomain Registration, Domain Renewal, Domain Transfer#domains
ClientClient Signup, Client Login#activity

Conditions

Conditions narrow a rule without creating a second rule. A condition is a field, an operator and a value. Common examples:

  • Payment Method is Stripe — only card payments reach #billing.
  • Department is Technical Support — only technical tickets reach #support.
  • Product/Service is Managed VPS — only a specific product reaches #operations.
  • Client Group is VIP — high-value clients get a dedicated channel.

Conditions are evaluated by WHMCS before the provider is called. If a condition does not match, the module is not invoked and no request is made.

Routing

There are two ways to send rules to different channels:

  • Webhook Override per rule — the most explicit option. Each rule stores its own URL, and the module validates it exactly like the provider URL.
  • Separate provider configuration — not recommended, because WHMCS stores one provider row per module key.

A blank override always falls back to the provider webhook. The connection test always uses the provider webhook, never an override.

Worked recipes

Billing channel

  1. Event group: Invoice.
  2. Events: Invoice Paid, Invoice Payment Reminder, Invoice Overdue.
  3. Webhook Override: the #billing webhook.
  4. Format: Message + Embed. Colour: #5865F2.
  5. Attributes: included. Silent: off, so the billing team gets a notification.

Quiet support feed

  1. Event group: Ticket.
  2. Events: Ticket Opened, Ticket Replied.
  3. Webhook Override: the #support webhook.
  4. Format: Embed only. Hide the view link if agents work in the helpdesk.
  5. Silent: on, so a busy channel does not buzz every phone.

Operations alert

  1. Event group: Service.
  2. Events: Service Suspended, Service Terminated.
  3. Condition: product is Managed VPS.
  4. Format: Message only, attributes inline, view link shown.
Rule order does not matter — WHMCS evaluates every active rule. If an event matches two rules, both notifications are sent. Use conditions to keep channels free of duplicates.