Notifications, handoff & leads
Impulse AI Assistant adapts cleanly whether you are a one-person hosting operator who wants quiet hours and a weekly summary, or a 24/7 support team routing escalations into WHMCS ticket departments and Slack/Discord/PagerDuty channels.
1. One-click operator presets
Section titled “1. One-click operator presets”Open Notifications to configure routing in seconds using either built-in preset (every field remains fully editable afterwards):
- Solo Operator preset: Enables instant email alerts for customer handoffs, public website leads, monthly budget thresholds, and AI provider outages; enables a Weekly operational digest; and applies optional UTC quiet hours so low-urgency alerts wait until morning.
- Support Team preset: Enables in-chat WHMCS ticket creation into your selected support department for customer escalations and public pre-sales leads, routes operational health and budget alerts to your team/ops channel, and keeps knowledge review notifications aimed at documentation maintainers.

2. Flexible email routing & editable templates
Section titled “2. Flexible email routing & editable templates”Choose exactly who receives Assistant email notifications (covering handoffs, public leads, budget thresholds, digests, and knowledge review/publish events):
| Recipient mode | Behaviour |
|---|---|
| All WHMCS System Administrators | Sends to all WHMCS system admins (default). |
| Specific WHMCS Admin Roles | Restricts emails to admins belonging to one or more chosen WHMCS administrator role groups. |
| Specific WHMCS Admin Users | Sends only to individually selected WHMCS admin accounts. |
| Custom Email Addresses | Sends to a validated, bounded list of external or shared mailbox addresses (for example [email protected]). |
All five email templates (knowledge_notice, handoff_alert, public_lead_alert, budget_alert, and ops_digest) are registered with ImpulseCore’s Email Center so you can customize subjects, branding, and copy without touching module code.
3. Quiet hours, after-hours handoff copy, digests & budget thresholds
Section titled “3. Quiet hours, after-hours handoff copy, digests & budget thresholds”- UTC quiet hours & after-hours handoff copy: Define a quiet window (including overnight windows such as
22:00to07:00UTC). Critical alerts can remain immediate while routine notifications respect your quiet window. You can also set an optional Customer after-hours handoff note (up to 280 characters) that appears on customer support handoff cards automatically during quiet hours so customers know when to expect a human reply. - Daily or Weekly digests: Dispatched by the
assistant_digestImpulseCore cron task, summarizing questions answered, cited answer rate, handoffs, answer helpfulness, and estimated generation spend. - Deduplicated spend threshold alerts: Fires once per UTC month at 50%, 80%, and 100% of your configured monthly response-spend guard so a busy afternoon never floods your inbox.
4. ImpulseCore chat channels & standalone webhooks
Section titled “4. ImpulseCore chat channels & standalone webhooks”Impulse AI Assistant integrates with your team’s real-time chat and incident tools in two complementary ways:
- ImpulseCore alert channels (zero duplication): Every operational event is emitted to
ImpulseCore::log()under standardizedassistant.*event names (assistant.handoff_requested,assistant.ticket_created,assistant.public_lead_captured,assistant.budget_threshold,assistant.provider_failed,assistant.negative_feedback,assistant.knowledge_ready, andassistant.digest_summary). The Notifications workspace detects active ImpulseCore alert destinations automatically so you can routeassistant.*straight to Slack, Discord, Microsoft Teams, Signed Webhooks, PagerDuty, Opsgenie, Incident.io, or ImpulseNotify. - Standalone direct HTTPS webhook (optional): Configure an optional per-module webhook right inside the Notifications tab in Slack, Discord, Microsoft Teams, or HMAC-SHA256 signed JSON format. Webhook URLs and signing secrets are stored encrypted write-only, enforce strict HTTPS + public-IP SSRF checks (blocking loopback and private network ranges), and include a Send test webhook button.
5. In-chat WHMCS ticket handoff
Section titled “5. In-chat WHMCS ticket handoff”When In-chat ticket handoff is enabled in Notifications:
- Whenever an answer returns
unknownorhandoff, signed-in customers see an Open support ticket button alongside your regular support link. - Clicking it opens a native in-chat form with a pre-populated subject, editable summary of their question, and a dropdown restricted strictly to your operator-allowed WHMCS support departments.
- Submitting the form verifies the customer’s active WHMCS session, client ownership, and CSRF token, calls WHMCS
OpenTicketserver-side, logs the event to ImpulseCore, and renders the created ticket number and link directly inside the chat thread. - The AI model never invokes
OpenTicketdirectly; if you disable in-chat ticket creation, the widget falls back cleanly to your standard support URL.
6. Public Website Embed v2 pre-sales lead capture
Section titled “6. Public Website Embed v2 pre-sales lead capture”For anonymous visitors on your public marketing or documentation site, you can enable Public pre-sales lead capture in Notifications:
- When a public embed reply returns
unknownorhandoff, visitors can submit a lightweight follow-up form (Name, Email, and Question). - Submissions are protected by per-visitor-address rate limits, a honeypot field, strict field length bounds, and server-side validation — opening a WHMCS pre-sales ticket in your designated department and/or firing your configured operator alert channel without exposing any WHMCS client accounts.
7. WHMCS Admin Ticket AI Copilot (staff reply drafts)
Section titled “7. WHMCS Admin Ticket AI Copilot (staff reply drafts)”When Enable WHMCS Admin Ticket AI Copilot is active in Assistant (enabled by default once your provider and knowledge are ready, and suppressed automatically while AI requests are paused), staff viewing any support ticket in WHMCS Admin (supporttickets.php?action=view) see a lightweight ✦ Draft AI reply bar above the reply box:
- Clicking ✦ Draft AI reply reads only the ticket subject, customer opening message, and recent public replies — private staff admin notes are never read.
- Secret-shaped strings (API keys, Bearer tokens, JWTs, passwords, database URIs, and private keys) are redacted automatically before prompting.
- The copilot runs against your exact approved knowledge sources and Quick Q&A overrides, displays clickable Cited sources, and inserts an editable draft directly into the reply textarea for human review. It never sends a ticket reply automatically.
